Front End Software Interview Questions

21,143 front end software interview questions shared by candidates

If you go to amazon.com website, you'll see that there is a section which shows you the top selling items in amazon. Write an algorithm that mimics the same. For example, you have 10 items and each has number of sales increasing randomly per second. Use the right data structure and algorithm to host the top selling item.
avatar

Senior Front End Engineer

Interviewed at Amazon

3.5
Nov 9, 2017

If you go to amazon.com website, you'll see that there is a section which shows you the top selling items in amazon. Write an algorithm that mimics the same. For example, you have 10 items and each has number of sales increasing randomly per second. Use the right data structure and algorithm to host the top selling item.

We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning left). Each asteroid moves at the same speed. Find out the state of the asteroids after all collisions? If two asteroids meet, the smaller one will explode. If both are the same size, both will explode. Two asteroids moving in the same direction will never meet.
avatar

Front End Developer

Interviewed at Amazon

3.5
Jul 13, 2025

We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning left). Each asteroid moves at the same speed. Find out the state of the asteroids after all collisions? If two asteroids meet, the smaller one will explode. If both are the same size, both will explode. Two asteroids moving in the same direction will never meet.

1. Behavior Question - Customer facing conflict, how did you solve it, what did you learn from it. Tell me about a time you had less time to achieve goal and how you did it, 2. CSS box model, Javascript closures etc 3. Programming question - Tic Tac Toe using html, javascript and css.
avatar

Front End Engineer

Interviewed at Amazon

3.5
Nov 6, 2020

1. Behavior Question - Customer facing conflict, how did you solve it, what did you learn from it. Tell me about a time you had less time to achieve goal and how you did it, 2. CSS box model, Javascript closures etc 3. Programming question - Tic Tac Toe using html, javascript and css.

I have been asked to talk about my last year and anything about my other years. After a few minutes the Indian guy has hushes up to technical questions. It was putted a laptop in front of my with Google Chrome opened on Developer Tools. First of all, I was asked to say would be printed on console.log about a trick Javascript Hoisting test. It was a very trick question. In my opinion, it was a question which shows what exactly what they are looking for. For me, they have been looking for a master ninja of Javascript tricks developer, absolutely no sense. After that, I have been asked for write down a code in a piece of paper to identify in a give string all brackets have been closed in pairs like a HTML tag. Which should return true ou false also, should find bad brackets closed and return false for instante, "AB ] CD [ EF ] GH [ IJ". By the end, I have been asked to describe how to find out a specific ball between eight balls. The question was: You have eight balls all of the same size. 7 of them weigh the same, and one of them weighs slightly more. How can you find the ball that is heavier by using a balance. I should also describe possible outcomes.
avatar

Front End Engineer

Interviewed at Intuit

4.1
Oct 19, 2016

I have been asked to talk about my last year and anything about my other years. After a few minutes the Indian guy has hushes up to technical questions. It was putted a laptop in front of my with Google Chrome opened on Developer Tools. First of all, I was asked to say would be printed on console.log about a trick Javascript Hoisting test. It was a very trick question. In my opinion, it was a question which shows what exactly what they are looking for. For me, they have been looking for a master ninja of Javascript tricks developer, absolutely no sense. After that, I have been asked for write down a code in a piece of paper to identify in a give string all brackets have been closed in pairs like a HTML tag. Which should return true ou false also, should find bad brackets closed and return false for instante, "AB ] CD [ EF ] GH [ IJ". By the end, I have been asked to describe how to find out a specific ball between eight balls. The question was: You have eight balls all of the same size. 7 of them weigh the same, and one of them weighs slightly more. How can you find the ball that is heavier by using a balance. I should also describe possible outcomes.

Viewing 1941 - 1950 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 21,143 interview questions and reports from Front end software interviews. Prepare for your interview. Get hired. Love your job.