Symantec Interview Report
- 0of 0 votes
AnswersExplain equlas & hashcode methods. When you will override these two methods?
- PCB April 05, 2013 in India
This same question was asked in other two face to face interviews also. You should know how HashMap actually works. Like collision, put, get.
How to increase HashMap performance.| Report Duplicate | Flag | PURGE
Symantec Senior Software Development Engineer Java - 0of 0 votes
AnswersHow subString works in String class.
- PCB April 05, 2013 in India
subString will not create new string. Class string is having offset and count integers to point to begin index and number of characters.
subString will set these offset and count.| Report Duplicate | Flag | PURGE
Symantec Senior Software Development Engineer Java - 0of 0 votes
AnswersImplement Iterator for integer array.
- PCB April 05, 2013 in India| Report Duplicate | Flag | PURGE
Symantec Senior Software Development Engineer Algorithm - 0of 0 votes
AnswersReversing a character array.
- PCB April 05, 2013 in India
Steps:
1. Take two ref one will referring to start index n one to end index.
2. Swap characters at both indexes
3. Increment start index, decrement end index.
4. Repeat steps 2 and 3 untill u start index < end index
Complexity of this algorithm? IS there an algorithm using which we can achieve complexity of n/2?| Report Duplicate | Flag | PURGE
Symantec Senior Software Development Engineer Algorithm