Software Interview Questions

550,978 software interview questions shared by candidates

Write a function called eval, which takes a string and returns a boolean. This string is allowed 6 different characters: 0, 1, &, |, (, and ). Eval should evaluate the string as a boolean expression, where 0 is false, 1 is true, & is an and, and | is an or. An example string might look like "(0 | (1 | 0)) & (1 & ((1 | 0) & 0))"
avatar

Software Engineer Intern

Interviewed at Dropbox

3.8
Nov 13, 2012

Write a function called eval, which takes a string and returns a boolean. This string is allowed 6 different characters: 0, 1, &, |, (, and ). Eval should evaluate the string as a boolean expression, where 0 is false, 1 is true, & is an and, and | is an or. An example string might look like "(0 | (1 | 0)) & (1 & ((1 | 0) & 0))"

Started by asking the usual: expectations, ambitions, why the company, then a surprisingly basic white board test about basic sql concepts and some basic recusrive algorithm The peer programming technical test was just a simple TDD excersive. The rest I can't tell, I was dismissed after TDD for reason explained bellow
avatar

Software Architect

Interviewed at Zühlke

3.8
Feb 5, 2017

Started by asking the usual: expectations, ambitions, why the company, then a surprisingly basic white board test about basic sql concepts and some basic recusrive algorithm The peer programming technical test was just a simple TDD excersive. The rest I can't tell, I was dismissed after TDD for reason explained bellow

Viewing 1801 - 1810 interview questions

Glassdoor has 550,978 interview questions and reports from Software interviews. Prepare for your interview. Get hired. Love your job.