Filter interviews by
Convert string to integer in C++.
Use stoi() function to convert string to integer.
Include
stoi() function throws an exception if the string is not a valid integer.
Use stol() or stoll() for long integers.
Use atoi() for C-style strings.
A class for debit, credit and balance check functionalities
Create a class with member variables for balance
Add member functions for debit, credit and balance check
Ensure proper validation and error handling
Consider using exception handling for errors
Abstract design pattern is a way to define a blueprint for a group of objects with common characteristics.
It allows creating objects without specifying their concrete classes.
It promotes loose coupling between classes.
It is implemented using abstract classes and interfaces.
Example: Shape is an abstract class and Circle, Square, Triangle are its concrete subclasses.
Example: JDBC API uses abstract classes and interfaces ...
To add an external API to a project, you need to first obtain the API documentation and credentials.
Obtain API documentation and credentials
Integrate API into project using appropriate libraries or frameworks
Test API functionality and handle errors appropriately
I was interviewed in Oct 2021.
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round with questions on Core C concepts, OS mainly.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Naukri.com and was interviewed in Oct 2021. There were 3 interview rounds.
What people are saying about L&T Technology Services
posted on 3 Jan 2025
I applied via Referral and was interviewed in Dec 2024. There were 2 interview rounds.
Deep copy creates a new copy of an object with its own unique memory space, while shallow copy creates a new object that references the same memory locations as the original object.
Deep copy duplicates all nested objects, while shallow copy only duplicates the references to nested objects.
Deep copy ensures that changes to the copied object do not affect the original object, while shallow copy may lead to unintended sid...
Use a loop to swap characters of two strings without using strcpy function.
Create two arrays of characters to store the strings
Use a loop to iterate through each character of the strings and swap them
Ensure to handle cases where strings have different lengths
posted on 21 Dec 2024
I applied via Campus Placement
General aptitude, computer science fundamentals multiple-choice questions, and data structures and algorithms multiple-choice questions were asked.
Function to reverse a given string
Create an empty string to store the reversed string
Iterate through the input string in reverse order and append each character to the new string
Return the reversed string
Binary search function to find target value in sorted array
Define function that takes sorted array and target value as input
Initialize variables for start, end, and middle indices
Use while loop to iterate until start is less than or equal to end
Graduating with honors, winning a hackathon, volunteering in a developing country
Graduated with honors from university with a degree in Computer Science
Won first place in a hackathon competition by developing a unique and innovative software solution
Volunteered in a developing country to help build schools and provide education to underprivileged children
posted on 26 Nov 2024
Aptitude, core concepts and a code
I learned the importance of teamwork and collaboration from my college club.
Developed strong communication skills by working with diverse group of individuals
Learned how to delegate tasks effectively to achieve common goals
Gained experience in problem-solving and conflict resolution through group projects
I want to experience living in a different country and immersing myself in a new culture.
Traveling to a foreign country and learning about their customs and traditions
Trying new foods and experiencing different ways of life
Making friends with locals and exploring the local attractions
Relational DBMS stores data in tables with predefined relationships, while non-relational DBMS stores data in flexible, schema-less formats.
Relational DBMS uses structured query language (SQL) for querying data
Non-relational DBMS can store data in various formats like key-value pairs, document-based, graph databases
Relational DBMS ensures data integrity through normalization and constraints
Non-relational DBMS offers be...
Class is a blueprint for creating objects, abstract class cannot be instantiated and can have abstract methods, interface is a contract for classes to implement certain methods.
Class is a blueprint for creating objects with attributes and methods.
Abstract class cannot be instantiated and can have abstract methods that must be implemented by subclasses.
Interface is a contract for classes to implement certain methods, bu
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
Promises are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
Example: const myPromise = new Promise((resolve, reject) => { ... });
Box model in CSS refers to the way elements are rendered in a web page. CSS preprocessors like SASS or LESS help streamline CSS development.
Box model in CSS includes content, padding, border, and margin.
CSS preprocessors like SASS or LESS allow for variables, nesting, and mixins to be used in CSS.
Example: box-sizing: border-box; in CSS changes the box model to include padding and border in the element's total width and
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There were 2 interview rounds.
Using Java 8, reverse an array of strings
Use Arrays.stream() to convert the array to a stream
Use Collections.reverse() to reverse the stream
Use Collectors.toList() to convert the stream back to a list
Code a controller, service, entity, and repository classes for a software application.
Create a controller class to handle incoming requests and interact with the service layer.
Develop a service class to implement business logic and interact with the repository.
Define an entity class to represent data in the application.
Implement a repository class to handle database operations for the entity.
A comparator is a function that compares two objects to determine their ordering.
Used in sorting algorithms to determine the order of elements
Returns a negative value if the first object is less than the second, zero if they are equal, and a positive value if the first object is greater
Commonly used in Java with the Comparator interface
A reentrant lock is a synchronization primitive that allows a thread to re-enter a critical section it already holds.
Prevents deadlock by allowing a thread to acquire the lock multiple times
Each lock acquisition must be followed by a corresponding release
Commonly used in multi-threaded programming to protect shared resources
I was interviewed in Jan 2025.
Senior Engineer
5.9k
salaries
| ₹5 L/yr - ₹17 L/yr |
Engineer
4.6k
salaries
| ₹3 L/yr - ₹8.2 L/yr |
Technical Lead
2.1k
salaries
| ₹8.5 L/yr - ₹30 L/yr |
Project Lead
1.5k
salaries
| ₹6 L/yr - ₹23 L/yr |
Senior Software Engineer
1.4k
salaries
| ₹5.6 L/yr - ₹19 L/yr |
TCS
Infosys
Wipro
Tech Mahindra