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 was exactly my solution. It seems like a lot of these problems were written for the C track and moved to C++ without updating the solutions. Nice solution.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Variable Sized Arrays
You are viewing a single comment's thread. Return to all comments →
This was exactly my solution. It seems like a lot of these problems were written for the C track and moved to C++ without updating the solutions. Nice solution.