Junior Developer Interview Questions

14,263 junior developer interview questions shared by candidates

Given a string representing directions (e.g., 'N', 'S', 'E', 'W'), simulate walking on a 2D grid starting from (0,0). Return true if the path crosses itself — i.e., you visit any point more than once — otherwise return false
avatar

Junior Java Developer

Interviewed at Pontera

3.1
Jun 9, 2025

Given a string representing directions (e.g., 'N', 'S', 'E', 'W'), simulate walking on a 2D grid starting from (0,0). Return true if the path crosses itself — i.e., you visit any point more than once — otherwise return false

Viewing 1321 - 1330 interview questions

Glassdoor has 14,263 interview questions and reports from Junior developer interviews. Prepare for your interview. Get hired. Love your job.