Kaleidofin interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Kaleidofin
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
I started my journey by focusing on strong fundamentals and practicing consistently every day. Gradually, I moved to real-world technologies, built projects, and learned from my mistakes and rejections. Each interview experience helped me improve my technical knowledge and communication skills. With persistence, discipline, and belief in myself, I finally cracked this interview and achieved my goal.
Application story
I received a referral from someone, which gave me the opportunity to attend the interview. After that, I focused on preparing seriously and worked hard on strengthening my fundamentals. I practiced consistently, improved my weak areas, and learned from every mistake. With dedication and the right guidance, I was able to crack the interview successfully.
Why selected/rejected for the role?
I was strong in Data Structures and System Design, which helped me approach problems with clarity and structure. I believe I was selected because I not only solved problems efficiently but also explained my thought process clearly and confidently. I focused on writing clean, optimized solutions and discussed real-world trade-offs in system design scenarios. One key learning from my journey is that technical knowledge alone is not enough — communication, structured thinking, and confidence play a huge role. Preparation should not just be about solving problems, but about understanding concepts deeply and being able to articulate them effectively.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Consistency beats intensity.
Tip 2: Don’t rush advanced topics before mastering basics.
Tip 3: Build real projects — they matter more than certificates.

Application process
Where: Referral
Eligibility: NA, (Salary package: 13 LPA)
Resume Tip
Resume tip

Tip 1: Keep your resume limited to one page.

Tip 2: If you don’t have experience, mention at least three projects on your resume.

Interview rounds

01
Round
Easy
Online Coding Test
Duration60 minutes
Interview date2 May 2025
Coding problem1

Questions on SQL, core java and spring boot were asked along with 1 coding question.

1. Subarray With Given Sum

Moderate
15m average time
85% success
0/80
Asked in companies
Thought WorksAdobeInfo Edge India (Naukri.com)

Given an array ARR of N integers and an integer S. The task is to find whether there exists a subarray(positive length) of the given array such that the sum of elements of the subarray equals to S or not. If any subarray is found, return the start and end index (0 based index) of the subarray. Otherwise, consider both the START and END indexes as -1.

Note:

If two or more such subarrays exist, return any subarray.

For Example: If the given array is [1,2,3,4] and the value of S is equal to 7. Then there are two possible subarrays having sums equal to S are [1,2,3] and [3,4].

Problem approach

Step 1: Brute Force Approach
I initially thought of generating all possible subarrays using two nested loops.
For each subarray, I calculated the sum and checked if it equals the target.
Time Complexity: O(N²)
This works but is inefficient for large inputs.
Step 2: Optimization Using Prefix Sum + HashMap (for positive & negative numbers)
I used the concept of cumulative (prefix) sum.
While iterating through the array:
Maintain a running sum.
If currentSum == target, subarray exists from index 0 to current index.
If (currentSum - target) exists in a HashMap, it means a subarray with sum = target exists.
Store prefix sums in the HashMap with their indices.
Time Complexity: O(N)
Space Complexity: O(N)
Step 3: Special Case Optimization (Only Positive Numbers)
If the array contains only positive numbers, I used the Sliding Window (Two Pointer) approach.
Expand window if sum < target.
Shrink window if sum > target.
Time Complexity: O(N)
Space Complexity: O(1)
The interviewer was satisfied when I moved from brute force to an optimized O(N) solution and explained when to use each approach.

Try solving now
02
Round
Easy
Face to Face
Duration60 minutes
Interview date13 May 2025
Coding problem1

1. System Design

  • Explain Singleton Pattern and how to implement it.
  • What are SOLID and decorator design pattern.
  • Design the schema for hotel booking app.
Problem approach

Tip 1: Singleton Pattern and How to Implement It
The Singleton pattern ensures that a class has only one instance and provides a global access point to it.
Key Points:
Private constructor
Static instance variable
Public static method to return the instance
Thread-safe implementation (Double-Checked Locking or Enum-based Singleton in Java)
I explained lazy initialization and how to make it thread-safe using synchronized or volatile.

Tip 2: SOLID Principles:
S – Single Responsibility Principle
O – Open/Closed Principle
L – Liskov Substitution Principle
I – Interface Segregation Principle
D – Dependency Inversion Principle
I gave practical examples from real-world service classes and explained how following SOLID improves maintainability and scalability.
Decorator Design Pattern:
Used to add new functionality to an object dynamically without modifying existing code.
Follows Open/Closed Principle.
I explained it using an example like adding features to a coffee order or adding logging/security layers to a service


Tip 3: I designed a high-level database schema including:
Main Tables:
Users (user_id, name, email, phone)
Hotels (hotel_id, name, location, rating)
Rooms (room_id, hotel_id, type, price, availability)
Bookings (booking_id, user_id, room_id, check_in, check_out, status)
Payments (payment_id, booking_id, amount, payment_status)
I also discussed:
Relationships (One-to-Many between Hotel and Rooms)
Indexing on location and dates
Handling concurrency for room availability

03
Round
Medium
Face to Face
Duration60 minutes
Interview date20 May 2025
Coding problem1

1. React JS

  • What is React and why is it used? (Learn)
  • What is the difference between functional and class components? (Learn)
  • What are props in React? (Learn)
  • What is state and how is it different from props? (Learn)
  • What is JSX? (Learn)
  • What are keys in React and why are they important? (Learn)
  • Explain the React component lifecycle (for class components). (Learn)
  • What is the Virtual DOM? (Learn)

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8962 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
975 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3502 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2763 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes