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

SDE - 1

Twilio
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
First, I got selected for a Tier 1 college, and from there, my journey in coding started. I did most of my coding in my final years, but I regret not starting earlier.
Application story
This is a campus opportunity. The company visited our college and administered an online assessment exam, and a few of us made it to the next round.
Why selected/rejected for the role?
I was rejected because I did not have any significant projects on my resume and couldn't answer all the questions.
Preparation
Duration: 4 months
Topics: Data Structures, Computer Network, DevOps, OOPs, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Complete 500 high-quality questions. 

Tip 2: Include some significant projects on your resume.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1: Include projects on your resume.

Tip 2: Avoid putting false information on your resume.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date19 Jan 2023
Coding problem3

1. Valid Parentheses

Easy
10m average time
80% success
0/40
Asked in companies
OracleAmerican ExpressPayPal

You're given a string 'S' consisting of "{", "}", "(", ")", "[" and "]" .
Return true if the given string 'S' is balanced, else return false.

 

For example:'S' = "{}()".
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').

 

Sample Input : [()]{}{[()()]()}

Sample Output :Balanced

 

Explanation Of the Sample Input :
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before '), '[' before ']'.
So the 'S' is Balanced.

Problem approach

Use stack

Try solving now

2. BFS in Graph

Easy
10m average time
90% success
0/40
Asked in companies
Morgan StanleySamsung R&D InstituteRubrik, Inc.

BFS Transversal in a graph.

Problem approach

Use queue to solve this

Try solving now

3. DFS Traversal

Moderate
35m average time
65% success
0/80
Asked in companies
SamsungIntuitGoldman Sachs

DFS Transversal of a graph

Problem approach

Use stack approach

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date19 Jan 2023
Coding problem2

1. Maximum Product Subarray

Moderate
25m average time
75% success
0/80
Asked in companies
InnovaccerAmazonMicrosoft

You are given an array “arr'' of integers. Your task is to find the contiguous subarray within the array which has the largest product of its elements. You have to report this maximum product.

An array c is a subarray of array d if c can be obtained from d by deletion of several elements from the beginning and several elements from the end.

For e.g.- The non-empty subarrays of an array [1,2,3] will be- [1],[2],[3],[1,2],[2,3],[1,2,3].

For Example:If arr = {-3,4,5}.
All the possible non-empty contiguous subarrays of “arr” are {-3}, {4}, {5}, {-3,4}, {4,5} and {-3,4,5}.
The product of these subarrays are -3, 4, 5, -12, 20 and -60 respectively.
The maximum product is 20. Hence, the answer is 20.

 

Problem approach

Use greedy approach

Try solving now

2. Detect Cycle in an Undirected Graph

Moderate
32m average time
65% success
0/80
Asked in companies
SamsungTwilio

Given an undirected graph of 'V' vertices and 'E' edges. Return true if the graph contains a cycle or not, else return false.

 

Example:Given N=3, M =2, and edges are (1, 2) and (2, 3), with nodes 1, 2, and 3.

 

We return false because the given graph does not have any cycle.

Problem approach

Simple DFS approach

Try solving now

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 - 1
2 rounds | 5 problems
Interviewed by Twilio
795 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Twilio
1185 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Twilio
813 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Twilio
484 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes