gaylemcd/ctci — pull request #10 by charnugagoo (2013-09-01 19:38:44+00:00)
Title: ChapQ4.1

1. O(n^2) algorithm bug fixed
2. add efficient algorithm in O(n)
3. add one more test case