i
Mantra
Labs
Filter interviews by
ES6 introduces new features and syntax improvements over ES5, enhancing JavaScript's capabilities and developer experience.
Arrow Functions: ES6 allows shorter syntax for function expressions. Example: const add = (a, b) => a + b;
Let and Const: ES6 introduces block-scoped variables. Example: let x = 10; const y = 20;
Template Literals: ES6 provides a way to embed expressions in strings. Example: const greeting = ...
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 t...
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
Design thinking is a problem-solving approach that focuses on understanding users' needs and creating innovative solutions.
Empathize with users to understand their needs and pain points
Define the problem and create a problem statement
Ideate and brainstorm potential solutions
Prototype and test the solutions with users
Iterate and refine the solution based on feedback
Repeat the process until a viable solution is reac...
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Types of polymorphism include compile-time (method overloading) and runtime (method overriding) polymorphism.
Example of compile-time polymorphism: function overloading in Java.
Example of runtime polymorphism: method overrid...
The question is asking to add strings, reverse a string, and work with list and tuple in an array of strings.
To add strings, concatenate them using the '+' operator.
To reverse a string, use string slicing with a step of -1.
To work with lists, use square brackets [] to define a list of elements.
To work with tuples, use parentheses () to define a tuple of elements.
I applied via Campus Placement 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,...
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Types of polymorphism include compile-time (method overloading) and runtime (method overriding) polymorphism.
Example of compile-time polymorphism: function overloading in Java.
Example of runtime polymorphism: method overriding i...
I applied via Recruitment Consulltant and was interviewed in Sep 2023. There were 3 interview rounds.
Very simple questions like reverse a string and patterns and prime number
The question is asking to add strings, reverse a string, and work with list and tuple in an array of strings.
To add strings, concatenate them using the '+' operator.
To reverse a string, use string slicing with a step of -1.
To work with lists, use square brackets [] to define a list of elements.
To work with tuples, use parentheses () to define a tuple of elements.
It was a 30 marks aptitude test
I applied via Approached by Company and was interviewed in Oct 2023. There was 1 interview round.
I appeared for an interview before May 2024, where I was asked the following questions.
ES6 introduces new features and syntax improvements over ES5, enhancing JavaScript's capabilities and developer experience.
Arrow Functions: ES6 allows shorter syntax for function expressions. Example: const add = (a, b) => a + b;
Let and Const: ES6 introduces block-scoped variables. Example: let x = 10; const y = 20;
Template Literals: ES6 provides a way to embed expressions in strings. Example: const greeting = `Hell...
Promises in JavaScript are objects that represent the eventual completion or failure of an asynchronous operation.
A Promise can be in one of three states: pending, fulfilled, or rejected.
You create a Promise using the 'new Promise' constructor: `let myPromise = new Promise((resolve, reject) => { /* ... */ });`
You handle the result of a Promise using '.then()' for success and '.catch()' for errors: `myPromise.then(re...
I applied via Job Portal and was interviewed before Oct 2023. There were 2 interview rounds.
Basics of react, redux, js output based questions
2 pointer approach, valid parenthesis, swap without extra variable, complexity analysis code improvement
Easy and objective type questions asked. The interviewer has good knowledge.
I applied via Naukri.com and was interviewed before Jun 2023. There were 3 interview rounds.
Sorting of an array,
I expect a salary that reflects my skills, experience, and the industry standards for this role.
Research industry standards: For example, Glassdoor or Payscale can provide insights into average salaries for similar roles.
Consider your experience level: If you have 5 years of experience, you might expect a higher salary than an entry-level candidate.
Factor in location: Salaries can vary significantly based on the cost o...
Top trending discussions
The duration of Mantra Labs interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 14 interview experiences
Difficulty level
Duration
based on 93 reviews
Rating in categories
2-4 Yrs
Not Disclosed
3-4 Yrs
Not Disclosed
Software Engineer
184
salaries
| ₹3.8 L/yr - ₹12 L/yr |
Senior Software Engineer
103
salaries
| ₹5.8 L/yr - ₹18.6 L/yr |
Technical Lead
32
salaries
| ₹8.5 L/yr - ₹22.5 L/yr |
Software Developer
30
salaries
| ₹5 L/yr - ₹12 L/yr |
UI/UX Designer
14
salaries
| ₹3 L/yr - ₹8.7 L/yr |
Maxgen Technologies
JoulestoWatts Business Solutions
Value Point Systems
F1 Info Solutions and Services