Visa | Senior Software Engineer | Bengaluru, India | Mar 2022 [Offer]

Anonymous User
1820
Jun 28, 2022

YOE: 5

Screening Test on HackerRank (5 questions in 60 minutes)

  1. 2 SQL questions (don't recall the questions, but required simple joins and maybe use of rank function)
  2. Coding Questions (have to write in Java)
    1. Simple array iteration and lookup question
    2. Merge Sorted Linked List
  3. Subjective question on java memory management. How to decide how much memory should be allocated to JVM. Other considerations.

VC Round 1 - Java & Coding
Coding:

  1. https://leetcode.com/problems/best-time-to-buy-and-sell-stock/

Java:

  • OOPS - Encapsulation vs Abstraction
  • default method in interface ( difference between it and abstract classes, how it avoids diamond problem)
  • Collections - HashMaps, TreeMap, HashSet
  • fail-safe and fail-fast iterators
  • initial size of HashMap and how it changes
  • JVM Architecture (Why do we need 3 different classloaders?)
  • How to make an object immutable?
  • Garbage Collector (different types, algorithms, can we specify which garbage collector to use)
  • Thread pools (different types of it)
  • String pools
  • storing sensitive information like password, what should be used (ans: character array instead of String)
  • Question related to using streams and grouping by method to group on multiple keys and count frequency

Hiring Manger Round

  1. Design write intensive server which can peform both reads and writes. This was only theoretical and had to explain tradeoffs.
  2. Design BookMyShow (HLD)
  3. Standard behavioral questions

All the rounds went well. Got the offer within a week.

Comments (2)