Add office photos
Cvent logo
Engaged Employer

Cvent

Verified
3.5
based on 474 Reviews
Video summary
Filter interviews by
Software Engineer
Clear (1)

Cvent Software Engineer Interview Questions and Answers

Updated 5 Feb 2024

Q1. Detect Cycle in Undirected Graph Problem Statement

You are provided with an undirected graph composed of 'N' vertices and 'M' edges, where vertices are labeled from 1 to 'N'.

Your task is to determine if there ...read more

Ans.

Detect cycle in an undirected graph by checking for a path that begins and ends at the same vertex.

  • Use Depth First Search (DFS) to traverse the graph and detect cycles.

  • Maintain a visited set to keep track of visited vertices and a parent pointer to avoid visiting the same vertex twice.

  • If a visited vertex is encountered that is not the parent of the current vertex, a cycle is detected.

  • Return 'Yes' if a cycle is found, 'No' otherwise.

Add your answer
right arrow

Q2. Implement Three Stacks Using a Single Array

You are given a sequence of queries for insertion and deletion operations on 3 separate stacks. Your task is to implement these three stacks using a single array whil...read more

Ans.

Implement three stacks using a single array and handle insertion and deletion operations efficiently.

  • Create an array to store elements for all three stacks and keep track of their respective top indices.

  • For each query, check the type of operation (push or pop) and perform the necessary action.

  • Handle cases where a pop operation is attempted on an empty stack by returning -1.

  • Ensure the array size does not exceed the total number of queries.

  • Example: For input '0 1 5', pop the to...read more

Add your answer
right arrow
Q3. What is the difference between compiled and interpreted languages?
Ans.

Compiled languages are translated directly into machine code before execution, while interpreted languages are translated line by line during execution.

  • Compiled languages are generally faster in execution as the entire code is translated before running (e.g. C, C++)

  • Interpreted languages are easier to debug and more flexible as they can be executed directly without needing a separate compilation step (e.g. Python, JavaScript)

  • Compiled languages produce standalone executable fil...read more

Add your answer
right arrow

Q4. Difference between Interpreted Language and compiled Language

Ans.

Interpreted languages are executed directly by the interpreter while compiled languages are first converted to machine code.

  • Interpreted languages are slower than compiled languages as they are executed line by line.

  • Compiled languages are faster as the code is already converted to machine code.

  • Interpreted languages are easier to debug as errors can be caught at runtime.

  • Compiled languages are harder to debug as errors can only be caught during compilation.

  • Examples of interprete...read more

Add your answer
right arrow
Discover Cvent interview dos and don'ts from real experiences

Q5. Implement 3 stacks using 1 array

Ans.

Implement 3 stacks using 1 array

  • Divide the array into 3 equal parts

  • Use pointers to keep track of top of each stack

  • Push and pop elements based on the pointer of the respective stack

Add your answer
right arrow

Q6. Detect cycle in a graph

Ans.

Detect cycle in a graph

  • Use Depth First Search (DFS) algorithm to traverse the graph

  • Maintain a visited set to keep track of visited nodes

  • If a node is visited again during DFS, then a cycle exists

  • If all nodes are visited and no cycle is found, then no cycle exists

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Cvent Software Engineer

based on 2 interviews
Interview experience
5.0
Excellent
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

Amdocs Logo
3.7
 • 27 Interview Questions
Deloitte Logo
3.8
 • 20 Interview Questions
RSA Logo
4.0
 • 14 Interview Questions
View all
Recently Viewed
INTERVIEWS
Microsoft Azure
No Interviews
LIST OF COMPANIES
Discover companies
Find best workplace
DESIGNATION
DESIGNATION
INTERVIEWS
Epsilon
No Interviews
INTERVIEWS
LEK Consulting
No Interviews
REVIEWS
Signicent Information Solutions
No Reviews
INTERVIEWS
NATIONAL INSTITUTE OF ELECTRONICS
No Interviews
INTERVIEWS
Epsilon
No Interviews
SALARIES
Damodar Valley Corporation
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter