Capital One Interview Question

Debug nested if else statements and reduce it to an easy solution

Interview Answer

Anonymous

Apr 1, 2021

Truth table but it’s been so long since school I just eyeballed it Best choice is also to make a new method to keep legacy code intact