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.
- Prepare
- Algorithms
- Implementation
- Drawing Book
- Discussions
Drawing Book
Drawing Book
Sort by
recency
|
2092 Discussions
|
Please Login in order to post a comment
My humble python solution:
Typescript Solution:
rust in O(1) solution
My C# solution; public static int pageCount(int n, int p) { var books = Enumerable.Range(0, n + 1).Chunk(2); int counter = 0; List counters = [];