Factorial logic and swapping without a temp variable
Filed under Larsen & Toubro
The question
Asked for logic for factorial and swapping two numbers without a temp.
No write-up yet. Related questions below have one.
Related Larsen & Toubro questions
Collected from public candidate posts and coding forums. Updated Nov 2026.