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))"
Software Engineer Interviews
Software Engineer Interview Questions
Software engineers write programs to design and develop computer software. Interviews are highly technical, so come ready to work through coding problems and math brainteasers. The specific questions you are asked will depend on what type of programming position you are looking for. Try researching a specific software discipline such as web development, application development, or system development.
Top Software Engineer Interview Questions & How to Answer
Question #1: How would you describe your programming task process?
Question #2: Which programming languages do you know and prefer?
Question 3: What is an example of a successful project that you completed?
419,267 software engineer interview questions shared by candidates
Try-catch block, handle class, matrix indexing in MATLAB. Declaring private methods in Python. A lot of importance was given to behavioral questions.
general background questions.
Convert a binary tree to a doubly circular linked list.
First Question: Print all combinations from dictionary which will result in number N Input Dictionary { “flag”:4.5, “temp”:2 ,”foo”:9} N : 11 Output: “Flag”*2 + “temp”*1 “Foo”*1+”temp”*1 Second Question: Return list of root-to-leaf sum (in left to right) from given tree Input: 1 / \ 2 3 / \ 4 5 Output: [7,8,4]
Given a list of persons and a function knows(I,j) which returns true if person I knows person j, find a celebrity person defined as: person doesn't know anybody else and everybody else knows him.
Algo Question: Take two binary numbers and add them
print the binary tree by level in different lines.
NDA
1) Debug some code and take logic test 2) Perform coding challenge 3) Show general knowledge of software development, code something, talk about interests
Viewing 1441 - 1450 interview questions