Software De Front End Interview Questions

21,102 software de front end interview questions shared by candidates

The most difficult question for me ever in an interview question is when they ask me what I would do in various scenarios because I don't know if the company is lokking for a particular answer or how I personally would handle each situation.
avatar

Front-end Cashier

Interviewed at Walmart

3.4
Jul 29, 2014

The most difficult question for me ever in an interview question is when they ask me what I would do in various scenarios because I don't know if the company is lokking for a particular answer or how I personally would handle each situation.

I am going to spoil the interview for the front end position b/c 1. Essentially reverse a sentence. Very simple and they allow the Array.prototype.reverse(). There is punctuation but it doesn't impact the overall words because the first question you split on the space. 2. Question two is a variation on the first question, but requires you to remove the punctuation. String.prototype.replace(regex) will accomplish this. 3. This is where the test jumped from easy to unnecessarily difficult. The question again built on the theme of manipulating a string, but now you're given a string and told to reverse the words but maintain the punctuation, both of arbitrary length. So a very simple example say str = "I'm the man, Sam said." => output is "said Sam, man the Im." Pretty tricky for being on the spot. The trick is two mapping functions: 1. that spit out the punctuation by themselves and then 2. an array of the words and then finally mapping them a concatenated version of the two. "bonus" question: This was by far the most absurd question and where I lost confidence and asks you for some stupid type of HTML markup that targets random characters in the middle of words and is just a mess and so unlike any semantic markup that it borders on the absurdity. Terrible question and indicative of gotcha style interviewing instead of actual skills relevant in day to day work. Also an anti-pattern
avatar

Front-end Engineer

Interviewed at Premise Data Corporation

3.5
Mar 9, 2018

I am going to spoil the interview for the front end position b/c 1. Essentially reverse a sentence. Very simple and they allow the Array.prototype.reverse(). There is punctuation but it doesn't impact the overall words because the first question you split on the space. 2. Question two is a variation on the first question, but requires you to remove the punctuation. String.prototype.replace(regex) will accomplish this. 3. This is where the test jumped from easy to unnecessarily difficult. The question again built on the theme of manipulating a string, but now you're given a string and told to reverse the words but maintain the punctuation, both of arbitrary length. So a very simple example say str = "I'm the man, Sam said." => output is "said Sam, man the Im." Pretty tricky for being on the spot. The trick is two mapping functions: 1. that spit out the punctuation by themselves and then 2. an array of the words and then finally mapping them a concatenated version of the two. "bonus" question: This was by far the most absurd question and where I lost confidence and asks you for some stupid type of HTML markup that targets random characters in the middle of words and is just a mess and so unlike any semantic markup that it borders on the absurdity. Terrible question and indicative of gotcha style interviewing instead of actual skills relevant in day to day work. Also an anti-pattern

Viewing 211 - 220 interview questions

Glassdoor has 21,102 interview questions and reports from Software de front end interviews. Prepare for your interview. Get hired. Love your job.