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.
can someone explain to me the test example with 1 2 5 3 7 8 6 4
The expected outcome reads 7 but i thought it would be 6?
5, 7 & 8 have all moved across twice.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
New Year Chaos
You are viewing a single comment's thread. Return to all comments →
can someone explain to me the test example with 1 2 5 3 7 8 6 4 The expected outcome reads 7 but i thought it would be 6? 5, 7 & 8 have all moved across twice.