You are viewing a single comment's thread. Return to all comments →
PHP feels broken on this exercise. No boilerplate function given so I must read stdin and then I get a failure on this result:
Input (stdin)
1 7 1 2 3 4 5 6 7
Your Output (stdout)
1 2 3 7 6 5 4
Expected Output
Seems like cookies are disabled on this browser, please enable them to open this website
Zig Zag Sequence
You are viewing a single comment's thread. Return to all comments →
PHP feels broken on this exercise. No boilerplate function given so I must read stdin and then I get a failure on this result:
Input (stdin)
Your Output (stdout)
Expected Output