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

SDE - Intern

Trilogy Innovations
upvote
share-icon
5 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Dynamic Programming, Graphs, Greedy, Sieve, Segment Tree, Two Pointers
Tip
Tip

Tip 1 : Practice consistently
Tip 2 : Solve variety of problems
Tip 3 : Focus on your communication skills

Application process
Where: Campus
Eligibility: None
Resume Tip
Resume tip

Tip 1 : Do not lie on your resume
Tip 2 : Have decent projects for discussion

Interview rounds

01
Round
Easy
Online Coding Interview
Duration120 Minutes
Interview date1 Jul 2021
Coding problem2

1. All Prime Numbers less than or equal to N

Moderate
10m average time
90% success
0/80
Asked in companies
OptumIBMAdobe

You are given a positive integer 'N'. Your task is to return all the prime numbers less than or equal to the 'N'.

Note:

1) A prime number is a number that has only two factors: 1 and the number itself.

2) 1 is not a prime number.
Try solving now

2. Euler Path

Hard
15m average time
85% success
0/120
Asked in companies
AmazonSprinklrTrilogy Innovations

You are given an undirected graph 'EDGE_LIST' of ‘N’ nodes and ‘M’ edges. Your task is to return any Euler path of the graph. If no Euler path exists then you need to return -1.

Note :
An Euler path is a path in a graph such that every edge must be visited exactly once. You can visit the same vertex multiple times. 
Try solving now
02
Round
Hard
Online Coding Interview
Duration15 Minutes
Interview date2 Jul 2021
Coding problem0

English, Logical Reasoing, Maths
Required 45+ out of 50

03
Round
Easy
Face to Face
Duration60 Minutes
Interview date5 Jun 2021
Coding problem2

1. Closest Sum

Moderate
30m average time
70% success
0/80
Asked in companies
AmazonMicrosoftAcko

Given an array 'ARR'' of 'N' integers and an integer 'target', your task is to find three integers in 'ARR' such that the sum is closest to the target.

Note
In the case of two closest sums, print the smallest sum.
Try solving now

2. Based on modified djikstra

Moderate
25m average time
65% success
0/80
Asked in companies
PayPalAmazonPhonePe

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.
Try solving now
04
Round
Easy
Face to Face
Duration60 Minutes
Interview date9 Jun 2021
Coding problem0

Was given an open-ended problem, and had to provide a solution for it. The problem was about shifting some parcels to a warehouse without human intervention. Focus was a lot on clear communication.

05
Round
Easy
Online Coding Interview
Duration15 minutes
Interview date12 Jun 2021
Coding problem0

It was an online MCQ with 50 Questions on DBMS, OOPS, Output and aptitude questions.
cutoff of 45 out of 50

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
SDE - Intern
4 rounds | 5 problems
Interviewed by Trilogy Innovations
3990 views
0 comments
0 upvotes
SDE - Intern
2 rounds | 6 problems
Interviewed by Trilogy Innovations
0 views
0 comments
0 upvotes
SDE - Intern
5 rounds | 3 problems
Interviewed by Trilogy Innovations
4964 views
0 comments
0 upvotes
SDE - Intern
4 rounds | 6 problems
Interviewed by Trilogy Innovations
1998 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