Skip to content
Onsite

Compare Four Numbers II

EasyP3Coding

Return true if one is greater than two, or three is greater than four. Return false if neither holds.

Example 1

Input
one = 5, two = 3, three = 1, four = 2
Output
true

Example 2

Input
one = 1, two = 2, three = 5, four = 3
Output
true

Example 3

Input
one = 1, two = 2, three = 3, four = 4
Output
false

Constraints

  • -10^9 <= one, two, three, four <= 10^9

Hints

Run checks the 3 visible tests, Submit all 8.