Filter interviews by
I applied via Hirect and was interviewed in May 2022. There were 3 interview rounds.
Map and unordered map are implemented as associative containers in C++ STL library.
Map is implemented as a balanced binary search tree while unordered map is implemented as a hash table.
Map stores elements in a sorted order while unordered map does not guarantee any specific order.
Map has a logarithmic time complexity for insertion, deletion, and search operations while unordered map has an average constant time comple...
Virtual functions are functions that can be overridden in derived classes. Vtables are tables of function pointers used for dynamic dispatch.
Virtual functions allow for polymorphism and dynamic binding
Vtables are used to implement virtual functions
Method overriding is when a derived class provides its own implementation of a virtual function
Virtual functions are declared using the virtual keyword
Example: class Animal {...
Debugging C++ program with segmentation fault using GDB
Compile the program with -g flag to include debugging symbols
Run the program with GDB and set breakpoints at suspected functions
Use 'run' command to execute the program within GDB
Use 'backtrace' command to see the call stack when the segmentation fault occurs
Use 'print' command to inspect variables and memory addresses
Use 'core dump' command to generate a core dump
A singleton class is a class that can only have one instance created at a time.
Singleton classes are often used in situations where only one instance of a class is needed, such as for managing a database connection or a configuration file.
The singleton pattern is implemented by making the constructor of the class private and providing a static method that returns the single instance of the class.
Singleton classes can b...
A singleton class is a class that can only have one instance created throughout the lifetime of an application.
Create a private constructor to prevent external instantiation.
Create a private static instance of the class.
Create a public static method to access the instance.
Ensure thread safety by using synchronized keyword or static initializer.
Example: public class Singleton { private static Singleton instance = null; ...
Use C++ map or unordered_map to store key value pairs with same key
C++ map and unordered_map are associative containers that store elements in key value pairs
If the key is same for some entries, map will store only one entry while unordered_map can store multiple entries
Example: map
Example: unordered_map
To grep a value from a file with key=value format, use awk command with delimiter as '=' and search for the key.
Use awk command with delimiter as '=' to split the line into key and value
Search for the key in the key column and print the corresponding value column
Example: awk -F'=' '/key/ {print $2}' file.txt
I applied via Approached by Company and was interviewed before Sep 2021. There were 3 interview rounds.
Angular hooks are functions that allow developers to tap into the lifecycle of a component or directive.
Angular hooks are used to perform actions at specific points in the lifecycle of a component or directive
There are several types of hooks, including ngOnInit, ngOnChanges, and ngOnDestroy
ngOnInit is called once when the component is initialized
ngOnChanges is called whenever a data-bound input property changes
ngOnDest...
Explanation of directives, dependency injection, promise and observables, routing, interceptor, and communication between components.
Directives are markers on a DOM element that tell AngularJS to attach a specified behavior to that element.
Dependency Injection is a design pattern that allows a class to be injected with its dependencies rather than creating them itself.
Promises are objects that represent the eventual co...
I was asked to give amcat test as I had less than 3 years of experience.
I applied via Campus Placement and was interviewed in Jun 2019. There were 4 interview rounds.
Normalisation in RDBMS is the process of organizing data in a database to reduce redundancy and improve data integrity. Polymorphism is the ability of an object to take on multiple forms. Encapsulation is the bundling of data and methods that operate on the data into a single unit.
Normalisation in RDBMS involves breaking down a table into smaller tables and defining relationships between them to reduce redundancy.
Query...
Top trending discussions
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
I was interviewed in Mar 2021.
I applied via Naukri.com and was interviewed in Mar 2021. There were 5 interview rounds.
Some of the top questions asked at the Tcg Digital Solutions Software Developer interview -
based on 1 interview
Interview experience
based on 10 reviews
Rating in categories
Software Developer
104
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Developer
56
salaries
| ₹0 L/yr - ₹0 L/yr |
Consultant
48
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Consultant
37
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Manager
34
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech