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.
Not understand the question properly
It looks like find x from s(x) and y from s(y) and check y<=x
then there are many possible combination of this
as 3<=3,4,5,6,7,10,11,19,18
4<=4,5,6,7,10,11,19,18
5<=5,6,7,10,11,19,18
6<=6,7,10,11,19,18
7<=7,10,11,19,18
10<=10,11,19,18
11<=11,19,18
18<=18,19
19<=19
total 45 but it is wrong anyone explain plz
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Databases - Relational Calculus
You are viewing a single comment's thread. Return to all comments →
Not understand the question properly It looks like find x from s(x) and y from s(y) and check y<=x
then there are many possible combination of this as 3<=3,4,5,6,7,10,11,19,18 4<=4,5,6,7,10,11,19,18 5<=5,6,7,10,11,19,18 6<=6,7,10,11,19,18 7<=7,10,11,19,18 10<=10,11,19,18 11<=11,19,18 18<=18,19 19<=19
total 45 but it is wrong anyone explain plz