Given an array of integers in ascending order, return index of the two numbers such that they add up to a specific key provided.
Count the number of ways a baby can reach the nth stair taking 1 or 2 steps at a time in C language.
Sort an array of 0s, 1s and 2s in C
Given an array, the difference between the elements is one, find if the “key” element is present or not.
Given an unsorted array, find the minimum difference between 2 elements.
Given an unsorted array, find the least difference between the element pairs. Display all the pairs present.
Given an unsorted array, and a key. Find 2 elements such that the difference between the elements is equal to the key.
Given an unsorted integer array, find the smallest missing positive integer.
Given an array, find all the repeated elements in C language
Given an integer value, convert it into roman number.
Given an array of n integers and an integer “key”, find three integers in the array such that the sum is closest to key.
Given an array n integers and an integer key, are there four elements a, b, c, and d in the array such that a + b + c + d = key? Find all unique quadruplets in the array which gives the sum of key.
Given an array of non-negative integers determine if you are able to reach the last index in C++
Reach the end of the array with minimum jumps. Solution in C++
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place in CPP
Given a 2D Matrix and a key element, search and return if element is present or not in C++
Given a sorted array, remove duplicate elements in-place in CPP
you are given an sorted array with repeated elements that is rotated at some point, return true or false if you find the key element in C++
You are given a positive number “n”, print the sequence of grey code solution in CPP
Given an array of non overlapping integers, insert a new interval by merging them, solution in C++
Given a positive integer, generate pascal triangle, solution in C++
Given a positive number “k” return the row of that index of pascals triangle, solution in C++
Check if the given board is valid Sudoku or not, explanation with solution in C++
Given a non-empty array, all the elements appears twice except for one, find that element.
Check if there is a gas stations along a circular route, solution with explanation in CPP
Given an array every element appears three times except for one. Find that single one. Solution in C++
Create a data structure for n elements and constant operations
Given an array and a number n, rotate the array by n steps to its right solution in C++
Given an array, check if it has any duplicate elements, 2 solutions in CPP
Given a sorted array, find the starting and ending index that matches the target – 2 solutions using C++
Given an array that is sorted and a target, if the target is found, return the index. If not found, return the index where it would be if it were inserted, 2 solutions in C++
Given an array, find the continuous sub array that has the largest sum, return the sum. 2 solutions in C++