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.
Why does the problem say "the task is to debug the existing code" when there is no existing code at all?
I am extremely cconfused by the problem saying "the task is to debug the existing code". It makes me think I don't need to define OddStream etc. myself. Why not just say define your own OddStream, EvenStream etc. and produce expected output???
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Default Arguments
You are viewing a single comment's thread. Return to all comments →
Why does the problem say "the task is to debug the existing code" when there is no existing code at all?
I am extremely cconfused by the problem saying "the task is to debug the existing code". It makes me think I don't need to define OddStream etc. myself. Why not just say define your own OddStream, EvenStream etc. and produce expected output???