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.
No doubt, your solution is elegant. Now i am thinking, could we utilize property of this 2- D table in telling which sequence is occured in original string like was it aba or bab (means could it be filled in some smarter way to preserve ordering.)
What do you think ?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Two Characters
You are viewing a single comment's thread. Return to all comments →
No doubt, your solution is elegant. Now i am thinking, could we utilize property of this 2- D table in telling which sequence is occured in original string like was it aba or bab (means could it be filled in some smarter way to preserve ordering.)
What do you think ?