15 questions · from 2 interviews
Rakuten interview questions
Every question candidates reported from their Rakuten interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
Rakuten coding and DSA questions
- 01
Rotate Array
Given an integer array nums and an integer k , rotate the array to the right by k steps, where k is non-negative.
Easy · From Rakuten Senior Interview Java - 3 YOE
- 02
Implement Thread-Safe Singleton Class
Write a code snippet for a Singleton class and ensure it is thread-safe.
Medium · From Rakuten - Java Lead Developer (Springboot)
- 03
Implement Binary Search
Write the code to perform binary search in a sorted array.
Easy · From Rakuten - Java Lead Developer (Springboot)
- 04
Time Complexity of Data Structures Operations
Give the time complexity for insertion, deletion, and search in HashMap, Binary Search Tree, and Linked List.
Easy · From Rakuten - Java Lead Developer (Springboot)
- 05
Compare Sorting Algorithms
Give the difference between Bubble sort, Insertion sort, Merge sort, and Quick sort.
Easy · From Rakuten - Java Lead Developer (Springboot)
- 06
Java File Reading with Custom Exception Handling
Write a Java function to read a file where if the file is not read, you throw IOException, if you don't find the file while reading throw FileNotFoundException, and also try to add one custom Exception for any other issue you face.
Medium · From Rakuten - Java Lead Developer (Springboot)
- 07
Filter and Sort Objects using Java Stream API
If you have a class Person having age and name as data members, please write the code snippet to fetch all the persons with age 25 and in a sorted manner using Java Stream API.
Medium · From Rakuten - Java Lead Developer (Springboot)
Rakuten system design questions
- 01
Design Redbus-like Bus Booking System
Design a system similar to Redbus that allows users to search for buses based on location and time, handles concurrent seat bookings (e.g., two users attempting to book the same seat simultaneously), and includes a notification subsystem.
- 02
Modularize Monolithic Application using SOLID Principles
How would you make a tightly coupled Monolithic application modular using SOLID principles?
Hard · From Rakuten - Java Lead Developer (Springboot)
Rakuten other questions
- 01
45-Minute Measurement Puzzle
Measure exactly 45 minutes using two candles that each burn for exactly 1 hour.
- 02
Explain SOLID Principles
Explain what the SOLID principles are.
- 03
Explain Volatile Keyword in Multithreading
Explain what the volatile keyword is in multithreading.
- 04
Demonstrate and Correct Single Responsibility Principle Violation
Write code to show how the Single Responsibility Principle is violated and provide the corrected code.
Medium · From Rakuten - Java Lead Developer (Springboot)
- 05
Explain CountDownLatch
Have you heard about CountDownLatch? Explain it.
- 06
Exception Handling in Java Stream API
How would you handle exceptions in the Java Stream API?
Medium · From Rakuten - Java Lead Developer (Springboot)
Rakuten interview questions FAQ
What questions are asked in Rakuten interviews?
Candidates reported 15 distinct questions across 2 Rakuten interviews. 7 coding and DSA questions, 2 system design questions, 6 other questions.
How difficult are Rakuten interview questions?
Of the questions candidates rated, 40% were easy, 50% medium and 10% hard.