Visa Inc SDE-1 Interview Experience || Accepted || Questions & Comp
Summary
I interviewed for an SDE-1 position at Visa Inc and was accepted. The interview process consisted of four rounds covering DSA, System Design, Java SpringBoot, behavioral questions, and team fit.
Full Experience
Visa Inc SDE-1 Interview experience (round 4) [3 round already appeared]
Round 1 - DSA, Round 2 - General Resume & System Design concepts, Round 3 - HM
Round 4 for another team, team fit + java springboot & work related
Verdict - Selected
Comp - Base 17LPA, Annual pay 20.1LPA
Stocks 18,000 USD over 3 years
Interview Questions (16)
New Features in Java 17
Can you list some new features introduced in Java 17? (Follow-up: I mentioned Java 8 & 11 features like streams, optionals, lambda etc.)
Filter List of POJOs using Java Streams
Given a List of Emp POJOs (with name, id, etc.), how would you filter it using Java Streams to find employees whose name starts with your first name?
Sort List of POJOs via Streams in Reversed Order
Using the same List of Emp POJOs, how would you sort it in reversed order using Java Streams? (Follow-up: The interviewer was fine with list.sort + Comparator lambda, and asked about Comparator & lambda.)
Different Map Implementations in Java
Can you describe the different Map implementations available in Java?
Internal Working of HashMap
Explain how a HashMap works internally in Java. (Follow-ups: hash collision (chaining, open addressing, double hashing); again asked about chaining; TC of chaining insert; how to improve TC; interviewer hint about ordering & trees; AVL trees as values was the answer)
SpringBoot Version Used
What version of Spring Boot do you use?
Dependency Injection in Spring Boot
Explain what Dependency Injection is in Spring Boot and its advantages. (Follow-up: benefits of DI; follow-up about what is singleton)
Prototype Bean Autowired in Singleton Bean
If a prototype bean is autowired inside a singleton bean, would it still act like a prototype, meaning a new instance is created each time?
Database Experience
What types of databases have you used? (Follow-up: is HanaDB SQL or NoSQL?)
Count Males and Females using SQL
Given a table with columns id and gender, write an SQL query to find the count of males and females.
Longest Common Prefix
Given a list of words, find the longest common prefix among them.
Longest Common Substring
Flipped the previous question to find the longest common substring among words.
Challenge and Learning Experience
Tell me about a time you faced a significant challenge and what you learned from that experience. (Follow-up questions related to work discussion)
Dealing with Monotony
This job can sometimes be very monotonous. How do you deal with such situations?
Staying Up-to-Date
How do you stay up-to-date and relevant with what's happening in the tech field?
Opinion on Generative AI
What are your thoughts on Generative AI?