Ingeniero De Front End Junior Interview Questions

383 ingeniero de front end junior interview questions shared by candidates

Given a long text (string) and a maximum number of characters that can fit in the screen (int), write a function that adds newline characters (\n) to split the text to fit on the screen without breaking words in the middle. You can assume characters are monospaced and that the screen’s maximum width is passed in to your application as an argument called maxCharacters.
avatar

Junior Front End Engineer

Interviewed at Noom

2.6
Oct 1, 2019

Given a long text (string) and a maximum number of characters that can fit in the screen (int), write a function that adds newline characters (\n) to split the text to fit on the screen without breaking words in the middle. You can assume characters are monospaced and that the screen’s maximum width is passed in to your application as an argument called maxCharacters.

Viewing 91 - 100 interview questions

Glassdoor has 383 interview questions and reports from Ingeniero de front end junior interviews. Prepare for your interview. Get hired. Love your job.