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.
I was SO used to requiring optimum solutions or else running out of resources, I only made a comment about storing the whole string for undo. I was totally sure the test cases would add and remove and add and remove 10000 chars repeatedly so we'd die if we weren't smart about it.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Simple Text Editor
You are viewing a single comment's thread. Return to all comments →
I was SO used to requiring optimum solutions or else running out of resources, I only made a comment about storing the whole string for undo. I was totally sure the test cases would add and remove and add and remove 10000 chars repeatedly so we'd die if we weren't smart about it.