i
Netcracker
Technology
Filter interviews by
STL MAPS are associative containers that store elements formed by a combination of a key value and a mapped value.
STL MAPS are implemented as red-black trees for efficient searching, insertion, and deletion.
Elements in a map are always sorted based on the key value.
Example: std::map<int, string> myMap; myMap[1] = 'one';
Netcracker is a leading provider of BSS, OSS, and SDN/NFV solutions for service providers around the world.
Netcracker offers comprehensive solutions for business support systems (BSS), operations support systems (OSS), and software-defined networking (SDN) / network functions virtualization (NFV).
Netcracker has a strong track record of working with major service providers globally, including telecommunications com...
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Polymorphism allows for flexibility and reusability in code.
It enables a single interface to be used for different data types or classes.
Examples include method overriding in inheritance and method overloading within a class.
Memory leaks occur when a program fails to release memory it no longer needs, leading to inefficient memory usage.
Memory leaks can occur when a program dynamically allocates memory but forgets to deallocate it.
Common causes of memory leaks include not freeing memory after use, using incorrect deallocation functions, and circular references.
Memory leaks can lead to performance issues, crashes, and system instabilit...
A double linked list allows traversal in both directions, enhancing flexibility in data manipulation.
A double linked list consists of nodes, each containing data and two pointers (next and previous).
Example of a node structure in C++: struct Node { int data; Node* next; Node* prev; };
Insertion can be done at the beginning, end, or any specific position by adjusting pointers.
Example of insertion at the beginning: n...
Encapsulation, Inheritance, Polymorphism, Abstraction in one code
Create a class with private variables and public methods to demonstrate encapsulation
Create a subclass that inherits from a parent class to demonstrate inheritance
Use method overloading or overriding to demonstrate polymorphism
Use abstract classes or interfaces to demonstrate abstraction
Comparable is an interface used for natural ordering of objects, while Comparator is an interface used for custom ordering of objects.
Comparable interface is used to define the natural ordering of objects in a class by implementing the compareTo() method.
Comparator interface is used to define custom ordering of objects in a class by implementing the compare() method.
Example: Comparable interface is used in classes...
Find the largest sum of contiguous subarray in a given array of integers using Kadane's algorithm.
Use Kadane's algorithm for an efficient O(n) solution.
Initialize two variables: max_sum and current_sum.
Iterate through the array, updating current_sum and max_sum.
Example: For array [-2,1,-3,4,-1,2,1,-5,4], max_sum is 6 (subarray [4,-1,2,1]).
If all numbers are negative, return the largest single element.
V table is a table of function pointers used in object-oriented programming, while V pointer is a pointer to the V table.
V table is a table of function pointers used for dynamic dispatch in object-oriented programming.
V pointer is a pointer to the V table, allowing objects to call the correct functions at runtime.
Example: In C++ virtual functions are implemented using V tables and V pointers.
Friend function is a function that is not a member of a class but has access to its private and protected members.
Friend functions are declared inside a class with the 'friend' keyword.
They can access private and protected members of the class.
They are not member functions of the class.
Example: class MyClass { private: int x; friend void myFriendFunction(MyClass obj); };
I appeared for an interview in Jan 2025.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Polymorphism allows for flexibility and reusability in code.
It enables a single interface to be used for different data types or classes.
Examples include method overriding in inheritance and method overloading within a class.
A double linked list allows traversal in both directions, enhancing flexibility in data manipulation.
A double linked list consists of nodes, each containing data and two pointers (next and previous).
Example of a node structure in C++: struct Node { int data; Node* next; Node* prev; };
Insertion can be done at the beginning, end, or any specific position by adjusting pointers.
Example of insertion at the beginning: newNod...
Scope resolution refers to the process of specifying which scope a particular variable or function belongs to in a programming language.
Scope resolution is typically denoted by the double colon (::) operator in languages like C++ and PHP.
It is used to access static members, constants, and overridden methods in a class.
Example: ClassName::staticMember
Example: Namespace::functionName
Template syntax allows for the creation of generic functions and classes in programming, enhancing code reusability and flexibility.
Templates are defined using the 'template' keyword in C++: 'template<typename T>' or 'template<class T>'.
Function templates allow you to create a function that can operate on different data types: 'template<typename T> T add(T a, T b) { return a + b; }'.
Class templates en...
V table is a table of function pointers used in object-oriented programming, while V pointer is a pointer to the V table.
V table is a table of function pointers used for dynamic dispatch in object-oriented programming.
V pointer is a pointer to the V table, allowing objects to call the correct functions at runtime.
Example: In C++ virtual functions are implemented using V tables and V pointers.
File handling classes are used in programming to read, write, and manipulate files.
File handling classes provide methods to open, read, write, and close files.
Examples include FileInputStream, FileOutputStream, FileReader, FileWriter in Java.
These classes help in managing file operations efficiently and securely.
Friend function is a function that is not a member of a class but has access to its private and protected members.
Friend functions are declared inside a class with the 'friend' keyword.
They can access private and protected members of the class.
They are not member functions of the class.
Example: class MyClass { private: int x; friend void myFriendFunction(MyClass obj); };
Coding test on hackerrank
Golang coding questions
Golang coding questiions
I applied via Company Website and was interviewed before Nov 2023. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2023. There were 4 interview rounds.
It was university recruitment so first step is basic aptitude easy-medium
Just be ready for almost 2 levels of GD as we had many students appearing for same role
To check if a linked list has a cycle, use Floyd's Tortoise and Hare algorithm.
Use two pointers, slow and fast, to traverse the linked list.
If there is a cycle, the fast pointer will eventually meet the slow pointer.
Example: 1->2->3->4->2 (cycle exists between 4 and 2)
I appeared for an interview before Jul 2023.
Top trending discussions
based on 12 interview experiences
Difficulty level
Duration
based on 104 reviews
Rating in categories
Senior Software Engineer
1.1k
salaries
| ₹16.5 L/yr - ₹33 L/yr |
Software Engineer
892
salaries
| ₹9.9 L/yr - ₹18.9 L/yr |
QA Engineer
390
salaries
| ₹4.8 L/yr - ₹9.5 L/yr |
Business Analyst
371
salaries
| ₹14.4 L/yr - ₹31 L/yr |
Technical Lead
356
salaries
| ₹23.7 L/yr - ₹42 L/yr |
ITC Infotech
Xoriant
CitiusTech
HTC Global Services