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.
This part in the explanation is extremely misleading, Makes you think current should be 2 instead of 0 for even.
"In the second query, the function print_from_stream(3) is exectuted, which leads to printing values 2,4 and 6 in separated lines as the first three non-negative even numbers."
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 →
This part in the explanation is extremely misleading, Makes you think current should be 2 instead of 0 for even.
"In the second query, the function print_from_stream(3) is exectuted, which leads to printing values 2,4 and 6 in separated lines as the first three non-negative even numbers."