Asked to implement Kadanes max sub-array sum algo.
Anonymous
I did solved in very quickly with negative scenarios as well. Then interviewer did not had anything to do in pending time. so asked me to write test cases.
Check out your Company Bowl for anonymous work chats.