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
|
110 Discussions
|
Please Login in order to post a comment
c++ solution the code does literally what the instructions say
Javascript
Python 3
Awful phrasing of question, once again. Even though this is one of the more straightforward questions, it was baffling to go through query 2 and think back as to what the person asking the question wanted.
The answers array came out of nowhere; especially when all the prompts in the question talk about printing the query.
It is a fairly straightforward question. Hint, make an answers array; during query 2, instead of printing just store it in the array. Return the array at the end.