Given an integer write a function that converts the input into a linkedList where each node corresponds to a number of the integer. Eg: 25697 == 2 -> 5 -> 6 -> 9 -> 7 Then write a function that takes 2 linkedList, add the corresponding integers and return a third list with the result.
Engineer Interview Questions
844,385 engineer interview questions shared by candidates
1. What is a virtual? 2. If class has virtual function, what happens in compile time and in run time? 3. What is a polymorphism? 4. Write the function that gets array of chars and returns number of elements with 3 bits ON, performance is important. 5. Write the function that draws a line from x1,y1 to x2,y2 6. You have very long function with many return statements. You have to determine how much time it runs.
Design a Data Structure SpecialStack that supports all the stack operations like push(), pop(), isEmpty(), isFull() and an additional operation getMin() which should return minimum element from the SpecialStack. All these operations of SpecialStack must be O(1). To implement SpecialStack, you should only use standard Stack data structure and no other data structure like arrays, list, etc.
int getCount(int[] arr, int num)
which are the private network addresses?
All the basic questions on my subject
find a loop in a list
Given a dc signal how would you make a 30ps pulse? you have a 30ps inverter available.
What is your best strength?
You have a 3 litre container & a 5 litre container filled with water to the brim.You also have a 5 litre container which is empty.How would you extarct or make an exact amount of 4 litres of water in any of the containers. You are not allowed to throw the water outside the containers. You can transfer the water from 1 Container to the other.
Viewing 1861 - 1870 interview questions