Filter interviews by
Code snippet to find 3rd largest salary
Sort the salaries in descending order
Skip duplicates while iterating through the sorted salaries
Return the third unique salary
OOPs concepts refer to Object-Oriented Programming principles such as inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation det
Types of threads include user threads and kernel threads.
User threads are managed by user-level threads library and are created by the application.
Kernel threads are managed by the operating system and are created and managed by the kernel.
Examples include POSIX threads (pthread) for user threads and Windows threads for kernel threads.
I applied via Referral
Nous Infosystems interview questions for designations
posted on 11 Nov 2024
Closures are functions that have access to variables from their containing scope even after the scope has closed.
Closures allow functions to access variables from their outer function even after the outer function has finished executing.
They are commonly used in event handlers, callbacks, and asynchronous programming.
Closures help in maintaining state in functional programming.
Virtual DOM is a lightweight copy of the actual DOM used for efficient updates in web development.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing actual DOM manipulations.
When changes are made to the virtual DOM, a comparison is done with the actual DOM to determine the minimal updates needed.
This approach reduces the number of costly DOM operations, resulting in faster rende
Data types in JavaScript include number, string, boolean, object, function, undefined, and null.
Number - represents numeric data, e.g. 10, 3.14
String - represents textual data, e.g. 'hello', '123'
Boolean - represents true or false values, e.g. true, false
Object - represents complex data structures, e.g. { key: 'value' }
Function - represents executable code, e.g. function() { }
Undefined - represents a variable that has ...
React code for a simple counter
Create a functional component for the counter
Use useState hook to manage the count state
Render the count value and buttons to increment and decrement the count
posted on 27 Nov 2024
Aptitude test with aptitude based questions
Variable hoisting is a behavior in JavaScript where variable declarations are moved to the top of their scope during compilation.
Variable declarations are hoisted to the top of their function or global scope.
Only the declarations are hoisted, not the initializations.
This can lead to unexpected behavior if variables are accessed before they are declared.
Closures in JavaScript allow functions to access variables from an outer function even after the outer function has finished executing.
Closures are created whenever a function is defined within another function.
Inner functions have access to the outer function's variables even after the outer function has returned.
Closures are commonly used to create private variables and functions in JavaScript.
Example: function outer...
posted on 24 Jul 2024
To read an external text file, you can use file handling techniques in programming languages like Python or Java.
Use file handling functions like open(), read(), and close() in Python to read an external text file.
In Java, use classes like FileReader and BufferedReader to read text files.
Specify the file path and mode (read mode) when opening the file.
Read the contents of the file line by line or as a whole, depending ...
Java program to find occurrences of characters in a string
Create a HashMap to store characters and their counts
Iterate through the string and update the counts in the HashMap
Print the characters and their counts from the HashMap
posted on 12 Nov 2024
Coding test was on Java programs. Basically for loop programs.
based on 47 reviews
Rating in categories
Senior Software Engineer
476
salaries
| ₹8 L/yr - ₹31 L/yr |
Software Engineer
309
salaries
| ₹2.8 L/yr - ₹12 L/yr |
Senior Test Engineer
275
salaries
| ₹5.8 L/yr - ₹25 L/yr |
Test Engineer
127
salaries
| ₹2.4 L/yr - ₹12.4 L/yr |
Technical Lead
99
salaries
| ₹13.2 L/yr - ₹37 L/yr |
TCS
Wipro
Infosys
HCLTech