Pergunta de entrevista da empresa Informatica

1) How to you sort a map based on its value ? 2) Find all permutation of a given String. 3) Trie, KMP 4) Design Pattern