Filter interviews by
Clear (1)
I was interviewed before Jun 2023.
Use Floyd's Tortoise and Hare algorithm to find a cycle in a linked list.
Initialize two pointers, slow and fast, at the head of the linked list.
Move slow pointer by one step and fast pointer by two steps until they meet.
If they meet, there is a cycle in the linked list.
Example: 1 -> 2 -> 3 -> 4 -> 2 (cycle at node 2)
Implemented a real-time chat feature with message encryption
Used WebSockets for real-time communication
Implemented end-to-end encryption using AES algorithm
Designed a user-friendly interface for sending and receiving messages
Top trending discussions
I was interviewed before Dec 2020.
Round duration - 60 minutes
Round difficulty - Easy
This was a technical round. The interviewer asked me some programming based questions and some questions on database management systems.
Given an array ARR
of size N
, your objective is to determine the sum of the largest and smallest elements within the array.
Can you achie...
Find the sum of the largest and smallest elements in an array with the least number of comparisons.
Iterate through the array to find the maximum and minimum elements.
Keep track of the maximum and minimum elements as you iterate.
After iterating, sum up the maximum and minimum elements.
To achieve the task with the least number of comparisons, compare elements in pairs.
Construct a binary tree from a given array called parent
where the parent-child relationship is determined by (PARENT[i], i), indicating that the parent of node ...
Construct a binary tree from a given parent array and perform level-order traversal.
Iterate through the parent array to create the binary tree using a queue data structure.
Keep track of the parent-child relationships and construct the tree accordingly.
Perform level-order traversal to print the nodes in the correct order.
Yes, a unique key can also be a primary key.
A primary key must be unique, but a unique key does not necessarily have to be the primary key.
A table can have multiple unique keys, but only one primary key.
Example: In a table of employees, the employee ID can be a unique key and also the primary key.
Normalized form is better for database design for data integrity and flexibility.
Normalized form reduces data redundancy and improves data integrity.
Normalized form allows for easier data updates and maintenance.
Denormalized form may be more efficient for read-heavy applications with complex queries.
Consider denormalization for performance optimization after thorough analysis.
Example: Normalized form for a customer and...
Round duration - 60 minutes
Round difficulty - Medium
The interviewer had good work experience. She was polite and calm. After brief introduction she straight jumped into my current projects and she covered my entire CV.
Round duration - 45 minutes
Round difficulty - Easy
This was a technical round involving questions on OOPS concepts and puzzles.
There are 204 squares on a chessboard.
The chessboard has 64 squares in total.
Each square can be divided into smaller squares, such as 1x1, 2x2, 3x3, etc.
The total number of squares can be calculated by adding the squares of all sizes together.
C++ is a high-level programming language known for its efficiency, flexibility, and performance.
C++ is an object-oriented language with features like classes, inheritance, and polymorphism.
It allows low-level memory manipulation through pointers.
C++ is used in developing system software, game engines, and high-performance applications.
Deep copy creates a new copy of an object with all nested objects also copied, while shallow copy creates a new copy of an object with references to nested objects.
Deep copy creates a new object and recursively copies all nested objects, resulting in a completely independent copy.
Shallow copy creates a new object but only copies references to nested objects, so changes in nested objects will reflect in both the origina...
Template classes are classes that can work with any data type. Assignment operator can be overloaded to behave differently for different data types.
Template classes allow for writing generic classes that can work with any data type.
Overloading the assignment operator allows for custom behavior based on the data type.
Example: template <class T> class MyClass { T data; public: MyClass& operator=(const T& ot...
Round duration - 30 minutes
Round difficulty - Easy
This was a 30 minute HR round. The interviewer asked me a number of questions to know more about me.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Naukri.com and was interviewed before Sep 2020. There were 3 interview rounds.
I applied via Job Fair and was interviewed before Mar 2022. There were 11 interview rounds.
Screening of profile based on prior experience
Develop the process for cyberdefense
Group discussion with Manager and VP
Explain the profile and develop the cases that you have proposed for clearing this interview
Discussion on assignments that has been solved till now
I was interviewed in Oct 2016.
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows for code reuse and promotes modularity.
The class that is being inherited from is called the superclass or base class.
The class that inherits from the superclass is called the subclass or derived class.
The subclass can access the public and protected members of the superclass.
Inhe...
Regular expressions in PHP are powerful tools for pattern matching and manipulating strings.
Regular expressions are defined using the preg_match() function in PHP.
They are used to search, replace, and validate strings based on specific patterns.
Regex patterns consist of a combination of characters and special symbols.
Modifiers can be added to the pattern to control the matching behavior.
Common regex functions in PHP in...
Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as the same type.
Polymorphism allows a single interface to be used for different types of objects.
It enables code reusability and flexibility in object-oriented programming.
For example, a parent class 'Animal' can have multiple child classes like 'Dog', 'Cat', and 'Bird'. They can all be treated as 'Anim...
I was interviewed in Dec 2016.
Sort the individual digits of a 10 digit number.
Convert the number to a string to access individual digits
Use a sorting algorithm to sort the digits
Convert the sorted digits back to a number
The code for finding the Lowest Common Ancestor (LCA) in a Binary Search Tree (BST).
Start from the root node and compare it with the given two nodes.
If both nodes are smaller than the current node, move to the left subtree.
If both nodes are greater than the current node, move to the right subtree.
If one node is smaller and the other is greater, then the current node is the LCA.
Continue this process until the LCA is fou
A DBMS for managing college faculty, professors, courses, and students.
The DBMS should have tables for faculty, professors, courses, and students.
Each table should have appropriate attributes to store relevant information.
Relationships can be established between tables using foreign keys.
Queries can be used to retrieve information about faculty, professors, courses, and students.
The DBMS can be used to track enrollment
I was actively involved in coding competitions, hackathons, and programming clubs during college.
Participated in coding competitions such as ACM ICPC and Codeforces
Attended hackathons to work on real-world projects and improve problem-solving skills
Joined programming clubs to collaborate with peers and learn new technologies
Yes, I believe in seeking help when stuck in a problem as it leads to faster resolution and learning.
I believe in collaborating with team members to brainstorm solutions
I am not afraid to ask for help from more experienced developers
I utilize online resources like Stack Overflow or documentation when needed
Teamwork is collaborating with others towards a common goal, utilizing each member's strengths and skills.
Collaborating with others towards a common goal
Utilizing each member's strengths and skills
Communicating effectively and openly
Respecting and valuing diverse perspectives
Sharing responsibilities and supporting each other
Celebrating successes as a team
When faced with an unsolvable problem, I break it down, research, seek help, experiment, and iterate until a solution is found.
Break down the problem into smaller, manageable parts
Research and gather information related to the problem
Seek help from colleagues, online communities, or experts
Experiment with different approaches or solutions
Iterate and refine the solution based on feedback and results
In 5 years, I see myself as a senior software developer leading a team of developers on innovative projects.
Leading a team of developers on innovative projects
Senior software developer role
Continuing to learn and grow in the field
I applied via Referral
Find the minimum and maximum values in an array in a single traversal.
Initialize min and max variables with the first element of the array
Iterate through the array and update min and max if a smaller or larger value is found
Return the min and max values
The maximum number of squares on a chessboard is 64.
The chessboard has 64 squares in total.
The number of squares on a chessboard can be calculated using the formula n^2, where n is the number of rows or columns.
In this case, n = 8 (8 rows and 8 columns), so the maximum number of squares is 8^2 = 64.
C++ is a programming language. Deep copy creates a new object and copies all values, while shallow copy creates a reference to the original object.
C++ is a general-purpose programming language
Deep copy creates a new object with its own copy of the data
Shallow copy creates a reference to the original object
Deep copy is safer but can be slower and consume more memory
Shallow copy is faster but can lead to unexpected behav
Pre initialization refers to the process of initializing variables or objects before they are used in a program.
Pre initialization helps avoid errors or unexpected behavior caused by using uninitialized variables.
It is a good practice to pre initialize variables with default values.
Pre initialization can be done using constructors, default values, or initialization blocks.
Example: int count = 0; initializes the variabl
Reverse a linked list with and without using Recursion
Iterative approach: Use three pointers to reverse the links between nodes
Recursive approach: Recursively reverse the rest of the list and then fix the links
Polymorphism refers to the ability of an object to take on many forms. The diamond problem occurs in multiple inheritance.
Polymorphism can be achieved through method overloading and method overriding.
Method overloading allows multiple methods with the same name but different parameters.
Method overriding occurs when a subclass provides a specific implementation of a method already defined in its superclass.
The diamond p...
The program should differentiate between integers and characters when using the assignment operator (=).
Check the data type of the variable before assigning a value.
Use conditional statements to perform different actions based on the data type.
For integers, assign the value directly. For characters, convert the character to its ASCII value and assign it.
Sort an array by moving all zeroes to the end.
Iterate through the array and move all non-zero elements to the front.
Count the number of zeroes encountered and append them at the end of the array.
Use two pointers to swap elements and maintain the order.
The number of VTables created in a class hierarchy depends on the number of virtual functions and the number of derived classes.
VTables are used in object-oriented programming languages to implement dynamic dispatch.
Each class with at least one virtual function has its own VTable.
Derived classes inherit the VTable of their base class and add their own entries for any additional virtual functions.
The total number of VTa...
List is preferred when frequent insertion and deletion is required. Vector is preferred when random access is required.
List is implemented as a doubly-linked list, allowing for efficient insertion and deletion at any position.
Vector is implemented as a dynamic array, allowing for efficient random access.
Use List when the number of elements is expected to change frequently and the order of elements matters less.
Use Vect...
The given string needs to be reversed and the words need to be rearranged.
Split the string into an array of words
Reverse the array
Join the array elements with a space in between
based on 2 interviews
Interview experience
based on 1 review
Rating in categories
Senior Recruitment Associate
221
salaries
| ₹0 L/yr - ₹0 L/yr |
Recruitment Associate
181
salaries
| ₹0 L/yr - ₹0 L/yr |
Recruitment Specialist
126
salaries
| ₹0 L/yr - ₹0 L/yr |
Payroll Specialist
94
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Consultant
72
salaries
| ₹0 L/yr - ₹0 L/yr |
Darwinbox
SAP
Ramco Systems
greytHR