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
|
142 Discussions
|
Please Login in order to post a comment
I needed to write all the code (in C#) including parsing the command line input, and passing it to a zigzagSequence function that I wrote from scratch.
My output matches the expected output but looks like the checker is looking for some metadata about the csharp that hackerrank should have set up.
So this question is fundamentally broken.
Tried to solve in go, but I'm receiving this: Traceback (most recent call last): File "Solution.py", line 178, in run_custom_checker(t_obj, r_obj) File "Solution.py", line 77, in run_custom_checker system_code = code_data[t_obj.submission_language].strip() KeyError: u'go'
Does not work in go
I found the correct code for java. I was struggling as everyone here, and understood that we should not right the code to solve the problem, we only need to change the given code to get the correct output.
I am using pyhon. I believe my solution is right. I only change 3 lines of code. Still I can't get this to work.