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.
Constraints are given as 3<=N<=10^3, so why the need of the test case as 1. Nowhere in the question it is given what shall be the output for values less than 3. Please mention it in the question and be clearer.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Ann and Jimmy
You are viewing a single comment's thread. Return to all comments →
Constraints are given as 3<=N<=10^3, so why the need of the test case as 1. Nowhere in the question it is given what shall be the output for values less than 3. Please mention it in the question and be clearer.