- Geeksforgeeks
- **Bitonic sub array
- **Find smallest missing number
- ** Maximal sub array(Largest continuous sum)
- ** Count inversions in an array
- ** Sort an array of 0s, 1s and 2s
- ** Equilibrium index of an array
- **Median of two sorted lists
- ** Print next greater element in unsorted array
- ** Contiguous sub array which sums to zero
- ** Median of integer stream
- *********Min Heap implementation in java
- *********Max heap implementation in java
- Sort elements by frequency
- Given an array and an element x, check for pair in a[] with sum as x
- **************Merge an array of size n into another array of size m+n
- Search an element in a sorted and pivoted array
- Leaders in an array
- Block swap algorithm for array rotation
- Reversal algorithm for array rotation
- Reverse an array
- Program for array rotation
- Maximum and minimum of an array using minimum number of comparisons
- Find smallest and second smallest elements in an array
- ************Find duplicate elements in an array
- ************Floor and ceiling in sorted array
- Union and intersection of two sorted arrays
- Find the minimum length unsorted sub array, sorting which makes the complete array sorted
- **Find the two repeating elements in an array : check code for marking visited node as -ve
- Find k largest or smallest elements in an array
- Check if array elements are consecutive ?
- Find repeating and missing element in an array
- *********Given an array arr[], find the maximum j – i such that arr[j] > arr[i]
- Find fixed point in an array
- Find whether an array is subset of another array
- ********Find next palindrome
- ********Search for an element in unknown length array
- Maximum element in an array which is first increasing and then decreasing
- Find missing element in an array
- Next higher number with the same digits
- Move set of elements to destined location of an array
- Maximum contiguous product in an array
- **********Count number of minimum elements on right side of each element in an array
- Partition array into even and odd parts
- Segregate 0s and 1s
- Maximum number of ones in a row of an array
- Anagrams in a dictionary
- ***********Linear time majority vote algorithm
- *********Majority element(same as above problem)
- Boolean paranthesize
- Minimum element in an rotated array
- ***********Axis aligned rectangles
- 3 sum and 2 sum problem
- Composition of a number
- Selecting k smallest or largest elements
- Find existence of a word in a maze
- *********Maximum difference in an array
- *********Best day to sell and buy stocks
- Number of occurances of a number in an array
- *********Permutation of digits represented by phone number
- Maximum of all sub arrays of size k
- *********Find triplet whose distance is minimum
- Check given string is anagram or not
- Find product of sub arrays with out using division operator
- Rotating an array in place
- Search for an element in rotated sorted array
- *********Find all unique triplets whose sum is zero
- Two elements whose sum is closest to zero
- ********Find kth smallest element in union of two sorted arrays
- Finding elements near the median
- Array division into groups
- **Triplet with minimum distance
Popular Posts
-
Given the sequence S1 = {a,b,c,d,…,x,y,z,aa,ab,ac…. } and given that this sequence corresponds (term for term) to the sequence S2 = {0,1...
-
Given a binary matrix, find out the maximum size square sub-matrix with all 1s. Algorithm: Let the given binary matrix be M[R][C]. The idea ...
-
The bustling town of Siruseri has just one sports stadium. There are a number of schools, colleges, sports associations, etc. that use this ...
-
Refer : http://education.cdacmumbai.in/education/pgdst/dsalfac/notes/ShellSort.pdf Shellsort works by comparing elements that are distant r...
-
Many of you might not be knowing that if you have 1 gmail id … you have infinte gmail ids… Seems to be a joke.. It’s not actually… for e.g ...
-
How to find kth smallest element in BST . you cannot use static/global variable and you cannot pass value of k to any function ? Solution ...
-
Find the maximum rectangle (in terms of area) under a histogram in linear time. I mean the area of largest rectangle that fits entirely in t...
-
There is an integer array consisting positive and negative integers. Find maximum positive difference S defined as: O(N) solution S = a[i] ...
-
Q: Given an integer x and an unsorted array of integers, describe an algorithm to determine whether two of the numbers add up to x. If we ha...
-
http://effprog.blogspot.com/2011/02/duplicate-removal-in-binary-search-tree.html http://shashank7s.blogspot.com/2011/03/write-program-to-rem...
Tuesday, February 7, 2012
All array questions
Labels:
Question list
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment