Visa | Sr. Software Engineer (Fullstack, Java & Angular) | | May
[ OK ]imJ3S1CxDt — full writeup
[ INFO ]category: Behavioral · Phone Screen difficulty: difficult freq: first seen: 2024-06-06
[DIFFICULT][PHONE SCREEN]Phone ScreenSWE III (Senior)Rejected
$catproblem.md
I interviewed for the position of Senior Software Engineer (Fullstack, Java & Angular) at Visa.
The first round was conducted in two parts.
Round 1 (Part A)
Angular basic building blocks
How would you show a bar graph of data from the past 100 years, receiving data from the backend? The interviewer wanted to see my approach to the problem, not the actual code.
Authentication and Authorization in your frontend.
Basic components of NgRx store (this was mentioned in my resume).
How did I migrate from Angular v8 to v13 (this was mentioned in my resume). What is the exact command?
How can you send data between two components in Angular?
a. Parent to Child (Answer: @Input decorator)
b. Child to Parent (Answer: @ViewChild decorator, also use ngAfterViewInit)
c. Unrelated Components (Answer: Create a Service)
Write a piece of code for subscribing to an observable from an API call and handling errors.
Print the subset with sum k.
Round 1 could not be completed within one hour, so another part was scheduled for the next day.
Round 1 (Part B)
Functional interface
Will a functional interface work without annotation?
Can an interface have a function definition?
Answer: No.
Stream API is built on top of the collections interface, but the interface doesn't have a function definition. How did Java overcome this?
Answer: Default functions.
How to intercept all requests and responses from a Springboot app?
Answer: Interface.
Spring Security features.
Use of the Repository annotation.
If we have two implementations of an interface and use @Autowired for the base interface object, will the application run?
Answer: No.
How can you make this work?
Answer: @Qualifier annotation.
Checked and Unchecked Exceptions in Java with an example.
You are given two arrays. One of the arrays has some numbers missing. Print the missing numbers.
Verdict: I was not selected for the position.
Three weeks later, I received a call from the recruiter. The position had already been filled, but since I had received good feedback, they had another opening for a backend role if I was interested. However, I would have to take Round 1 again.