Filter interviews by
To delete an element in a linked list, we need to find the node before the node to be deleted and update its next pointer.
Find the node before the node to be deleted
Update the next pointer of the previous node to point to the node after the node to be deleted
Free the memory occupied by the node to be deleted
Program to find first letters in a sentence
Split the sentence into words
Get the first letter of each word
Store the first letters in an array
Program to check if a given string is a palindrome or not
Convert the string to lowercase to ignore case sensitivity
Use two pointers, one at the start and one at the end of the string
Compare the characters at both pointers and move them towards each other
If all characters match, it is a palindrome
Top trending discussions
I applied via LinkedIn and was interviewed in Jun 2024. There were 4 interview rounds.
posted on 9 Jul 2024
Basic OOP questions for python programming language
Abstraction is the concept of hiding complex implementation details and showing only the necessary information to the user.
Abstraction allows users to focus on what an object does instead of how it does it
It helps in reducing complexity and improving efficiency in software development
Example: In object-oriented programming, abstract classes and interfaces are used to achieve abstraction
SQL databases are relational databases with structured data, while NoSQL databases are non-relational databases with flexible, unstructured data.
SQL databases use structured query language for defining and manipulating data, while NoSQL databases use different query languages or APIs.
SQL databases are table-based, with a predefined schema, while NoSQL databases are document, key-value, wide-column, or graph-based.
SQL d...
Reverse a linked list by changing the direction of pointers
Start with three pointers: current, prev, and next
Iterate through the linked list, updating pointers to reverse the direction
Update the head of the linked list to the last node after reversing
Binary search algorithm efficiently finds the target value in a sorted array.
Start by defining the low and high indices of the array.
Calculate the mid index and compare the target value with the value at mid.
If target is less than mid value, update high to mid-1; if greater, update low to mid+1.
Repeat until target is found or low is greater than high.
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
MongoDB is preferred over SQL for its flexibility, scalability, and ease of use in handling unstructured data.
MongoDB is a NoSQL database, making it easier to work with unstructured data compared to SQL.
MongoDB is schema-less, allowing for more flexibility in data modeling and changes.
MongoDB is horizontally scalable, making it easier to handle large amounts of data and high traffic loads.
MongoDB's document-based data ...
Around 1 hour with 2 coding and few aptitude questions.
I was interviewed in Jul 2024.
Create an API using Notepad to check if a string is a palindrome or not.
posted on 20 Jul 2024
Senior Software Engineer
511
salaries
| ₹3.6 L/yr - ₹13.3 L/yr |
Software Engineer
290
salaries
| ₹2.2 L/yr - ₹8.5 L/yr |
Module Lead
147
salaries
| ₹7 L/yr - ₹20 L/yr |
Software Developer
43
salaries
| ₹2.5 L/yr - ₹10.3 L/yr |
Associate Software Engineer
41
salaries
| ₹4 L/yr - ₹4.2 L/yr |
TCS
Infosys
Wipro
HCLTech