Wednesday, September 2, 2015

Arrays

Prob1: Given an array A[] and a number x, check for pair in A[] with sum as x

Prob2: Majority Element

Prob3: Find the Number Occurring Odd Number of Times

Prob4: Largest Sum Contiguous Sub array

Prob5: Find the Missing Number

Prob6: Search an element in a sorted and pivoted array

Prob7: Merge an array of size n into another array of size m+n

0 comments:

Post a Comment