i
Nexgile Technologies
Filter interviews by
Coding question on arrays and strings
Top trending discussions
I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.
Enums in TypeScript are a way to define a set of named constants. Shallow copy only copies the reference, while deep copy creates a new object. Virtual DOM is a lightweight copy of the actual DOM. Closures are functions that have access to their own scope and the scope of their containing function.
Enums in TypeScript are used to define a set of named constants. For example, enum Color { Red, Green, Blue }
Shallow copy c...
I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.
Create a CRUD app to render, edit, delete, and sort a list of objects in a table.
Create a React component to render a table with data from the array of objects.
Implement functions for editing and deleting objects from the list.
Add functionality to sort the list based on object properties.
Use state and props to manage data and re-render the table when changes occur.
rem, em, px are units of measurement in CSS. useEffect is a React hook for side effects. Hooks are used for stateful logic in functional components.
rem: relative to the font-size of the root element (html). Example: 1rem = 16px
em: relative to the font-size of the element. Example: 2em = 32px if the font-size of the element is 16px
px: fixed-size units. Example: font-size: 14px
useEffect: React hook used for side effects ...
I applied via campus placement at G L Bajaj Institute of Technology & Management, Greater Noida and was interviewed in Oct 2024. There were 3 interview rounds.
They asked some general Quantitative and logical questions and code snippets.
posted on 22 Jan 2025
1 hour online test ..
posted on 29 Nov 2024
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
We can easily pass the test cases
Interface in Java is a reference type, similar to a class, that can contain only constants, method signatures, default methods, static methods, and nested types.
Interfaces are used to define a contract for classes that implement them.
Classes can implement multiple interfaces in Java.
Interfaces cannot have instance fields, constructors, or non-static methods.
Example: interface Shape { void draw(); }
Example: class Circle...
Abstraction is a concept in object-oriented programming where only relevant data is shown to the user while hiding unnecessary details.
Abstraction helps in simplifying complex systems by only showing essential features.
It allows for creating abstract classes and interfaces in Java.
Example: In a car, the driver only needs to know how to drive it without understanding the internal workings of the engine.
Exceptions are unexpected events that disrupt the normal flow of a program. Exception handling is the process of dealing with these events.
Exceptions are objects that represent an abnormal condition or error in a program.
Exception handling allows developers to gracefully handle errors and prevent the program from crashing.
Java provides try-catch blocks for handling exceptions. The try block contains the code that may t...
Arrays are a collection of elements of the same data type, while Strings are a sequence of characters.
Arrays can store multiple values of the same data type, accessed by index.
Strings are immutable sequences of characters, can be manipulated using various methods.
Example: int[] numbers = {1, 2, 3}; String name = "John";
Code Snept question with 3-4 Reasoning question. Google form
Pen paper coding round. String , Array . Linkedlist , graph, questions
To find the nearest prime number, iterate from the given number in both directions until a prime number is found.
Start iterating from the given number in both directions to find the nearest prime number.
Check if a number is prime by dividing it by all numbers less than its square root.
Keep track of the closest prime number found during the iteration.
Find the second maximum number in an array of strings.
Convert the array of strings to an array of integers.
Sort the array in descending order.
Return the second element in the sorted array.
Advantages of HTTP include simplicity, flexibility, and compatibility with various platforms.
Simplicity: HTTP is easy to understand and implement, making it accessible for developers of all skill levels.
Flexibility: HTTP supports various types of data formats, allowing for seamless communication between different systems.
Compatibility: HTTP is widely supported across different platforms and devices, ensuring consistent...
posted on 30 Sep 2024
Life cycle methods are special methods in class components that allow developers to run code at specific points in the component's life cycle.
componentDidMount() is called after the component has been rendered to the DOM.
componentDidUpdate() is called after the component's state or props have been updated.
componentWillUnmount() is called before the component is removed from the DOM.
FlatList is optimized for rendering large lists efficiently by only rendering the items that are currently visible, while ScrollView renders all of its children at once.
FlatList is more performant for long lists as it only renders the items that are currently visible on the screen.
ScrollView renders all of its children at once, which can lead to performance issues with large datasets.
FlatList supports key extraction fo...
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
based on 1 interview
Interview experience
Software Developer
12
salaries
| ₹2 L/yr - ₹7.5 L/yr |
Associate Software Engineer
12
salaries
| ₹1.8 L/yr - ₹3.4 L/yr |
Software Engineer
7
salaries
| ₹2 L/yr - ₹2.7 L/yr |
Associate Software Developer
7
salaries
| ₹2.5 L/yr - ₹3 L/yr |
Automation Test Engineer
4
salaries
| ₹3 L/yr - ₹3 L/yr |
TCS
Infosys
Wipro
HCLTech