Problems

100 curated problems. Filter by company, topic, and difficulty — then solve each one in the built-in Java compiler.

Problem of the day

You are given an array of integers stones where stones[i] is the weight of the i-th stone. We are playing a game with the stones. On each turn, we choose the…

AmazonMetaheap
Solve itNew problem every day
Loading problems…