Filter interviews by
Clear (1)
I applied via Campus Placement and was interviewed in Jul 2021. There was 1 interview round.
Stack can be implemented using a singly linked list where each node points to the next node.
Create a Node class with data and next pointer
Create a Stack class with top pointer
Push operation: create a new node and make it the top node
Pop operation: remove the top node and make the next node the new top node
Peek operation: return the data of the top node
isEmpty operation: check if the top node is null
Implementing a linked list and its operations.
Create a Node class with data and next pointer
Create a LinkedList class with head pointer
Implement insert, delete, search, and print operations
Handle edge cases like empty list, inserting at beginning/end
Example: LinkedList ll = new LinkedList(); ll.insert(5); ll.print();
Top trending discussions
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I was interviewed in Oct 2020.
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
I applied via Walk-in and was interviewed in Mar 2021. There was 1 interview round.
I applied via Recruitment Consultant and was interviewed in Jul 2021. There were 3 interview rounds.
I applied via LinkedIn and was interviewed in Aug 2021. There was 1 interview round.
based on 4 reviews
Rating in categories
Software Engineer
1.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Engineer
639
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
548
salaries
| ₹0 L/yr - ₹0 L/yr |
Chief Engineer
377
salaries
| ₹0 L/yr - ₹0 L/yr |
Engineer
322
salaries
| ₹0 L/yr - ₹0 L/yr |
Microsoft Research
IBM Research
Intel
TCS