Filter interviews by
Clear (1)
Top trending discussions
I applied via Indeed and was interviewed in Jul 2024. There were 2 interview rounds.
Classes, oops, array, constructor
A copy constructor is a special type of constructor that creates a new object as a copy of an existing object.
Copy constructor should have a parameter of the same class type
It is used to create a new object by copying the values of an existing object
It is called when a new object is created from an existing object
A virtual function is a member function that is declared within a base class and is redefined by a derived class.
Declare a virtual function in the base class using the 'virtual' keyword.
Override the virtual function in the derived class using the 'override' keyword.
Use the base class pointer to call the virtual function, which will be resolved at runtime based on the actual object type.
Oops concept refers to Object-Oriented Programming principles and their implementation in software development.
Oops concepts include inheritance, polymorphism, encapsulation, and abstraction.
Inheritance allows a class to inherit properties and behaviors from another class.
Polymorphism allows objects to be treated as instances of their parent class.
Encapsulation hides the internal state of an object and only exposes nec...
Three coding online assessments - screening round.
Two to three coding questions based on dynamic programming.
I was interviewed before Feb 2024.
There were two coding questions; one was related to linked lists, and the other was linked to binary trees.
Developed a web application for tracking inventory and sales data
Used React for front-end development
Implemented RESTful APIs using Node.js and Express for back-end
Utilized MongoDB for database management
Integrated authentication and authorization features for secure access
Implemented data visualization using Chart.js
Reversing a linked list involves changing the direction of pointers to go from the end to the beginning.
Start by initializing three pointers: current, previous, and next.
Iterate through the linked list, updating the pointers to reverse the direction of the links.
Update the head of the linked list to point to the new first node, which was the original last node.
Program to find perfect squares between two numbers
Iterate through numbers between the given range
Check if the square root of the number is an integer
If yes, then it is a perfect square
Smart pointers in C++ are objects that act like pointers but provide automatic memory management.
Smart pointers help prevent memory leaks by automatically managing memory allocation and deallocation.
Examples include unique_ptr, shared_ptr, and weak_ptr.
unique_ptr is used for exclusive ownership, shared_ptr for shared ownership, and weak_ptr to prevent circular references.
Mutual exclusion is a concept in concurrent programming where only one thread can access a shared resource at a time.
Ensures that only one thread can access a critical section of code at a time
Prevents race conditions and data corruption
Commonly implemented using locks, semaphores, or mutexes
Example: Using a mutex to protect a shared variable in a multi-threaded application
Implementing multithreading involves creating and managing multiple threads to execute tasks concurrently.
Identify the tasks that can be executed concurrently
Create and manage multiple threads to execute these tasks simultaneously
Use synchronization techniques like locks and semaphores to prevent race conditions
Handle communication and coordination between threads
Consider thread safety and resource sharing issues
I applied via Referral and was interviewed before Nov 2023. There was 1 interview round.
Basic aptitude test, if you know basic maths you can easily crack it.
I applied via Approached by Company and was interviewed before Jul 2021. There were 7 interview rounds.
posted on 2 Mar 2023
I applied via Naukri.com and was interviewed before Mar 2022. There were 4 interview rounds.
MCQ based on programming, 2 programming problems
Copy constructor is a special constructor that creates a new object by copying an existing object.
It is used to initialize an object with another object of the same class.
It takes a reference to an object of the same class as an argument.
It creates a new object with the same values as the object passed as argument.
It is automatically called when a new object is created from an existing object.
Example: MyClass obj1; MyC
Shallow copy creates a new object with the same reference as the original, while deep copy creates a new object with a new reference.
Shallow copy only copies the top-level object, while deep copy copies all nested objects.
Shallow copy is faster and uses less memory, while deep copy is slower and uses more memory.
Examples of shallow copy include copying arrays and objects using the spread operator, while examples of dee...
Implementation of Merge Sort on an array
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Time complexity: O(n log n)
Space complexity: O(n)
Virtual functions are functions that can be overridden by derived classes.
Virtual functions are declared in a base class and can be overridden in derived classes.
They allow for polymorphism, where a derived class object can be treated as a base class object.
Virtual functions are called based on the actual object type, not the pointer or reference type.
They are declared using the virtual keyword in the base class and ca...
I am good at object-oriented programming, data structures, and algorithms in C++.
Strong understanding of object-oriented programming principles
Proficient in implementing data structures and algorithms in C++
Experience with memory management and pointers
Familiarity with C++ standard library and STL
Ability to optimize code for performance and efficiency
I am passionate about software development and this job aligns perfectly with my skills and interests.
I have a strong passion for software development and enjoy solving complex problems.
This job offers the opportunity to work on cutting-edge technologies and contribute to innovative projects.
I am excited about the company's mission and values, and believe in the positive impact software can have on society.
I am eager t...
I am committed to staying with the company for the long term and contributing to its success.
I am looking for a stable and challenging work environment.
I believe in the company's mission and values.
I am eager to grow and develop my skills within the company.
I am open to new opportunities and challenges that may arise.
I am committed to building strong relationships with my colleagues and contributing to a positive work
Polymorphism in C++ allows objects of different classes to be treated as objects of a common superclass.
Polymorphism is achieved through function overloading and virtual functions.
Function overloading allows multiple functions with the same name but different parameters.
Virtual functions are functions in a base class that are overridden in derived classes.
Example: Animal class with virtual function 'makeSound', Cat and
STL in C++ provides reusable algorithms and data structures for efficient programming.
STL includes containers like vector, list, map, algorithms like sort, find, and iterators.
Example: vector
STL saves time by providing pre-implemented solutions for common programming tasks.
Design patterns in C++ are reusable solutions to common problems in software design.
Design patterns help in creating flexible, maintainable, and scalable code.
Examples of design patterns in C++ include Singleton, Factory, Observer, and Strategy.
Each design pattern has a specific purpose and can be applied in different scenarios.
Understanding design patterns can improve code quality and efficiency in software developmen
based on 2 reviews
Rating in categories
Software Engineer
15
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
12
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Manager
11
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
7
salaries
| ₹0 L/yr - ₹0 L/yr |
Game Designer
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Dream11
Nazara Technologies
Octro
Moonfrog Labs