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

SDE - 1

Cuemath
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Binary Search, Array, OOPS, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Do consistent practice of DSA problems every day may be at least 1-2 problems
Tip 2 : Have a good understanding of OOPs concepts
Tip 3 : Do. learn basic of system design

Application process
Where: Referral
Eligibility: No
Resume Tip
Resume tip

Tip 1 : Mention your strong areas clearly.
Tip 2 : Write in a crisp manner about your previous project and internship( if any)

Interview rounds

01
Round
Medium
Online Coding Test
Duration45 Minutes
Interview date10 Apr 2021
Coding problem2

1. Longest Palindromic Substring

Moderate
20m average time
80% success
0/80
Asked in companies
MicrosoftCIS - Cyber InfrastructureGartner

You are given a string 'str' of length 'N'.


Your task is to return the longest palindromic substring. If there are multiple strings, return any.


A substring is a contiguous segment of a string.


For example :
str = "ababc"

The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome. 

There is another palindromic substring of length 3 is "bab". Since starting index of "aba" is less than "bab", so "aba" is the answer.
Problem approach

step 1 : check for all the substrings which a palindrome and returns the one with the maximum size.
step 2 : applied the DP Approach to solve the problem and got accepted.

Try solving now

2. OS Questions

Define Thread and process and its difference.

Problem approach

Tip 1 : Answer the above question and also gave some real-life examples.

02
Round
Easy
Face to Face
Duration45 Minutes
Interview date15 Apr 2021
Coding problem2

1. Rod cutting problem

Moderate
40m average time
75% success
0/80
Asked in companies
Dream11UberGoldman Sachs

Given a rod of length ‘N’ units. The rod can be cut into different sizes and each size has a cost associated with it. Determine the maximum cost obtained by cutting the rod and selling its pieces.

Note:
1. The sizes will range from 1 to ‘N’ and will be integers.

2. The sum of the pieces cut should be equal to ‘N’.

3. Consider 1-based indexing.
Problem approach

1. I solved it using the naive method, but the time complexity is exponential so the interview told me to think of another approach and give hint to think of the DP approach.
2. I mapped the problem statement with the cutting rod problem which I solved earlier and was able to write the do the code.

Try solving now

2. Reverse the String

Easy
15m average time
85% success
0/40
Asked in companies
IBMFacebookAcko

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Problem approach

This was an easy question but we have to do this in O(n) time complexity+ O(1) space complexity.
I did it in place reversing using two-pointers.

Try solving now
03
Round
Easy
HR Round
Duration30 Minutes
Interview date16 Apr 2021
Coding problem1

Basic Behavioural questions are asked.

1. Basic HR Questions

1. Tell me about yourself.
2. what you will do if your senior is not giving you credit for your work.
3. past experiences.

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by Cuemath
1138 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 6 problems
Interviewed by Cuemath
954 views
0 comments
0 upvotes
company logo
SDE - 1
5 rounds | 5 problems
Interviewed by Cuemath
1228 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Cuemath
907 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114578 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34960 views
7 comments
0 upvotes