Hacker Round Test:
- Replace a character c1 with c2 and c2 with c1 in a string S. But it was mentioned that the string will be large and needs to be efficient. Brue force solution was giving timed out for most of the test cases.
- Given a string like ‘01001010’, min number of modifications (0 to 1 or 1 to 0) required to make all characters alternative.
- Some math-related questions, which was not clear.
They called for Face-2-Face Interviews to Hyderabad Campus.
- Polymorphism in Java. Write examples for compile and run time polymorphisms
- Difference between list and ArrayList. She was looking for an answer that Arraylist is implemented as a dynamic array unlike the normal list
- String Mutability in Java
- Some questions related to memory allocation in java for objects and arrays.
- Subclass and superclass objects calling each others methods.
- Find Excel column number from column title.
After giving a solution, she asked if this will perform for Large column names like 2**n and all. Then I changed the result variable in my code to Long instead of int .. to handle if its large data. She was expecting more optimization … Then I told, we can go for pattern matching and storing the corresponding value to use them back. She asked which data structure I would use. I told I would use trie.
Round 2: It was a design-oriented round.
- Write Singleton Pattern using lazy implementation. Then asked to make it thread-safe and improve it further.
- Few questions about exposing rest resources and about authentication.
- Data Structures and design patterns used in the present company.
- If you want to send mail each time an exception occurs in code how will you do it?
- Write the basic try-catch implementation
- Implement the java method which creates a table and a few more steps. How will you handle if an exception occurs during the other steps after table creation?
- Class A has a Class B in it. Class B has class A in it. It’s a cyclic dependency, how will your present framework handle this?
- Is serializable used in our code
- About the current company and team
- Reverse a Linked List in groups of given size
- Asked questions about databases as query optimization was bit highlighted in my resume.
- Different types of indexes and how they work and implementation etc
- Differences between b tree and b+ tree
- What are joins and how they work
- D E Shaw Interview Experience | Set 17 (Arcesium for 1 Yr & 8 Months Experienced)
- Arcesium Interview Experience - Senior Software Engineer (3 years experience)
- Arcesium Interview Experience | Set 5 (3+ years experience - Developer profile)
- OYO Interview Experience | Set 11 (For 2 years experienced)
- Oyo Interview Experience | 3 years Experienced for SDE-2
- Oyo Interview Experience | 3.5 years Experienced for SDE-2
- Paytm Interview Experience (5 Years Experienced)
- Turvo Interview Experience for 2 years experienced
- Paytm Interview Experience | Set 11 (For 2 Years Experienced)
- Oracle Interview Experience | Set 43 (For 3 Years Experienced)
- Paytm Interview Experience For Experienced (2.5 years)
- Amazon Interview Experience SDE 1 (2.5 Years Experienced)
- NoBroker.in Interview Experience | For 4 years experienced
- Amazon Interview Experience | Set 245 (For 2.5 Years Experienced)
- Paytm Interview Experience | Set 12 (For 1.5 Years Experienced)
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.