Engineering Technology Interview Questions

22,605 engineering technology interview questions shared by candidates

Write a function that outputs a string that shows pagination information for a website. The string must show the current page, lowest page index, highest page index, with some "padding" around the current page. Example output: "1 ... 4 5 (6) 7 8 ... 30" for a site with 30 pages where the user is on page 6 "1 (2) 3 4 ... 30" for a site with 30 pages where the user is on page 2
avatar

Software Engineering Intern

Interviewed at Yelp

3.2
Jan 4, 2015

Write a function that outputs a string that shows pagination information for a website. The string must show the current page, lowest page index, highest page index, with some "padding" around the current page. Example output: "1 ... 4 5 (6) 7 8 ... 30" for a site with 30 pages where the user is on page 6 "1 (2) 3 4 ... 30" for a site with 30 pages where the user is on page 2

Not the actual question, I've modified a bit: Find the element(s) in an integer array such that if it's removed, the rest of the array can be divided into 2 sub-arrays of equal sums. The sub-arrays need not contain contiguous elements. There may be 0 or more answers.
avatar

Software Engineering Manager

Interviewed at Apple

4.1
Dec 10, 2015

Not the actual question, I've modified a bit: Find the element(s) in an integer array such that if it's removed, the rest of the array can be divided into 2 sub-arrays of equal sums. The sub-arrays need not contain contiguous elements. There may be 0 or more answers.

Viewing 291 - 300 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 22,605 interview questions and reports from Engineering technology interviews. Prepare for your interview. Get hired. Love your job.