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.
I'm going to take my stab at rephrasing the formula as it tripped me up to.
It's asking to find an x in S such that any y in S means y <= x.
So, it's asking which element in S is greater than or equal to any other element in S, including itself? This would be 19 because it is the greatest element in the set, therefore it is greater than or equal to all the other elements in the set.
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 →
I'm going to take my stab at rephrasing the formula as it tripped me up to.
It's asking to find an x in S such that any y in S means y <= x.
So, it's asking which element in S is greater than or equal to any other element in S, including itself? This would be 19 because it is the greatest element in the set, therefore it is greater than or equal to all the other elements in the set.