Oracle | IC2 | Bangalore | Rejected

Anonymous User
473
Apr 13, 2025
Apr 16, 2025

Current Exp : 2.8+years at Product based Startup
College: Tier - 1

Round 1 (Screening round - 60 mins) :

The round started with basic introduction and then few Java/Spring boot questions followed by a DSA question.

  1. How to conditionally intialize a bean for a given environment (dev, staging, prod) - @ConditionalOnProperty

  2. For a service if there are millions of messages in a queue that you want to process how will you process them? - I suggested CompletableFuture. There were follow-up questions on it:

    • Cons of using CompeltableFuture.
    • ExecutorService vs CompletableFuture
    • How will you ensure you store the timestamp when the event was received using completableFutue as it is async.
  3. SOLID Principles - Explain using examples from your codebase

  4. DSA problem - Find all subsequences of the string excluding the empty string in lexicographically sorted order

After this 3 loop rounds were scheduled

Round 2 (Loop round 1 - 45 mins):

This round started with intro, also has questions on Java/Spring Boot, 1 behavioral question and 1 DSA question

Java/Spring Boot questions:

  1. What is ConcurrentHashMap and SynchronizedMap and difference between these.

  2. What is BlockingQueue and SynchronizedQueue and difference between these.

  3. What is a bean? What are bean scopes? Tell the difference about different bean scopes.

  4. Tell me about a time you had a conflict at work

DSA:

  1. https://leetcode.com/problems/jump-game/description/

Round 3 (Loop round 2 - 45 mins):

This round started with intro, then there was 1 SQL, 2 DSA, and remaining questions were from resume

  1. https://leetcode.com/problems/rotting-oranges/
  2. Similar to but the word can be found in all 8 directions - https://leetcode.com/problems/word-search/description/

Round 4 (Loop round 3 - 45 mins - HM round):

This round started with intro, questions from resume around rabbitmq, spring db connections, Singleton design pattern and few more and 2 DSA questions.

  1. Modify an Array: Given an array of integers, the cost to change an element is the absolute difference between its initial value and its new value. Determine the minimum cost to sort the array either ascending or descending along its length.

Eg: n=6
arr = [0,1,2,5,6,5,7]
Ans = 1

  1. Something similar to - https://leetcode.com/problems/design-in-memory-file-system/description/

(Used Trie to solve this)

Edit: Update Rejected :)

Comments (2)