## Left Rotation(Problem Solving: Data-Structures)

Task: A left rotation operation on an array of size n shifts each of the array’s elements 1 unit to the left. Given an integer,d, rotate … Read more

## Arrays – DS

Task: An array is a type of data structure that stores elements of the same type in a contiguous block of memory. … Read more

## Day 9: Binary Calculator (10 Days of Javascript)

Task: Implement a simple calculator that performs the following operations on binary numbers: addition, subtraction, multiplication, and division. Note that division … Read more

## Day 8: Buttons Container (10 Days of Javascript)

Task: We want to create nine buttons enclosed in a div, laid out so they form a  3 X 3 grid. Each … Read more

## Day 8: Create a Button ( 10 Days of Javascript)

Task: Complete the code in the editor so that it creates a clickable button satisfying the following properties: The button’s id is btn. … Read more

## Day 7: Regular Expressions III (10 Days of Javascript)

Task: Complete the function in the editor below by returning a RegExp object,re , that matches every integer in some string s. Constraints The length of … Read more

## Day 7: Regular Expressions II (10 Days of Javascript)

Task: Complete the function in the editor below by returning a RegExp object, re, that matches any string  satisfying both of the following conditions: … Read more

## Day 7: Regular Expressions I (10 Days of Javascript)

Task: Complete the function in the editor below by returning a RegExp object,re , that matches any string s that begins and ends with the same vowel. Recall that the … Read more

## Day 6: JavaScript Dates (10 Days of Javascript)

Task: Given a date string,dateString , in the format MM/DD/YYYY, find and return the day name for that date. Each day name … Read more

## Day 6: Bitwise Operators (10 Days of Javascript)

Task: We define S to be a sequence of distinct sequential integers from 1 to n; in other words,s={1,2,3,…,n} . We want to know the maximum … Read more