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.
Mentions "The relative positions of the values should be the same as the original list provided in the input.", but the test cases seem to expect a sorted list.
Discovered it by accident by looking at existing solutions after implementing my own (working against all my own test scenarios) :-(
List Replication
You are viewing a single comment's thread. Return to all comments →
The exercise is wrong/mis-specified.
Mentions "The relative positions of the values should be the same as the original list provided in the input.", but the test cases seem to expect a sorted list.
Discovered it by accident by looking at existing solutions after implementing my own (working against all my own test scenarios) :-(