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.
It is like the first cycle (pass) of bubble sort, were the biggest value moving to the end of the array (list in our case). It is ok to change values here I think, at least it will solve the given task.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Functions in C
You are viewing a single comment's thread. Return to all comments →
It is like the first cycle (pass) of bubble sort, were the biggest value moving to the end of the array (list in our case). It is ok to change values here I think, at least it will solve the given task.