top of page
Search
Rotated Sorted Array Search InterviewBit Solution
Given an array of integers A of size N and an integer B.
array A is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 mi
Square Root of Integer InterviewBit Solution
Given an integer, A. Compute and return the square root of A.
If A is not a perfect square, return floor(sqrt(A)).
Matrix Median InterviewBit Solution
Given a matrix of integers A of size N x M in which each row is sorted.
Find an return the overall median of the matrix A.
Grid Unique Paths InterviewBit Solution
A robot is located at the top-left corner of an A x B grid.
The robot can only move either down or right at any point in time. The robot is
Excel Column Title InterviewBit Solution
Given a positive integer A, return its corresponding column title as appear in an Excel sheet.
Excel Column Number InterviewBit Solution
Given a column title A as appears in an Excel sheet, return its corresponding column number.
Power Of Two Integers Interviewbit Solution
Given a positive integer which fits in a 32 bit signed integer, find if it can be expressed as A^P where P > 1 and A > 0. A and P both shoul
Pascal Triangle Interviewbit Solution
Given numRows, generate the first numRows of Pascal’s triangle.
Pascal’s triangle : To generate A[C] in row R, sum up A’[C] and A’[C-1] from
Spiral Order Matrix II Interviewbit Solution
Given an integer A, generate a square matrix filled with elements from 1 to A2 in spiral order.
Repeat and Missing Number Array Interviewbit Solution
You are given a read only array of n integers from 1 to n.
Each integer appears exactly once except A which appears twice and B which is mis
bottom of page