Data Structures Interview Report
- -1of 1 vote
AnswersYou have two threads "A" and "B" and an integer "Count". "A" can increment the count up to 10(stops after that). "B" can decrements the count up to 1(stops after that). Print out the count after increment and decrements.
- trish August 17, 2013 in United States| Report Duplicate | Flag | PURGE
Data Structures - 0of 0 votes
AnswersSort the array(have to implement the equals method in Cat and Dog).
- trish August 17, 2013 in United States
Cat c = new Cat("Snow Ball");
Dog d = new Dog("Max");
array = {c, d, ... };| Report Duplicate | Flag | PURGE
Symantec Principal Software Engineer Data Structures - 0of 0 votes
AnswersFind the longest sequence in the array.
- trish August 17, 2013 in United States
array = {1, 4, 3, 2, 5, 7, 8, 22}
Answer = 1, 2, 3, 4, 5| Report Duplicate | Flag | PURGE
- 0of 0 votes
AnswersIn a linked list and loops around and connects to another node(not the first), how do you find the connecting point?
- trish August 17, 2013 in United States
Another question from "Cracking the Code".| Report Duplicate | Flag | PURGE
- -2of 2 votes
AnswersAre the following statements correct in Java.
- trish August 17, 2013 in United States
String firstName = "Joe";
String lastName = new String("Mo");| Report Duplicate | Flag | PURGE
Symantec Principal Software Engineer Java - 0of 0 votes
AnswersIf you have a circular linked list, how do you find the middle. You can only go through it once.
- trish August 17, 2013 in United States
Another question from "Cracking the Code".| Report Duplicate | Flag | PURGE
- 0of 0 votes
AnswersRemove duplicates in the array ?
- trish August 17, 2013 in United States
array = {"IBM", "Amazon", "Google", "IBM"}
Another question from "Cracking the Code".| Report Duplicate | Flag | PURGE
Data Structures - 0of 0 votes
Answerswhy can't java have multiple inheritances like c++?
- trish August 17, 2013 in United States| Report Duplicate | Flag | PURGE
- 0of 0 votes
AnswersCount the duplicates in the array ?
- trish August 17, 2013 in United States
array = {"IBM", "Amazon", "Google", "IBM"}
Another question from "Cracking the Code".| Report Duplicate | Flag | PURGE
Data Structures