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.
- Ice Cream Parlor
- Discussions
Ice Cream Parlor
Ice Cream Parlor
Sort by
recency
|
67 Discussions
|
Please Login in order to post a comment
1) Simply hash each price differential to its index. 2) find the first price which fulfills the addend. Example in Java 17:
Hi! Solution in Python3 :) :
Output indices are moved one further because of task requirements. Second index is moved twice in case index() method returns position in shorter array.