Filter interviews by
Implement find function for a string in C++.
Use the find() function from the string class in C++ to search for a substring within a string.
The find() function returns the position of the first occurrence of the substring, or string::npos if not found.
Example: string str = 'hello world'; int pos = str.find('world');
I have extensive experience with the MERN stack, focusing on building scalable web applications and RESTful APIs.
Proficient in MongoDB for database management, utilizing its document-oriented structure for flexibility.
Experienced with Express.js for building robust server-side applications and APIs.
Skilled in React.js for creating dynamic user interfaces, leveraging hooks and state management.
Utilized Node.js for ...
Sorting is arranging data in a specific order based on a criteria, while ordering is arranging data in ascending or descending order.
Sorting involves arranging data based on a specific criteria such as alphabetical order, numerical order, or date order.
Ordering involves arranging data in either ascending or descending order based on a default criteria such as alphabetical order or numerical order.
Sorting can be cu...
Hashtable is not thread-safe while ConcurrentHashmap is thread-safe.
Hashtable is a legacy class while ConcurrentHashmap is a modern class.
Hashtable uses synchronized methods while ConcurrentHashmap uses lock striping.
ConcurrentHashmap allows multiple threads to read and write concurrently.
Hashtable is slower than ConcurrentHashmap in multi-threaded environments.
Realtime example of OOPs is modeling a car as an object with properties and methods.
Create a Car class with properties like make, model, year, and methods like start, accelerate, brake.
Instantiate multiple Car objects with different properties and call their methods.
Demonstrate inheritance by creating a subclass ElectricCar with additional properties and methods.
TCP is a connection-oriented protocol while UDP is connectionless. TCP is used for reliable data transfer while UDP is used for real-time applications.
TCP provides reliable, ordered, and error-checked delivery of data while UDP does not guarantee any of these
TCP is used for applications that require high reliability and transmission speed, such as email, file transfer, and web browsing
UDP is used for real-time app...
Handshaking mechanism in TCP communication is a process of establishing and terminating a connection between two devices.
TCP uses a three-way handshake mechanism to establish a connection.
The three steps involved in the handshake are SYN, SYN-ACK, and ACK.
During the handshake, the devices exchange information about the initial sequence numbers, window sizes, and other parameters.
The handshake ensures that both dev...
Prototypes and functionality of socket, bind, listen, accept & connect
socket() - creates a new socket
bind() - assigns a local address to a socket
listen() - puts a socket in a passive mode
accept() - accepts a connection on a socket
connect() - initiates a connection on a socket
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.
Program find the duplicate value in string
shifting array program
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed before Dec 2023. There was 1 interview round.
I appeared for an interview before Jun 2024, where I was asked the following questions.
HTML5 is the latest version of HTML, offering new features and improved support for multimedia and web applications.
New semantic elements: HTML5 introduces elements like <article>, <section>, <header>, and <footer> for better document structure.
Multimedia support: HTML5 natively supports audio and video with <audio> and <video> tags, eliminating the need for plugins.
Canvas element: T...
To find the second largest element in an array, iterate through the elements while tracking the largest and second largest values.
Initialize two variables: 'largest' and 'secondLargest' to negative infinity.
Iterate through the array. For each element, check if it's greater than 'largest'.
If it is, update 'secondLargest' to 'largest' and then update 'largest' to the current element.
If the element is not greater than 'la...
I applied via Recruitment Consulltant and was interviewed before Aug 2023. There was 1 interview round.
I appeared for an interview before May 2023.
Implement find function for a string in C++.
Use the find() function from the string class in C++ to search for a substring within a string.
The find() function returns the position of the first occurrence of the substring, or string::npos if not found.
Example: string str = 'hello world'; int pos = str.find('world');
Realtime example of OOPs is modeling a car as an object with properties and methods.
Create a Car class with properties like make, model, year, and methods like start, accelerate, brake.
Instantiate multiple Car objects with different properties and call their methods.
Demonstrate inheritance by creating a subclass ElectricCar with additional properties and methods.
I applied via Recruitment Consulltant and was interviewed before Dec 2021. There were 5 interview rounds.
I have extensive experience with the MERN stack, focusing on building scalable web applications and RESTful APIs.
Proficient in MongoDB for database management, utilizing its document-oriented structure for flexibility.
Experienced with Express.js for building robust server-side applications and APIs.
Skilled in React.js for creating dynamic user interfaces, leveraging hooks and state management.
Utilized Node.js for serve...
I appeared for an interview in Jul 2021.
Top trending discussions
The duration of GS Lab Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 10 interview experiences
Difficulty level
Duration
based on 113 reviews
Rating in categories
Senior Software Engineer
791
salaries
| ₹15.7 L/yr - ₹28.2 L/yr |
Software Engineer
757
salaries
| ₹3 L/yr - ₹16.6 L/yr |
Lead Software Engineer
223
salaries
| ₹21.3 L/yr - ₹38.5 L/yr |
Software Developer
129
salaries
| ₹6 L/yr - ₹15 L/yr |
Softwaretest Engineer
99
salaries
| ₹3.5 L/yr - ₹9.8 L/yr |
One Network Enterprises
ITC Infotech
CMS IT Services
KocharTech