Pocket Gems interview question

haystack needle problem

Interview Answer

Anonymous

10 Mar 2015

used Java to code. i coded the problem correctly i believe and walked through it through all the given inputs. while analyzing the complexity there was lot of discussion which may be a drawback.