Filter interviews by
To find the middle of a linked list, use two pointers - one moving at double the speed of the other.
Initialize two pointers, slow and fast, both pointing to the head of the linked list.
Move the slow pointer by one node and the fast pointer by two nodes in each iteration.
When the fast pointer reaches the end of the list, the slow pointer will be at the middle node.
Smart pointers are objects that manage the memory of dynamically allocated objects in C++ to prevent memory leaks.
Smart pointers automatically delete the object they point to when they are no longer needed.
Examples include unique_ptr, shared_ptr, and weak_ptr in C++.
They help in preventing memory leaks and dangling pointers.
Smart pointers provide better memory management compared to raw pointers.
Virtual functions in C++ allow for dynamic polymorphism by enabling a function to be overridden in a derived class.
Virtual functions are used in C++ to achieve runtime polymorphism, where the function to be called is determined at runtime based on the object's type.
They are needed to enable a base class pointer to call a function that is overridden in a derived class.
Virtual functions help in achieving the Open/Cl...
Diamond Problem occurs in multiple inheritance when a class inherits from two classes that have a common base class.
Diamond Problem arises when a class inherits from two classes that have a common base class.
Ambiguity arises in accessing the common base class members.
To solve Diamond Problem, virtual inheritance is used to ensure only one copy of the common base class is inherited.
Constructors are special member functions in a class used to initialize objects. Copy constructors create a new object as a copy of an existing object.
Types of constructors: Default constructor, Parameterized constructor, Copy constructor, and Destructor
Types of copy constructors: Shallow copy constructor and Deep copy constructor
Shallow copy constructor copies the values of the members of one object to another ob...
The Travelling Salesman Problem is a classic optimization problem where a salesman needs to visit a set of cities exactly once and return to the starting city with the shortest possible route.
The goal is to find the shortest possible route that visits each city exactly once and returns to the starting city.
This problem is NP-hard, meaning there is no known efficient algorithm to solve it for large numbers of citie...
I applied via Company Website and was interviewed in Jul 2023. There were 2 interview rounds.
I was given 3 C++ code submission of DSA questions, but it had errors in syntax and logic. My task was to find as many errors as possible in the code and provide correct solution to the question. They asked me to provide video solution.
Constructors are special member functions in a class used to initialize objects. Copy constructors create a new object as a copy of an existing object.
Types of constructors: Default constructor, Parameterized constructor, Copy constructor, and Destructor
Types of copy constructors: Shallow copy constructor and Deep copy constructor
Shallow copy constructor copies the values of the members of one object to another object....
Smart pointers are objects that manage the memory of dynamically allocated objects in C++ to prevent memory leaks.
Smart pointers automatically delete the object they point to when they are no longer needed.
Examples include unique_ptr, shared_ptr, and weak_ptr in C++.
They help in preventing memory leaks and dangling pointers.
Smart pointers provide better memory management compared to raw pointers.
Diamond Problem occurs in multiple inheritance when a class inherits from two classes that have a common base class.
Diamond Problem arises when a class inherits from two classes that have a common base class.
Ambiguity arises in accessing the common base class members.
To solve Diamond Problem, virtual inheritance is used to ensure only one copy of the common base class is inherited.
Virtual functions in C++ allow for dynamic polymorphism by enabling a function to be overridden in a derived class.
Virtual functions are used in C++ to achieve runtime polymorphism, where the function to be called is determined at runtime based on the object's type.
They are needed to enable a base class pointer to call a function that is overridden in a derived class.
Virtual functions help in achieving the Open/Closed ...
To find the middle of a linked list, use two pointers - one moving at double the speed of the other.
Initialize two pointers, slow and fast, both pointing to the head of the linked list.
Move the slow pointer by one node and the fast pointer by two nodes in each iteration.
When the fast pointer reaches the end of the list, the slow pointer will be at the middle node.
The Travelling Salesman Problem is a classic optimization problem where a salesman needs to visit a set of cities exactly once and return to the starting city with the shortest possible route.
The goal is to find the shortest possible route that visits each city exactly once and returns to the starting city.
This problem is NP-hard, meaning there is no known efficient algorithm to solve it for large numbers of cities.
One...
I applied via Job Portal and was interviewed in Oct 2023. There were 2 interview rounds.
Selenium, java, Manual Testing
Top trending discussions
I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.
First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.
I applied via Naukri.com
I expect Amazon to foster innovation, provide growth opportunities, and maintain a customer-centric culture.
Opportunities for professional development, such as training programs and mentorship.
A collaborative work environment that encourages teamwork and idea sharing.
Access to cutting-edge technology and resources to drive innovation.
A strong focus on customer satisfaction, ensuring that every decision prioritizes the ...
I applied via Recruitment Consulltant and was interviewed before Jul 2021. There was 1 interview round.
Experienced professional with a strong educational background and clear career ambitions, eager to contribute to the company's success.
I have over 5 years of experience in project management, leading teams to successfully deliver complex projects on time.
I hold a Master's degree in Business Administration from XYZ University, where I specialized in strategic management.
My family has always emphasized the importance of ...
I applied via Naukri.com and was interviewed before Feb 2020. There were 3 interview rounds.
Workflow, trigger, reports, roles, profiles, permission set, and sharing rules are all important features in Salesforce.
Workflow is a series of automated steps that can be used to streamline business processes.
Triggers are used to execute code before or after a record is inserted, updated, or deleted.
Reports are used to display data in a visual format, such as a table or chart.
Roles are used to define the hierarchy of ...
I appeared for an interview before Jul 2020.
Yes, Infosys is listed on the Indian stock exchanges as well as on the NYSE.
Infosys is listed on the Bombay Stock Exchange (BSE) and National Stock Exchange of India (NSE)
It is also listed on the New York Stock Exchange (NYSE)
Infosys has a market capitalization of over $80 billion as of 2021
Interview questions for an Associate position cover various aspects like motivation, skills, and handling pressure.
1) Tmaus: This could refer to a specific term or acronym; clarify its meaning during the interview.
2) Leaving previous job: Focus on seeking new challenges or growth opportunities, not negative experiences.
3) Technical skills: Highlight relevant skills like data analysis, programming languages, or software...
based on 3 interview experiences
Difficulty level
Duration
HR Manager
4
salaries
| ₹10 L/yr - ₹11 L/yr |
Game Designer
4
salaries
| ₹4.8 L/yr - ₹4.8 L/yr |
AM Human Resource
4
salaries
| ₹5.2 L/yr - ₹10 L/yr |
Software Developer
3
salaries
| ₹3 L/yr - ₹10 L/yr |
TCS
Accenture
Wipro
Cognizant