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.
4.) Integer division is a blessing and a curse, be careful.
I really enjoyed this problem :) It's an extremely practical use of the material, a little tricky, but very doable with some good thought and planning. I wish more problems were this well conceived!
Fraudulent Activity Notifications
You are viewing a single comment's thread. Return to all comments →
4 thoughts that may help:
1.) Counting sort
2.) A Queue
3.) Pay attention to the even case.
4.) Integer division is a blessing and a curse, be careful.
I really enjoyed this problem :) It's an extremely practical use of the material, a little tricky, but very doable with some good thought and planning. I wish more problems were this well conceived!