Frontend Developer Interview Questions

8,954 frontend developer interview questions shared by candidates

1 .Find the subarrays with given sum? (Initially, I solved it with O(n^3) time complexity and after that I reduced it to O(n^2). 2. Promises 3. Closures 4. Hoisting 5. Box Model and Box Sizing 6. Position Property in CSS 7. ES6 Features 8. Regular Function and Arrow Functions
avatar

Frontend Developer

Interviewed at Paytm

3.2
Jun 5, 2021

1 .Find the subarrays with given sum? (Initially, I solved it with O(n^3) time complexity and after that I reduced it to O(n^2). 2. Promises 3. Closures 4. Hoisting 5. Box Model and Box Sizing 6. Position Property in CSS 7. ES6 Features 8. Regular Function and Arrow Functions

The N-Queens problem is a classic algorithmic challenge that involves placing N chess queens on an N×N chessboard so that no two queens threaten each other. This means that no two queens can share the same row, column, or diagonal. The problem can be solved using various techniques, including backtracking, constraint satisfaction, and even genetic algorithms. The task is not only a great exercise in logic and problem-solving but also serves as a benchmark for testing optimization algorithms. The N-Queens problem can be adjusted in complexity by varying the value of N and exploring whether solutions exist, as well as understanding how the solutions scale with size.

Frontend Developer

Interviewed at Zoho (India)

4.2
Jan 8, 2025

The N-Queens problem is a classic algorithmic challenge that involves placing N chess queens on an N×N chessboard so that no two queens threaten each other. This means that no two queens can share the same row, column, or diagonal. The problem can be solved using various techniques, including backtracking, constraint satisfaction, and even genetic algorithms. The task is not only a great exercise in logic and problem-solving but also serves as a benchmark for testing optimization algorithms. The N-Queens problem can be adjusted in complexity by varying the value of N and exploring whether solutions exist, as well as understanding how the solutions scale with size.

Viewing 8121 - 8130 interview questions

Glassdoor has 8,954 interview questions and reports from Frontend developer interviews. Prepare for your interview. Get hired. Love your job.