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

SDE - Intern

Codenation
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: Dynamic Programming, Binary Search, Data Structures, Trees, Graphs
Tip
Tip

Tip 1 : Be focused on the question and keep trying, Project needs to be well understood and somewhat on your tips. 
Tip 2 : Don't code till you are sure and got a green signal about the efficiency and correctness of logic
Tip 3 : Just brush up your DS basics and some logical algorithms (Dijkstra, Shortest spanning tree , etc)

Application process
Where: Other
Eligibility: Do pretty great in the coding test
Resume Tip
Resume tip

Tip 1 : Experience must be highlighted, or the Project whichever you would like to discuss
Tip 2 : Links are always a great way to show your work (deployed/code)

Interview rounds

01
Round
Medium
Telephonic
Duration50 minutes
Interview date1 Nov 2019
Coding problem0

Timing: 4 pm to 5 pm
he was from the most recent batch that joined as SDE, somewhat 7-8 months into the joining. This was a light-hearted more about knowing about me. It started by discussing my resume as in my education, background, and then it moved towards discussing my project. On that, we had some usual questions on the topic than some in-depth questions as to why only this method is used and some mathematics involved in the algorithms.

At around 10 minutes left I was pitched an extension to my project asking for ideas on how would I go about in that development. He was curious and really interested in knowing what I had in my journey along.

02
Round
Medium
Video Call
Duration45 Minutes
Interview date23 Nov 2019
Coding problem2

This was a straight coding round with three questions , I was able to solve all 3

1. Kth Largest Number

Moderate
30m average time
65% success
0/80
Asked in companies
Wells FargoGoldman SachsPhonePe

You will be given a stream of numbers, and you need to find the 'kth' largest number in the stream at any given time.


As the stream of numbers can not be given during compile time, so you need to design a data structure which can accept infinite numbers and can return the 'kth' largest number at any given time.


The stream of numbers is nothing but a large collection of numbers from which integers are read at runtime, such as the user will never know the upper limit on the number of integers that will be read.


The implemented data structure must support the following operations:

1. add(DATA) :
   This function should take one argument of type and store it in its pool and returns the 'kth' largest number from the current pool of integers.

You will be given 'q' queries:

val - For this query, insert the integer into your current pool of integers and return the 'kth' largest integer from the existing pool of integers.
Note
 1. The maximum number of integers that will be given will always be under memory limits.

 2. You will also be given an initial pool of integers whose size equals k.

 3. The maximum number of queries will be less than 10^5.

 4. The 'kth' largest element is not the 'kth' distinct element but the 'kth' largest element in the sorted order.

 5. There will be at least one query of type 2.
Try solving now

2. Rat In A Maze

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

You are given a starting position for a rat which is stuck in a maze at an initial point (0, 0) (the maze can be thought of as a 2-dimensional plane). The maze would be given in the form of a square matrix of order 'N' * 'N' where the cells with value 0 represent the maze’s blocked locations while value 1 is the open/available path that the rat can take to reach its destination. The rat's destination is at ('N' - 1, 'N' - 1). Your task is to find all the possible paths that the rat can take to reach from source to destination in the maze. The possible directions that it can take to move in the maze are 'U'(up) i.e. (x, y - 1) , 'D'(down) i.e. (x, y + 1) , 'L' (left) i.e. (x - 1, y), 'R' (right) i.e. (x + 1, y).

Note:
Here, sorted paths mean that the expected output should be in alphabetical order.
For Example:
Given a square matrix of size 4*4 (i.e. here 'N' = 4):
1 0 0 0
1 1 0 0
1 1 0 0
0 1 1 1 
Expected Output:
DDRDRR DRDDRR 
i.e. Path-1: DDRDRR and Path-2: DRDDRR

The rat can reach the destination at (3, 3) from (0, 0) by two paths, i.e. DRDDRR and DDRDRR when printed in sorted order, we get DDRDRR DRDDRR.
Try solving now
03
Round
Medium
Video Call
Duration60 Minutes
Interview date25 Dec 2019
Coding problem1

As this was my first system design round, I was not expecting to be able to tell anything , but to my surprize he interested in just the idea what I can think , how I can solve some issues which need not be definitely to have a solution / or multiple solutions are possible from common sense.

I was given an Idea based question

1. General Questions

If was to conduct a rubrics cube solving contest in some college. So I had to design a system that when given a shuffeed rubric cube is able to judge weather its on some predefined difficulty[state] or not.

Give idea as to a to a non-tech guy as to why he needs that system and what benefits give over some human volunteers
Give an idea as to a tech guy about working and all.

Some follow up questions in my idea

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
SDE - Intern
4 rounds | 6 problems
Interviewed by Codenation
3448 views
1 comments
0 upvotes
company logo
SDE
4 rounds | 8 problems
Interviewed by Codenation
789 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Codenation
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes