Engineering Technology Interview Questions

11,360 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

Viewing 101 - 110 interview questions

See Interview Questions for Similar Jobs

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