Filter interviews by
I applied via Referral and was interviewed before May 2023. There were 2 interview rounds.
Test cases for login functionality
Verify valid username and password combination successfully logs in
Verify error message is displayed for invalid username
Verify error message is displayed for invalid password
Verify user is redirected to forgot password page when forgot password link is clicked
Implement DSA coding on LinkedIn list
Use data structures like linked lists to store and manipulate data
Implement common operations like insertion, deletion, and traversal on the linked list
Optimize the code for efficiency and readability
Handle edge cases and error scenarios
Test the code thoroughly to ensure correctness
DSA coding on strings involves solving problems related to manipulating and processing strings using data structures and algorithms.
Use data structures like arrays, hashmaps, and trees to efficiently solve string manipulation problems.
Common string manipulation techniques include reversing a string, checking for palindromes, and finding substrings.
Examples: Implement a function to reverse a string, find the longest com
I applied via Campus Placement
Question related to operating system and computer network
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
Use dynamic programming to find the longest palindromic substring in a given string.
Iterate through the string and expand around each character to find palindromes.
Store the length of the longest palindrome found so far.
Return the substring based on the start and end indices of the longest palindrome.
To serialize and deserialize a tree, use a recursive approach to traverse the tree and store the data in a suitable format.
Use pre-order traversal to serialize the tree by storing the node values in a list or string.
For deserialization, reconstruct the tree by recursively building nodes from the serialized data.
Consider using JSON or XML format for serialization to easily store and retrieve tree structure.
Use regex library to match given regex with string.
Use a regex library like re in Python to match the given regex with the string.
Check if the regex matches the string using the library functions.
Handle cases where the regex contains special characters like . and * appropriately.
Throttling is a technique used to control the rate of requests sent to a server.
Throttling helps prevent server overload by limiting the number of requests processed at a time.
Implementing a throttle function involves setting a maximum request rate and delaying excess requests.
Example: Implementing a throttle function in a web application to limit the number of API calls made to a third-party service.
Example: Throttlin...
Sort the squares of elements in a sorted array and return the sorted response.
Iterate through the array and square each element.
Store the squared values in a new array.
Sort the new array and return it.
A promise is a commitment to do something in the future, typically used for asynchronous operations in JavaScript.
Promises are used to handle asynchronous operations in JavaScript.
They represent a value that may be available now, in the future, or never.
Promises have three states: pending, fulfilled, or rejected.
Example: new Promise((resolve, reject) => { setTimeout(() => resolve('Done!'), 1000); });
Event loop is a mechanism that allows for asynchronous execution of code by managing the order of events in a single thread.
Event loop continuously checks the call stack for any functions that need to be executed, and processes them in a non-blocking manner.
Different types of queues in event loop include microtask queue (Promise callbacks), macrotask queue (setTimeout, setInterval callbacks), and animation frame queue
Virtual DOM is a lightweight copy of the actual DOM, used to improve performance by minimizing direct manipulation of the real DOM.
Virtual DOM is a concept used in frameworks like React to optimize rendering performance.
Changes are first made to the virtual DOM, which is then compared to the real DOM to identify the minimal updates needed.
This approach reduces the number of actual DOM manipulations, resulting in faster...
posted on 8 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
OOPS is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOPS focuses on the concept of classes and objects
Encapsulation: bundling data and methods that operate on the data within a single unit
Inheritance: allows a class to inherit properties and behavior from another class
Polymorphism: ability to present the same interface for diffe...
Comparable is an interface used for natural ordering, Comparator is an interface used for custom ordering. Abstract class can have method implementations, Interface cannot.
Comparable interface is used to define the natural ordering of objects. Example: String class implements Comparable interface for natural ordering based on alphabetical order.
Comparator interface is used to define custom ordering of objects. Example:...
Count occurrences of each character in a given string
Create an array to store the count of each character
Iterate through the string and increment the count of each character in the array
Return the array with counts for each character
Remove duplicates from an array of strings
Iterate through the array and store each element in a set to keep track of unique values
Create a new array with the unique values from the set
Data structure related question
To find the second highest integer in an array, sort the array in descending order and return the second element.
Sort the array in descending order
Return the second element in the sorted array
Handle edge cases like duplicates or small arrays
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
It included aptitude, technical and coding questions
Remote work preferred, open to occasional travel
Remote work preferred
Open to occasional travel
Flexible with location
posted on 9 Oct 2024
Manual testing is important for exploratory testing, usability testing, and ad-hoc testing.
Manual testing allows for exploratory testing where testers can explore the application and identify unexpected issues.
Usability testing, which involves real users interacting with the software, is best done manually to capture user experience.
Ad-hoc testing, where testers randomly test the application without predefined test cas...
Testing a web application for an online shopping platform
Testing the functionality of adding items to the cart and checking out
Testing the payment gateway integration for secure transactions
Testing the search functionality to ensure accurate results are displayed
Testing the responsiveness of the website on different devices and browsers
posted on 5 Oct 2024
Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can override or extend the functionality of the base class
Types of joins in MySQL include inner join, left join, right join, and full join.
Inner join: Returns rows when there is a match in both tables.
Left join: Returns all rows from the left table and the matched rows from the right table.
Right join: Returns all rows from the right table and the matched rows from the left table.
Full join: Returns rows when there is a match in one of the tables.
Use a centralized API gateway to manage and route requests to multiple APIs efficiently.
Implement a centralized API gateway to handle incoming requests and route them to the appropriate API based on the endpoint.
Utilize API management tools like Apigee, Kong, or AWS API Gateway to manage and monitor multiple APIs.
Consider implementing a caching layer to improve performance and reduce the number of requests to external
strstr function searches for a substring within a string and returns a pointer to the first occurrence of the substring.
Used in C programming language
Syntax: char *strstr(const char *haystack, const char *needle)
Example: char *str = strstr("hello world", "world")
posted on 27 Nov 2024
Karat Interview for next filtering the candidate
Design a classic Snake game based on Nokia phones.
Use a 2D array to represent the game board.
Implement logic for snake movement and growth.
Include collision detection with walls and itself.
Add food items for the snake to eat and grow.
Display the game on a grid-based interface.
based on 1 review
Rating in categories
Computer Scientist
436
salaries
| ₹21.2 L/yr - ₹70.7 L/yr |
Technical Consultant
283
salaries
| ₹11.4 L/yr - ₹27.5 L/yr |
Software Engineer
256
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Computer Scientist 2
226
salaries
| ₹28 L/yr - ₹101 L/yr |
Senior Technical Consultant
190
salaries
| ₹12.5 L/yr - ₹45 L/yr |
Salesforce
Oracle
Microsoft Corporation
Amazon