Some error occured while loading page for you. Please try again.
Sort 14 Discussions, By:
Please Login in order to post a comment
Can there be two separate words on the same line? e.g.
On my laptop (Linux Mint 17.3, Intel Core i7-4600U CPU 2.10GHz) my code run in 46 msecs (input00 and input01), on you server all tests return timeout. Looking in the Environment I see that for clojure the maximum time is 8 sec. Could you explain me why it is such big difference of running time between my laptop and the server?
can you please explain the logic you have used? I am unable to find a solution. Thanks in advance.
See the environment link at the bottom of this page for information about the hackerrank runtime for your language of choice.
Your laptop is faster or has more memory.
The description should include that words have to be filled in from left to right or from top to bottom, i.e.
is accepted, but
God, my code is ugly as xxxx and I wasn't in the mood to make it better. Though my soul is in peace again after I checked others submissions :D
I have a question about limitations of valid input - can two words touch, but not cross? Like: ++AAABBBB+ or ++AAAAAA++\n +BBBBBB+++ or there will always be at least one + of separation for words that do not cross?
no they won't tough, only cross
thanks for quick answer, now I have some ideas for it. Time to go back to code...
I wrote my solution in Common Lisp using only standard Common Lisp functions. I don't know why, but sort and stable-sort of Hackerrank's Lisp does not work.
I wrote my own sort.The only change I made to the code I submitted was to substitute my own sort (called list-sort). Then my solution passed all the tests.
For get the idea about implementation please read:
I'm wondering if there is four "-" in a 2 * 2 square, then how many word will this cost, 2 or 4?
if I filled this like that:
does this mean that there should be four word ("hi", "as", "ha", "is") in the dictionary?
How come there's no editorial for this challenge?
zolee made a comment, https://www.hackerrank.com/challenges/crosswords-101/forum/comments/60316, about checking others submissions. How is that done?