Google Interview Question
- 0of 0 votes
Sort the input character array based on the dictionary given.- amnesiac February 28, 2013 in United States
For eg:, If input word is “SHEEP“, sorting will make it as “EEHPS“.
But in the dictionary, E may not be at first. As per the dictionary, if P is first, S followed and E later and finally H.
Then sorted array is “PSEEH“.
| Report Duplicate | Flag | PURGE