Filter interviews by
Hashmap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
Hashmap internally uses an array to store key-value pairs.
It uses a hash function to map keys to indices in the array.
Collision resolution techniques like chaining or open addressing are used to handle collisions.
Hashmap provides O(1) average time complexity for insertion, deletion, and lookup operatio...
The Two Sum Problem involves finding two numbers in an array that add up to a specific target sum.
Input: An array of integers and a target integer.
Output: Indices of the two numbers that add up to the target.
Example: For array [2, 7, 11, 15] and target 9, output is [0, 1] because 2 + 7 = 9.
Approach: Use a hash map to store numbers and their indices for O(n) time complexity.
ETCD is a distributed key-value store used for shared configuration and service discovery in distributed systems.
ETCD is a consistent and highly-available key value store used by Kubernetes to store all of its data.
To upgrade ETCD, you can follow the official documentation provided by the ETCD project.
Before upgrading, make sure to backup the existing data to prevent any data loss.
Upgrade ETCD one version at a tim...
Control plan components include process flow, control points, and monitoring methods.
Process flow outlines the steps in the process and identifies critical control points.
Control points are specific points in the process where monitoring and control measures are applied.
Monitoring methods involve regular checks and measurements to ensure the process is within control limits.
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');
Write an SQL query to retrieve specific data from a database based on given conditions.
Use SELECT to specify columns: SELECT column1, column2 FROM table_name;
Use WHERE to filter results: SELECT * FROM table_name WHERE condition;
Use JOIN to combine tables: SELECT a.column1, b.column2 FROM table1 a JOIN table2 b ON a.id = b.id;
Use ORDER BY to sort results: SELECT * FROM table_name ORDER BY column_name ASC/DESC;
Use G...
final, finally, and finalize are keywords in Java with distinct purposes: final for constants, finally for exception handling, finalize for garbage collection.
final: Used to declare constants. Example: final int MAX_VALUE = 100;
finally: Block that executes after try-catch, regardless of exceptions. Example: try { ... } catch { ... } finally { ... }
finalize: Method called by the garbage collector before an object i...
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain both data and methods to manipulate that data.
It emphasizes concepts like encapsulation, inheritance, polymorphism, and abstraction.
Examples of OOP languages include Java, C++, and Python.
Using map in JavaScript to extract duplicate occurrence character count
Use the map function to iterate over the array of strings
Create an object to store the character counts
Increment the count for each character in the object
Filter the object to only include characters with count greater than 1
GS Lab is a software engineering company specializing in product development and digital transformation.
GS Lab is known for its expertise in software product development and digital transformation solutions.
They have a strong focus on innovation and use cutting-edge technologies to deliver high-quality software solutions.
GS Lab works with clients across various industries, including healthcare, finance, and techno...
Lifecycle hooks in Angular are methods that allow you to tap into the lifecycle of a component, directive, or service.
Lifecycle hooks include ngOnInit, ngOnChanges, ngDoCheck, ngOnDestroy, etc.
ngOnInit is used for initialization logic, ngOnChanges is used for reacting to input changes, ngOnDestroy is used for cleanup tasks, etc.
Lifecycle hooks allow you to perform actions at specific points in the component's lifecycle...
I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.
ETCD is a distributed key-value store used for shared configuration and service discovery in distributed systems.
ETCD is a consistent and highly-available key value store used by Kubernetes to store all of its data.
To upgrade ETCD, you can follow the official documentation provided by the ETCD project.
Before upgrading, make sure to backup the existing data to prevent any data loss.
Upgrade ETCD one version at a time, te...
Control plan components include process flow, control points, and monitoring methods.
Process flow outlines the steps in the process and identifies critical control points.
Control points are specific points in the process where monitoring and control measures are applied.
Monitoring methods involve regular checks and measurements to ensure the process is within control limits.
I applied via Campus Placement
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
Write an SQL query to retrieve specific data from a database based on given conditions.
Use SELECT to specify columns: SELECT column1, column2 FROM table_name;
Use WHERE to filter results: SELECT * FROM table_name WHERE condition;
Use JOIN to combine tables: SELECT a.column1, b.column2 FROM table1 a JOIN table2 b ON a.id = b.id;
Use ORDER BY to sort results: SELECT * FROM table_name ORDER BY column_name ASC/DESC;
Use GROUP ...
The Two Sum Problem involves finding two numbers in an array that add up to a specific target sum.
Input: An array of integers and a target integer.
Output: Indices of the two numbers that add up to the target.
Example: For array [2, 7, 11, 15] and target 9, output is [0, 1] because 2 + 7 = 9.
Approach: Use a hash map to store numbers and their indices for O(n) time complexity.
Hashmap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
Hashmap internally uses an array to store key-value pairs.
It uses a hash function to map keys to indices in the array.
Collision resolution techniques like chaining or open addressing are used to handle collisions.
Hashmap provides O(1) average time complexity for insertion, deletion, and lookup operations.
I applied via Naukri.com and was interviewed in Dec 2023. There were 3 interview rounds.
GS Lab is a software engineering company specializing in product development and digital transformation.
GS Lab is known for its expertise in software product development and digital transformation solutions.
They have a strong focus on innovation and use cutting-edge technologies to deliver high-quality software solutions.
GS Lab works with clients across various industries, including healthcare, finance, and technology.
...
1 hr test with profit loss,work questions
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
Top trending discussions
Some of the top questions asked at the GS Lab interview -
The duration of GS Lab interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 42 interview experiences
Difficulty level
Duration
based on 432 reviews
Rating in categories
Senior Software Engineer
790
salaries
| ₹9 L/yr - ₹32 L/yr |
Software Engineer
757
salaries
| ₹3 L/yr - ₹16.6 L/yr |
Lead Software Engineer
250
salaries
| ₹13.1 L/yr - ₹38.5 L/yr |
Software Developer
120
salaries
| ₹4 L/yr - ₹13.6 L/yr |
Softwaretest Engineer
99
salaries
| ₹3.5 L/yr - ₹9.8 L/yr |
One Network Enterprises
ITC Infotech
CMS IT Services
KocharTech