Sunday, July 1, 2012

Day-1

It has been decided.
I will use a blog post to catalog my experience with algos.
Wiki link to be finished...
http://en.wikipedia.org/wiki/List_of_algorithms

  1. Minimum number of swaps needed to sort an array containing 0's and 1's using adjacent swaps
  2. Given an array S of n integers, are there elements abc, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.
  3.  3-SUM problem
     



No comments:

Post a Comment