Salescode.ai interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Salescode.ai
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
My preparation journey started with strengthening my basics in data structures, algorithms, and core computer science concepts. I focused on understanding problem-solving approaches rather than memorizing solutions, which helped me build confidence while tackling new problems. Along the way, I practiced coding regularly, learned to think recursively and in terms of optimization, and improved my ability to explain my thought process clearly. Preparing for interviews taught me the importance of correctness, clarity, and fundamentals. Reaching the interview stage itself was a motivating milestone and reinforced my belief that consistent learning and honest self-assessment play a crucial role in growth.
Application story
I applied for the opportunity through a referral. After submitting my resume, I received communication regarding the interview process. The entire application flow was smooth and transparent, with clear instructions shared before each stage. The interviews were conducted online in a structured manner, and timely updates were provided throughout the process until the final decision.
Why selected/rejected for the role?
I was rejected primarily due to gaps in accuracy and depth while answering some core computer science and algorithmic questions. Although my approach and problem-solving intent were correct, the experience highlighted the importance of strong fundamentals and precise implementations. This rejection helped me identify areas to improve and reinforced that even small logical mistakes can significantly impact interview outcomes.
Preparation
Duration: 9 months
Topics: DSA, Problem Solving, OS, OOPS
Tip
Tip

Tip 1: Practice problems regularly and focus on understanding the underlying logic instead of memorizing solutions.
Tip 2: Revise core concepts frequently and re-implement important algorithms to avoid logical mistakes during interviews.
Tip 3: Practice explaining your thought process out loud to improve clarity and confidence in interviews.

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

Tip 1: Highlight projects where you have clearly applied data structures, algorithms, or core concepts, and be prepared to explain every detail.
Tip 2: Keep the resume concise and honest, only mention skills and technologies that you are confident discussing in depth.

Interview rounds

01
Round
Medium
Video Call
Duration30 minutes
Interview date1 Sep 2025
Coding problem2

The interview was conducted during normal daytime hours and was not late night. The environment was professional and calm. The interview was conducted online, and the overall process was well-structured without unnecessary pressure. The interviewer focused more on understanding fundamentals and clarity of thought rather than rushing through questions. I was encouraged to explain my approach and reasoning. The interviewer was professional, patient, and supportive. They listened carefully, asked follow-up questions, and guided the discussion to test conceptual understanding.

1. OOPS

Design a class that supports method chaining to construct a number, such as:
obj.thousand(2).hundred(1) producing output 2100.

Problem approach

Tip 1: Practice recursion and backtracking problems to gain confidence in handling base cases and symmetric outputs.
Tip 2: Understand method chaining and fluent interfaces to design clean and readable object-oriented solutions.
Tip 3: Always explain your thought process clearly while coding, as interviewers value reasoning as much as the final answer.

2. Problem Solving

Print a recursive series that first increases and then mirrors itself symmetrically:
1 3 7 13 21 13 7 3 1

Problem approach

Step 1: I observed that the sequence increases up to a peak value and then prints the same values in reverse order.
Step 2: I used a recursive approach where values were printed while going deeper into recursion and again while backtracking.
Step 3: This backtracking technique naturally handled the symmetric pattern without requiring extra data structures.

02
Round
Medium
Video Call
Duration40 minutes
Interview date5 Sep 2025
Coding problem3

The second round was conducted during regular daytime hours and was not late night. The environment was professional and slightly more challenging compared to the first round. The focus was on testing depth of understanding, correctness, and optimization of solutions. The interviewer emphasized efficient solutions and correctness of logic. I was expected to explain both the approach and the reasoning behind optimizations. The interviewer was professional and analytical. They asked probing questions to test conceptual clarity and expected precise explanations.

1. N-th Fibonacci Number

Moderate
40m average time
70% success
0/80
Asked in companies
HCL TechnologiesHCL TechnologiesOracle

You are given an integer ‘N’, your task is to find and return the N’th Fibonacci number using matrix exponentiation.

Since the answer can be very large, return the answer modulo 10^9 +7.

Fibonacci number is calculated using the following formula:
F(n) = F(n-1) + F(n-2), 
Where, F(1) = F(2) = 1.
For Example:
For ‘N’ = 5, the output will be 5.
Problem approach

Step 1: I identified that the standard recursive or DP approach would result in O(n) time, which was not optimal.
Step 2: I discussed using mathematical optimization techniques such as matrix exponentiation or fast doubling to reduce the time complexity to O(log n).
Step 3: The solution involves breaking the problem into smaller subproblems by halving n at each step and combining results efficiently.

Try solving now

2. Longest Common Subsequence

Moderate
39m average time
0/80
Asked in companies
PayPalSliceShareChat

Given two strings, 'S' and 'T' with lengths 'M' and 'N', find the length of the 'Longest Common Subsequence'.

For a string 'str'(per se) of length K, the subsequences are the strings containing characters in the same relative order as they are present in 'str,' but not necessarily contiguous. Subsequences contain all the strings of length varying from 0 to K.

Example :
Subsequences of string "abc" are:  ""(empty string), a, b, c, ab, bc, ac, abc.
Problem approach

Step 1: I analysed the problem and identified overlapping subproblems and optimal substructure.
Step 2: I created a dynamic programming table where each state represented the LCS length for prefixes of the two strings.
Step 3: If characters matched, I incremented the value from the previous diagonal state; otherwise, I compared values from adjacent states to choose the optimal one.
Step 4: The final answer was obtained from the last cell of the DP table.

Try solving now

3. Operating System

What are threads and multithreading? (Learn)

Problem approach

Tip 1: Build strong OS fundamentals by referring to standard textbooks like Galvin and understanding concepts with real-world examples.
Tip 2: Focus on explaining concepts clearly, including why they are used and what problems they solve.
Tip 3: Revise commonly asked OS topics such as processes vs threads, synchronization primitives, deadlocks, and memory management.

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
3 rounds | 7 problems
Interviewed by OYO
4898 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6638 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3638 views
0 comments
0 upvotes
Associate Software Engineer
2 rounds | 4 problems
Interviewed by Salescode.ai
1379 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
58237 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes