Q1
Find the path in 2 Dimensional array which has the most 1
For ex: If array has values
1 1 0 1 0 1 1 0 1 0 0 1
So here the path containing max 1 is arr[0][0], arr[0][1], arr[1][1], arr[1][2], arr[1][3] and arr[2][3]
Q2
Number of occurrences of a number in a sorted array.
Q3
Sort array of 3 distinct integers
For example input: 121221123323
output: 111122222333
Q4
Rotate an array to the left or right by a given number.
Q5
Find out non repeating numbers
Q6
Copy sub-array within an array
Q7
Given a sorted, shifted array find the minimum element
Q8
Find an element in a rotated sorted array.
Q9
How to manipulate a matrix with 0s and 1s?
Example
1 0 1 1 0
0 1 1 1 0
1 1 1 1 1
1 0 1 1 1
1 1 1 1 1
results in
0 0 0 0 0
0 0 0 0 0
0 0 1 1 0
0 0 0 0 0
0 0 1 1 0
Q10
Given sorted arrays of length n and 2n with n elements each, merge first array into second array