Filter interviews by
25 questions in 20 minutes
Detect loop in linked list
Use two pointers, one moving one step at a time and the other moving two steps at a time
If there is a loop, the two pointers will eventually meet
If any of the pointers reach the end of the list, there is no loop
To build API's ..... they want to know how much development i know...
Top trending discussions
I applied via Instahyre and was interviewed in Feb 2022. There were 2 interview rounds.
A hackerrank test was shared which had 2 ques to be solved in 60 min in Node.JS. The first one was a simple DS question related to arrays. The second ques was to write routes and controllers for a Node.JS Express app. The routes were GET /projects, GET /project/:id and GET /projects/active
package.json lists dependencies and package-lock.json ensures consistent installs.
package.json lists all the dependencies required for the project
package-lock.json ensures that the same versions of dependencies are installed across all environments
package.json is manually edited while package-lock.json is generated automatically
package-lock.json is used for reproducible builds
Function to count certain functions in the application
Create a dictionary to store the count of each function
Increment the count of the function each time it is called
Include a reset function to reset the count of all functions
Example: def count_functions(): function_count = {}
Example: def function1(): function_count['function1'] += 1
Example: def reset_count(): function_count.clear()
To ensure package versions are taken from package-lock.json, use npm ci instead of npm install.
npm ci installs packages based on package-lock.json
npm install may update package versions in package.json
Always commit package-lock.json to version control
Creating an object with a function inside it.
Create an object using object literal notation
Define a function inside the object using function expression or declaration
Access the function using object.method() syntax
I applied via Recruitment Consulltant and was interviewed before Oct 2022. There were 4 interview rounds.
3 Leetcode medium question on advance DSA topics (Graph , Tree)
I applied via Naukri.com and was interviewed in Sep 2021. There were 2 interview rounds.
posted on 20 May 2024
I applied via Naukri.com and was interviewed in Nov 2023. There was 1 interview round.
Query param is used to pass parameters in the URL query string, while path param is used to define parameters in the URL path itself.
Query param is specified after the '?' in the URL, like '?param=value'
Path param is specified in the URL path itself, like '/{param}'
Query params are optional and can be used for filtering or sorting data
Path params are used to define variables in the URL path, like IDs or names
Arrays have fixed size, while ArrayLists can dynamically resize. ArrayLists are part of Java Collections framework.
Arrays have a fixed size, while ArrayLists can dynamically resize.
Arrays can hold primitive data types and objects, while ArrayLists can only hold objects.
Arrays use square brackets [] for declaration, while ArrayLists use angle brackets <>.
Arrays are faster than ArrayLists for accessing elements directly ...
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while interface cannot have any of these.
A class can extend only one abstract class, but can implement multiple interfaces.
Abstract classes are used to provide a common base for subclasses, while interfaces are used to define a contract for classes to ...
I applied via Recruitment Consulltant and was interviewed in Mar 2022. There were 4 interview rounds.
Hacker Renk test with coding problems, need to pass it
Object-oriented programming concepts that help in creating modular and reusable code.
Abstraction - hiding implementation details
Encapsulation - binding data and functions together
Inheritance - creating new classes from existing ones
Polymorphism - using a single interface to represent multiple types
Composition - combining objects to create more complex ones
Object-oriented programming concepts and reusable solutions for common problems.
Encapsulation, inheritance, and polymorphism are key OOP concepts.
Design patterns provide reusable solutions for common programming problems.
Examples of design patterns include Singleton, Factory, and Observer.
Understanding OOP and design patterns can lead to more efficient and maintainable code.
posted on 28 Jul 2021
I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.
Designing a system for IoT machines involves creating a network that allows devices to communicate and share data.
Consider the communication protocols needed for devices to connect and exchange data
Implement security measures to protect data and prevent unauthorized access
Design a scalable architecture to handle a large number of devices and data
Utilize cloud services for storage and processing of IoT data
Include edge ...
Linked list implementation
Senior Executive
4
salaries
| ₹2.5 L/yr - ₹3.8 L/yr |
Software Engineer
3
salaries
| ₹3 L/yr - ₹6.5 L/yr |
Assistant Manager
3
salaries
| ₹3.7 L/yr - ₹5.5 L/yr |
Operations Executive
3
salaries
| ₹2.2 L/yr - ₹3.5 L/yr |
General Manager Finance
3
salaries
| ₹14 L/yr - ₹23 L/yr |
Bajaj Finserv
Wells Fargo
JPMorgan Chase & Co.
HSBC Group