Agoda interview question

Design an algorithm for checking whether a string can be created from another one (for very long inputs)

Interview Answers

Anonymous

25 Jan 2021

There's a lot of elements to typically cover in these questions, clarifications, scoping, making sure you're answering the actual question the interviewer is looking for you to answer, etc. Could be worth doing a mock interview with one of the Prepfully Agoda Senior Android Developer experts... they've worked in the role so they clearly know how to get through the interview. prepfully.com/practice-interviews

Anonymous

7 Aug 2017

Solved by using a hash map, counting chars and checking in the substring can be built from this dictionary.