CodeVita interview questions

535 questions from 87 candidate reports · 2017 to 2024

Online test → Technical → HR·100% entry level

CS fundamentals

Showing 40 of 467 reported in this area

What are the differences between Java and C?
asked 4×easyPractice this →
What are the differences between C and Python?
asked 3×easyPractice this →
What is the difference between range and xrange in Python?
asked 3×easyPractice this →
What is a friend function in C++?
asked 2×mediumPractice this →
What is Monkey Patching in Python?
asked 2×mediumPractice this →
Explain Hadoop and its core components.
asked 2×mediumPractice this →
How do you measure the execution time of a program in C and Python?
asked 2×mediumPractice this →
Define Internet of Things (IoT).
asked 2×easyPractice this →
How is Python different from Java?
asked 2×easyPractice this →
What is a lambda function in Python?
asked 2×easyPractice this →
Explain different types of joins in DBMS.
asked 2×easyPractice this →
What is Object Oriented Programming (OOP)?
asked 2×easyPractice this →
What is the difference between TCP and UDP?
asked 2×easyPractice this →
Explain polymorphism in object-oriented programming.
asked 2×easyPractice this →
Explain encapsulation in object-oriented programming.
asked 2×easyPractice this →
Which data types are available in Python but not in C?
asked 2×easyPractice this →
How will you print your name in C without using a semicolon?
asked 2×easyPractice this →
What is the difference between a compiler and an interpreter?
asked 2×easyPractice this →
What is the difference between arrays in C and lists in Python?
asked 2×easyPractice this →
What is the difference between an abstract class and an interface?
asked 2×easyPractice this →
What is the difference between Artificial Intelligence and Machine Learning?
asked 2×easyPractice this →
Explain heap memory in Python.
asked oncemediumPractice this →
How is memory managed in Python?
asked oncemediumPractice this →
What AWS services have you used?
asked oncemediumPractice this →
Explain Object Parsing in Python.
asked oncemediumPractice this →
How can you make garbage in Java?
asked oncemediumPractice this →
What is an Adapter Class in Java?
asked oncemediumPractice this →
What is the direct access method?
asked oncemediumPractice this →
Explain the concept of VPC in AWS.
asked oncemediumPractice this →
Explain Garbage Collection in Java.
asked oncemediumPractice this →
What are self-referential pointers?
asked oncemediumPractice this →
Explain memory management in Python.
asked oncemediumPractice this →
How is MongoDB different from MySQL?
asked oncemediumPractice this →
What is the volatile keyword in C++?
asked oncemediumPractice this →
Explain database triggers and cursors.
asked oncemediumPractice this →
Write an SQL query using an INNER JOIN.
asked oncemediumPractice this →
Differentiate between 1NF, 2NF, and 3NF.
asked oncemediumPractice this →
Explain the Collection Framework in Java.
asked oncemediumPractice this →
What are the four pillars of Business 4.0?
asked oncemediumPractice this →
What is pickling and unpickling in Python?
asked oncemediumPractice this →

DSA

Showing 8 of 142 reported in this area

Write a program to swap two numbers without using a third variable.
asked 3×easyPractice this →
How do you insert a node into a tree? Explain the logic.
asked 2×mediumPractice this →
Explain the approach to convert a given infix expression to postfix expression.
asked 2×mediumPractice this →
What is the difference between BFS and DFS?
asked 2×easyPractice this →
Write the logic to print all prime numbers within a given range.
asked 2×easyPractice this →
Explain how Heap Sort works.
asked oncemediumPractice this →
Write the Bellman–Ford algorithm.
asked oncemediumPractice this →
Write the algorithm for Shell Sort.
asked oncemediumPractice this →

Behavioural

Showing 3 of 51 reported in this area

Put forward your views about the caste system.
asked oncemediumPractice this →
How would you resolve a dispute among your teammates?
asked oncemediumPractice this →
Situational questions testing how you would handle tricky workplace scenarios.
asked oncemediumPractice this →

Puzzles

Showing 3 of 10 reported in this area

Given a square, divide it into 7 equal parts.
asked oncemediumPractice this →
Using a 3-liter and a 5-liter mug, how can you measure exactly 4 liters of water?
asked oncemediumPractice this →
You have a round birthday cake and need to cut it into 8 equal pieces using only 3 cuts. How will you do it?
asked oncemediumPractice this →

Aptitude

Showing 3 of 7 reported in this area

Find a general formula to sum all odd numbers that are divisible by 3.
asked oncemediumPractice this →
Solve a basic resistance-based circuit to find current in different branches.
asked oncemediumPractice this →
Given a date in dd-mm-yyyy format on which an eclipse occurred, calculate the date when the next eclipse occurs and output it in yyyy-mm-dd format.
asked oncemediumPractice this →

System design

3 questions reported in this area

Design and implement a basic elevator system.
asked oncemediumPractice this →
Propose a new idea in the field of Machine Learning that has not been implemented yet.
asked oncemediumPractice this →
Basic system design discussion

Showing 60 of 535 questions. Ranked by how often the same question came back across reports.

Practise a CodeVita-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does CodeVita ask?

Candidate interview reports most often cover CS fundamentals (69%) and DSA (21%).

How many rounds does CodeVita interview have?

Candidate interview reports show an average of 2.8 rounds per experience, with a typical sequence of Online test → Technical → HR. Individual interview paths can vary.

Is the CodeVita interview hard?

Among questions with a reported difficulty, the mix is easy 65%, medium 33%, hard 2%.

Keep reading