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.
@dragan_ostojic thank you for the explanation. Its amazingly clear and efficient. I just want to add that target >= 0 does not work for all cases. When the condition allows target to be -ve or +ve it works for all test cases
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Equal
You are viewing a single comment's thread. Return to all comments →
@dragan_ostojic thank you for the explanation. Its amazingly clear and efficient. I just want to add that target >= 0 does not work for all cases. When the condition allows target to be -ve or +ve it works for all test cases