How would I implement the 'ls' command in Unix?
Software Engineers Interview Questions
420,122 software engineers interview questions shared by candidates
Received solution for refactoring.
What about the company interested you to apply
Tell me 3 hobbies. Not 2 or 4, only 3.
Why do you want to join wipro?
1) I have class hierarchy and should create array of different instances of this hierarchy. They asked me to write a function which iterates this array and executes different methods according to the instance class. I suggested that downcasting is a bad idea and that it can violate Liskov substitution rule of the SOLID principles, and this problem should be solved using collections and generics, but they did not accept this answer 2) Create Queue N size using only N size array. 3) some Java concurrency related questions: synchronized volatile, atomic, etc....
Given a big image, how will you pan and zoom into the image in a way so as to focus on the important parts ot the image.
Merge 2 sorted arrays A and B Result should end up in B, which has available space for all items Utilize the space in B, not using temporary arrays Result in sorted array in B A { 2, 5, 8, 12, 15} B { 3, 5, 7, 9, , , , , , }
Getting the min from a stack in O(1) time
What is the size og following structuires when packing is allowed and not allowed. Struct A { char c; int i; } Struct B {int i; char c; } Struct C { char c1; int i; char c2; }
Viewing 1511 - 1520 interview questions