← MakeMyTrip questions

Implement Conditional Logic in Custom Language without If-Else

Filed under MakeMyTrip

Implement conditional logic (if a > b then execute function X, else execute function Y) in a simulated environment where if-else keywords, boolean types, and ternary operators are strictly prohibited…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MakeMyTrip questions

Collected from public candidate posts and coding forums. Updated Nov 2026.