Oracle (IC4) Screening

Anonymous User
698
May 19, 2024

You are given a list of inequalities comparing 2 elements at a time. Validate if using the list of inequalities a valid numeric ordering of elements can be created.

An example of the list of inequalities is below comparing 2 elements at a time. We need to return true/false if we can arrange elements (a, b, c, d, e, f, g) in a way which can sastisy the below list of inequalities

a < b,
b > c,
d < e,
f > g
Comments (6)