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.
This is great, thank you. I got as for as the first for loop but got stuck on reversing the numbers. Then went down a rabbit hole of trying to get the reverse std::function to work and seems they only work on vectors.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays Introduction
You are viewing a single comment's thread. Return to all comments →
This is great, thank you. I got as for as the first for loop but got stuck on reversing the numbers. Then went down a rabbit hole of trying to get the reverse std::function to work and seems they only work on vectors.