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.
- Zig Zag Sequence
- Discussions
Zig Zag Sequence
Zig Zag Sequence
Sort by
recency
|
1052 Discussions
|
Please Login in order to post a comment
C++20 and Java 15 has no starter code, maybe these should be fixed or removed
Make sure you only edit 3 lines, even white space/comments count!
Additional weird notes
Especially the second, is fastrating.
So if you attempt to make specifically the initial swap no-op (swapping with itself), even the result seems correct, it is still wrong answer.
yeah, just ran into this. makes 0 sense why this is the case. I'm guessing they have some logic to ensure only 3 changes are made, but the actual output also is wrong, which is interesting...
Misisng typescript template for findZigZagSequence.
findZigZagSequence starting code is missing for C++
My solution which used Python (PyPy3) failed. Same solution in C++ 14 passed.
it might work for python 3 instead of pypy3, worked in my case!