We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Greedy
- Grid Challenge
- Discussions
Grid Challenge
Grid Challenge
Sort by
recency
|
577 Discussions
|
Please Login in order to post a comment
Java
This is my solution in Java language. The special thing is that I used Counting sort while reading and sorting the list into an integer matrix. I don't know whether i can change the order of characters of String in Java (because String in Java is commonly a literal). My code (including estimated time&space complexity):
C++ (more at https://github.com/IhorVodko/Hackerrank_solutions/tree/master , feel free to give a star :) )