i
Mantra Labs
Filter interviews by
I applied via campus placement at Narula Institute of Technology, Kolkata and was interviewed before Aug 2023. There were 3 interview rounds.
Basic aptitude like percentage profit loss
Intermediate question like array string
Use Java to remove spaces from a string
Use the replaceAll() method with regex to remove spaces
Example: String str = "Hello World"; str = str.replaceAll(" ", "");
Alternatively, you can use a loop to iterate through the string and remove spaces
Java is a statically typed language with a strong emphasis on object-oriented programming, while Python is dynamically typed and focuses on simplicity and readability.
Java is statically typed, meaning variables must be declared with a specific data type, while Python is dynamically typed and does not require explicit variable declarations.
Java is strongly typed, meaning variables are strictly bound to their data types,...
I applied via Referral and was interviewed before Jun 2020. There was 1 interview round.
Top trending discussions
posted on 17 Oct 2024
I applied via Walk-in
To implement a queue using a stack, use two stacks and simulate the queue operations.
Use two stacks, one for enqueue operation and one for dequeue operation.
For enqueue operation, simply push elements onto the stack used for enqueueing.
For dequeue operation, if the dequeue stack is empty, pop all elements from enqueue stack and push onto dequeue stack.
Then pop from the dequeue stack to simulate dequeue operation.
A linked list is a data structure consisting of nodes where each node points to the next node in the sequence.
Create a Node class with data and next pointer
Initialize a head pointer to null
Add nodes by updating next pointers
Traverse the list by following next pointers
I applied via Campus Placement and was interviewed in Jun 2024. There were 2 interview rounds.
It was ok. I was not able to solve all the questions.
To remove the last element from a linked list, iterate to the second last node and update its next pointer to null.
Iterate through the linked list to find the second last node
Update the next pointer of the second last node to null
Coding for international
Quantitative arithmetic,verbal reasoning,non-verbal reasoning,etc
posted on 31 Aug 2024
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Simple question on maths
OOPS (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPS focuses on creating objects that interact with each other to solve complex problems
Key principles include encapsulation, inheritance, polymorphism, and abstraction
Encapsulation ensures that the internal state of an object is hidden from the outside world
Inheritance allows a class to inherit...
I applied via Referral and was interviewed in Feb 2024. There were 2 interview rounds.
Aptitude test was easy but difficult
posted on 24 Jul 2024
I applied via Campus Placement and was interviewed in Jun 2024. There were 2 interview rounds.
In first round there were two test
1st is the personality test.
2nd is the aptitude test were they asked about 10 aptitude questions and around 40 coding based questions, some of them were mcq and rest were output based.
Contains 4 DSA based questions, 1 question was hard, and other 3 questions were of medium level.
posted on 19 Sep 2024
I applied via Job Portal
60mintues DSA level coding exam
based on 2 reviews
Rating in categories
Software Engineer
175
salaries
| ₹3 L/yr - ₹10 L/yr |
Senior Software Engineer
96
salaries
| ₹5.5 L/yr - ₹14 L/yr |
Technical Lead
34
salaries
| ₹8.5 L/yr - ₹22.5 L/yr |
Software Developer
31
salaries
| ₹4 L/yr - ₹9.6 L/yr |
UI/UX Designer
13
salaries
| ₹3 L/yr - ₹8.8 L/yr |
TCS
Infosys
Wipro
HCLTech