Engineering Co Op Intern Interview Questions

3,515 engineering co op intern interview questions shared by candidates

Programming question: Write int max(int a, int b) function without using any comparisons (<, >, =, !=, etc), or conditional statements (if, while, for). The trick was to use bit shifting and create a algebraic expression to get the result.
Nov 21, 2012

Programming question: Write int max(int a, int b) function without using any comparisons (<, >, =, !=, etc), or conditional statements (if, while, for). The trick was to use bit shifting and create a algebraic expression to get the result.

Viewing 3411 - 3420 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 3,515 interview questions and reports from Engineering co op intern interviews. Prepare for your interview. Get hired. Love your job.