hello
in this question my code is correct but before submitting and verifying approach on editorial I was doubtful that optimization might be possible. How would you tackle this situation ?
Also shall I use nested if-else as might be the first ‘or’ -> true so no need to check others , or is it fine ?