Fraudulent Activity Notifications

  • + 52 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!