Mode Interview Questions

395 mode 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 381 - 390 interview questions

Glassdoor has 395 interview questions and reports from Mode interviews. Prepare for your interview. Get hired. Love your job.