Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • C++ has a hashmap, it's called std::unordered_map. And the Unicode collation seems like overkill for your requirements. Commented Mar 17, 2015 at 18:29
  • @MarkRansom Thanks,I understand It is a overkill.Leaving my requirement aside, just want to know few things on how the actual algo is implemented.How can collation element be generated in the first step? and what sorting technique is used to sort the strings based on the sort keys generated? Commented Mar 17, 2015 at 18:31
  • @starkk92: Those should probably be separate questions. Commented Mar 17, 2015 at 20:15