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.
A = ABA ( 012 )
B = ABAA ( 3456 )
, the editorial code gives ans -> AABABAA ( 0312456 ), but the correct one I think is AABAABA ( 3045612 ) . It's mine mistake or ?????
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Morgan and a String
You are viewing a single comment's thread. Return to all comments →
A = ABA ( 012 ) B = ABAA ( 3456 ) , the editorial code gives ans -> AABABAA ( 0312456 ), but the correct one I think is AABAABA ( 3045612 ) . It's mine mistake or ?????