A
BAN USER- 0of 0 votes
Answers1. Write a program for returning all pairs that map to a value...Discuss different implementations.
- A in United States| Report Duplicate | Flag | PURGE
Intern Algorithm - 0of 0 votes
Answers1. Write a program to return a max BST within a given B-tree
- A in United States| Report Duplicate | Flag | PURGE
Intern Trees and Graphs - 0of 0 votes
Answer1. Write an program to check for anagrams. Discuss different implementation. like using extra space and without using extra space.
- A in United States| Report Duplicate | Flag | PURGE
Intern Algorithm - 0of 0 votes
Answers1. What is a Hash Map..? Describe its two implementation.
- A in United States
2. Difference between Arraylist and linkedlist in JAVA.
3. Discuss issues in implementing HashMaps...collisions mainly...and how to fix them.
4. What is run-time polymorphism in JAVA..explain with example.| Report Duplicate | Flag | PURGE
Intern Java
Sorry....my bad..mapping here means ... pair should get add to the given value....
btw I gave 2 impl :
1. Sorting the array like the classic 2Sum problem.
2. Storing the arraying a arraylist and then checking for each element if (arrayList.comtains(givenSum - A[i]) && arraylist.getIndex(givenSum - A[i]) != i)...then its a pair we want....
It was asked in Amazon
Amazon AWS team...
- A February 01, 2013