Amazon Interview QuestionSoftware Engineer / Developers
- -1of 0 votes
A kidnaper wishes to write a ransom note using letters from a magazine article. You are given with the ransom note and magazine article find whether kidnaper can write a note using the article or not.
I was supposed to write a bug free code for thin in O(n+m) time complexity, O(1) space complexity.