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.
the first line of the input which is 2 represent 2 problems the first is:
3 2
5 4 7
{3 2} 3 is the number of cases in problem one which are 5 4 7 and 2 is the minimum differnce to solve cosecutive
and 2nd
3 2
5 4 7
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Problem solving
You are viewing a single comment's thread. Return to all comments →
the first line of the input which is 2 represent 2 problems the first is: 3 2 5 4 7 {3 2} 3 is the number of cases in problem one which are 5 4 7 and 2 is the minimum differnce to solve cosecutive and 2nd
3 2
5 4 7