Engineering Co Op Interview Questions

3,515 engineering co op 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 3441 - 3450 interview questions

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