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

Full Stack Engineer

Cvent
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey in Feb 2023. Firstly I solved approx. 50-60 questions to brush up on my programming syntax and warmup. then I start coding on different platforms. I picked each data structure topic and started solving questions for the same from easy to medium level. Firstly, I picked LinkedList data structures and coded approx. 40 questions for the same and then I picked Hashing, Stack, Queue, and Trees. Graphs I solved very limited questions (only BFS, DFS, and topological sort-based questions). Dynamic programming I solved approx. again 20-25 questions basically these are the generic ones only like LCS, Knapsack, etc. My approach for solving the question was to spend around 10-15 mins to first try building the solution. If I was not able to build the solution, then I used to refer to some posts or YouTube to understand the same. after that, I kept this question on my to-do list then the next or next-to-next day, I used to code by myself the approach I watched on post/YouTube.
Application story
I got this opportunity through InstaHyre platform. I prepare moderate data structures like a linked lists, trees, graphs, and arrays.
Preparation
Duration: 4 months
Topics: Data structure and algorithm ,DBMS ,OOPS and Web Development
Tip
Tip

Tip 1 : Be consistent in problem solving and solve as many problems you can.

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

Tip 2 : Prepare one coding language in which you are more comfortable with.
Tip 3 : Practice daily.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration60
Interview date12 Aug 2023
Coding problem1

1. Longest Path in Tree

Moderate
25m average time
70% success
0/80
Asked in companies
AmazonCvent

You are given an undirected tree. Your task is to find the longest path in the tree.

The longest path in a tree is defined as the maximum number of edges between any two nodes. You are given a 2-dimensional array ‘Edges’ in which ‘Edges[i][0]’ and ‘Edges[i][1]’ contains an edge.

For Example:
In the example below, the longest path is between nodes 1 and 3. The length of the path is 3 since the number of edges between node 1 and node 3 is 3. Hence, the answer is 3.

altImage

Try solving now
02
Round
Medium
Face to Face
Duration60
Interview date19 Aug 2023
Coding problem2

1. Delete Node In BST

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

You have been given a Binary Search Tree of integers with ‘N’ nodes. You are also given data of a node of this tree. Your task is to delete the given node from the BST.


A binary search tree (BST) is a binary tree data structure that has the following properties:

• The left subtree of a node contains only nodes with data less than the node’s data.

• The right subtree of a node contains only nodes with data greater than the node’s data.

• Both the left and right subtrees must also be binary search trees.
Example:
For the given BST, if we want to delete the node with data 5 :

Input

The modified BST will be:

Ouput

Please notice that another valid answer is:

Output

Note :

1. The node which we want to delete will always be present in the given tree.

2. If after deletion the tree becomes empty, print -1.
Try solving now

2. Flatten The Multi-Level Linked List

Moderate
10m average time
80% success
0/80
Asked in companies
AmazonGoldman SachsMicrosoft

You are given a multi-level linked list of 'N' nodes, each node has a next and child pointer which may or may not point to a separate node. Flatten the multi-level linked list into a singly linked list. You need to return the head of the updated linked list.

Example:

Sample Multi-Level

Flatten :

All the different rows are merged into a single row.
Try solving now
03
Round
Hard
Online Coding Interview
Duration50
Interview date22 Aug 2023
Coding problem1

1. Word Break

Moderate
15m average time
85% success
0/80
Asked in companies
Morgan StanleyMakeMyTripIBM

You are given a list of “N” strings A. Your task is to check whether you can form a given target string using a combination of one or more strings of A.

Note :
You can use any string of A multiple times.
Examples :
A =[“coding”, ”ninjas”, “is”, “awesome”]  target = “codingninjas”
Ans = true as we use “coding” and “ninjas” to form “codingninjas”
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

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 10 problems
Interviewed by Cvent
1366 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Cvent
1196 views
0 comments
0 upvotes
company logo
SDE - 2
5 rounds | 5 problems
Interviewed by Cvent
1310 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by Cvent
1233 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Full Stack Engineer
4 rounds | 11 problems
Interviewed by Sprinklr
1320 views
0 comments
0 upvotes