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.
Just to warn you about something that tripped me up:
"If it fails to allocate the memory that it needs, print Not enough memory."
Here, the full stop after "memory" should not be part of the string. I had to look closely to spot that. If you add the full stop in the string the code does not pass!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Exceptional Server
You are viewing a single comment's thread. Return to all comments →
Just to warn you about something that tripped me up:
"If it fails to allocate the memory that it needs, print Not enough memory."
Here, the full stop after "memory" should not be part of the string. I had to look closely to spot that. If you add the full stop in the string the code does not pass!