ganesh
BAN USER
Questions (7)
Comments (2)
Reputation 10
- 0of 0 votes
AnswersGiven two sorted arrays A{1,2,4,7,9} and B{2,8} have to combine two arrays which leads to third array which is sorted.
- ganesh in United States| Report Duplicate | Flag | PURGE
Algorithm - 0of 0 votes
AnswersWhats the difference between Semaphore and Lock in Java?
- ganesh in United States| Report Duplicate | Flag | PURGE
Java - 0of 0 votes
AnswersDesign Online Movie Booking System.
- ganesh in United States| Report Duplicate | Flag | PURGE
Java - 0of 0 votes
AnswersGiven a file, we have to replace a word with another word.
- ganesh in India| Report Duplicate | Flag | PURGE
Thomson Reuters Software Engineer / Developer Java - 0of 0 votes
AnswersDesign online movie ticket booking system.
- ganesh in United States| Report Duplicate | Flag | PURGE
Application / UI Design
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Open Chat in New Window
Open Chat in New Window
For the second option i.e.
- ganesh January 25, 2013If extra space is not available and arrays can be changed, sort arrays and then print elements from A not in B. Complexity - O(n logn)
We can sort the arrays, but how do u print values which are not present in A, but not present in B? Whats the logic here?