Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Crio.do interview experience Real time questions & tips from candidates to crack your interview

Backend developer intern

Crio.do
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
There was an opening on LinkedIn Posts and I directly applied in that. First round was Resume selection and I got selected in that and then the second round was DSA Coding Round which consists of 3 Hard DSA Questions and next round was on Backend Development i.e. making a request to API and getting the proper data and then showing in a particular format.
Application story
I applied via a Post on LinkedIn by the HR and got a mail that I have passed the Resume selection mail. And next I'll be having a DSA Test and 3 questions medium to hard were there and I solved 2.5 out of 3.
Why selected/rejected for the role?
I solved the problem in Interview but was not able to write proper clean code and they want someone who's already very skilled. That's why I got rejected in that.
Preparation
Duration: 10 months
Topics: DSA, Algorithms, Binary Search, Graphs, DP, Backend Development
Tip
Tip

Tip 1 : Do DSA medium to hard questions for them
Tip 2 : The team is very small so they want someone who is already very skilled.
Tip 3 : Learn about Backend Development and main about writing code.

Application process
Where: Linkedin
Eligibility: NA
Resume Tip
Resume tip

Tip 1: Have good Internship Experience
Tip 2: Have good Projects

Interview rounds

01
Round
Easy
Online Coding Test
Duration90 mins
Interview date2 Feb 2023
Coding problem2

3 Medium to Hard Questions were there, about binary search, 2nd was about DP and 3rd question was from Graph.
I was able to solve 2.5 out of 3 and got selected for next round.

1. Median of two sorted arrays

Hard
25m average time
65% success
0/120
Asked in companies
ArcesiumLinkedInApple

Given two sorted arrays 'a' and 'b' of size 'n' and 'm' respectively.


Find the median of the two sorted arrays.


Median is defined as the middle value of a sorted list of numbers. In case the length of list is even, median is the average of the two middle elements.


The expected time complexity is O(min(logn, logm)), where 'n' and 'm' are the sizes of arrays 'a' and 'b', respectively, and the expected space complexity is O(1).


Example:
Input: 'a' = [2, 4, 6] and 'b' = [1, 3, 5]

Output: 3.5

Explanation: The array after merging 'a' and 'b' will be { 1, 2, 3, 4, 5, 6 }. Here two medians are 3 and 4. So the median will be the average of 3 and 4, which is 3.5.
Problem approach

I solved it using Binary Search and It passed few test cases.

Try solving now

2. Dijkstra's shortest path

Moderate
25m average time
65% success
0/80
Asked in companies
Tata Consultancy Services (TCS)Deutsche BankPhone Pe

You have been given an undirected graph of ‘V’ vertices (labeled 0,1,..., V-1) and ‘E’ edges. Each edge connecting two nodes (‘X’,’Y’) will have a weight denoting the distance between node ‘X’ and node ‘Y’.

Your task is to find the shortest path distance from the source node, which is the node labeled as 0, to all vertices given in the graph.

Example:

Input:
4 5
0 1 5
0 2 8
1 2 9
1 3 2
2 3 6

alt text

In the given input, the number of vertices is 4, and the number of edges is 5.

In the input, following the number of vertices and edges, three numbers are given. The first number denotes node ‘X’, the second number denotes node ‘Y’ and the third number denotes the distance between node ‘X’ and ‘Y’.

As per the input, there is an edge between node 0 and node 1 and the distance between them is 5.

The vertices 0 and 2 have an edge between them and the distance between them is 8.
The vertices 1 and 2 have an edge between them and the distance between them is 9.
The vertices 1 and 3 have an edge between them and the distance between them is 2.
The vertices 2 and 3 have an edge between them and the distance between them is 6.

Note:

1. There are no self-loops(an edge connecting the vertex to itself) in the given graph.

2. There can be parallel edges i.e. two vertices can be directly connected by more than 1 edge.
Problem approach

Path solving with all path positive but some multidirectional also

Try solving now
02
Round
Medium
Video Call
Duration90 mins
Interview date8 Feb 2023
Coding problem1

I was given an API to which I have to call and fetch the data and on basis of that I have to write proper clean code and that was difficult for me because I haven't worked on that so It was very good and productive talk with him.

1. Design Question

Web API Call

Problem approach

Tip 1: Learn about Backend Development
Tip 2: Learn about REST APIs
Tip 3: Learn about writing clean code

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 the default value of int data type?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
790 views
0 comments
0 upvotes
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
3006 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
476 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
275 views
0 comments
0 upvotes