Junior Java Software Engineer Interview Questions

3,911 junior java software engineer 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.2
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 321 - 330 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 3,911 interview questions and reports from Junior java software engineer interviews. Prepare for your interview. Get hired. Love your job.