https://www.fullstackee.com/2025/01/javascript-algorithms-conditional-statements.html