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.
My C++ solution that timed out on the last three cases got a perfect score when I switched to C++14. Kind of lame! I did not use a BIT, I just used the basic inversion-counting algorithm.
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 →
My C++ solution that timed out on the last three cases got a perfect score when I switched to C++14. Kind of lame! I did not use a BIT, I just used the basic inversion-counting algorithm.