Open In App
Related Articles

PayPal Interview Experience for SDE II

Improve Article
Save Article
Like Article

Round 1(Data Structures & Algorithms): Self Introduction (5 min)

After that, they asked the below

  1. Find the element that occurs more than once(
  2. Find all elements that appear more than n/k times in an array.(
  3. Given 2 nodes, Find LCA with parent pointer. I gave a HashMap based solution to store all paths till 2 nodes starting from root. They wanted a space optimised version, so kept track of parent pointer and checked for ancestors. Similar to intersection point of linked lists (

Round 2(System Design & DSA): In-depth description of current project architecture. Various trade-offs to be made.

  1. Explain Circuit breaker pattern:
  2. Internal implementation of HashMap:
  3. Difference between HashMap, HashTable. Which is thread-safe and why?
  4. Spring vs Spring boot framework(as mentioned in my resume)
  5. Completable future, lamba expressions, streams in Java 8+

Suggestion: Be very cautious while answering these questions, interviewers have a lot of in-depth knowledge.

Round 3(Managerial Round): This was a tough one. Started with current project and various trade-offs made in my design. Why we use this design pattern in code here. What are the advantages of the underlying architecture (we used: Hexagonal Architecture)

  1. Merge K sorted lists. (
  2. Discuss internal structure of minHeap and maxHeap
  3. Fastest Sorting Algorithm (
  4. Given multiple files with different elements how to sort them into one file (without using extra space).
  5. Design a RESTFul web service that can effectively perform CRUD operations
  6. Difference between @Controller & @RestController
  7. WebService versus REST API
  8. How Spring Boot solves the problems which Spring couldn’t solve

Tip: Do not try to jump directly to code. Discuss with the interviewer first. Do not bluff anything as they are highly knowledgable people.

For System, we are expected to write code sometimes, so have atleast sublime text. Do not use Office Laptops for interview.

Round 4(HR & Culture Fit) :

  1. Work location, Aspirations, Ambitions. Compensation benefits.

Verdict: Selected 

Author: Anjana Kesari

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 14 Mar, 2022
Like Article
Save Article
Similar Reads