Pregunta de entrevista de 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