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.
- Dynamic Array
- Discussions
Dynamic Array
Dynamic Array
Sort by
recency
|
55 Discussions
|
Please Login in order to post a comment
This is more about learning I think. It's not really a problem, For each query, 0 index will either 1 or 2. Base on that, we can condition to calculate y and append it.
Python 3 solution
My rust solution:
Where is the problem solving here? no problem to solve, no thinking, the problem is giving us the instructions to write ?