a summer game puzzle, basically given a board with char, ask for a route of knights moves without intersecting itself. The concatenated string is the address of interviewstreet mountain view office.
After several failed attempts, about a dozen, with hand, I have to write a program to do it. DFS with intersection checking. Finally got accepted. Now wondering what are the mysterious gifts they claimed to give away.
Subscribe to:
Post Comments (Atom)
Can you please email me the solution? sanrubik@gmail.com
ReplyDeleteHi,
ReplyDeleteCan u plz help me with candies problem in interviewstreet thanks
I think you mean the recently posted candies problem. For that one you can use greedy approach, just assign candies one by one from lowest rate to highest.
DeleteThis comment has been removed by the author.
ReplyDelete