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.
Thanks so much for this!! I switched over from Python and number of shifts was stored in an integer. Code passed most of the test cases except for the last few. Was desperately debugging, but couldn't figure out what was wrong until your comment came to the rescue.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Insertion Sort Advanced Analysis
You are viewing a single comment's thread. Return to all comments →
Thanks so much for this!! I switched over from Python and number of shifts was stored in an integer. Code passed most of the test cases except for the last few. Was desperately debugging, but couldn't figure out what was wrong until your comment came to the rescue.