Design algorithm to determine executed lines of code
Filed under Visa
The question
Given a function and some test cases, design an algorithm to determine how many lines of code were executed for each test case.
No write-up yet. Related questions below have one.
Related Visa questions
Collected from public candidate posts and coding forums. Updated Nov 2026.