Add algorithm and test for search_n
Merge pull request #110 from roshanr95/search_n

Search_n