given two linked lists with a digit in each node, add the two linked lists together. the result must be a linked list with one digit in each node. use only one iteration of the two input lists.
Software Engineers Interview Questions
418,794 software engineers interview questions shared by candidates
1. Calculate the factorial of an array of integers. 2. How to improve the factorial algorithm?
Are two words palindrome of each other?
If you had to change permissions to read/write all recursively in the unix terminal, how would you do it?
Why u chose IT? Why do want to join syntel?
Here is the brain teaser question: Given integers as 1, 2, 3, 4, ..., N. Every time you remove an alternative element until only one is left. If you reach the end, just do a rounding. Return the remaining element. For example, given 1,2,3,4,5,6, you remove 1, 3, 5 and then 2, 6. So the remaining element is 4. What is the remaining element if N is 2000?
Given a Binary Search Tree with integers at every node and an integer k, write code that decides whether or not there exists two nodes a and b such that a+b=k
The tech questions were easy if you had some practices (leetcode, etc). The behavior questions did catch me. Be prepared for some real QA scenario questions!
Write numbers 2^1000 and 5^1000 in a decimal notation, next to each other. How many digits does the newly obtained number have?
The database all of a sudden becomes very slow, what could be the cause of this?
Viewing 471 - 480 interview questions