Is this your company?
1. create getSecondLastIndexOf(char ch) method in String class, if no second last then return -1. 2. Implement a few apis, to add an ATM in the system, to increment the count of visitors in the ATM. An api to return the ATM ID having highest visitors in the given hour.
Check out your Company Bowl for anonymous work chats.