Filter interviews by
Normal CAT level questions
I applied via Walk-in and was interviewed before Feb 2023. There were 2 interview rounds.
I applied via Recruitment Consultant and was interviewed before May 2017. There were 5 interview rounds.
Top trending discussions
posted on 31 Jan 2025
I was interviewed in Dec 2024.
Platform: Coderbyte Test. The process is similar to the technical round, except that in the last bash script question, instead of printing the last character, print the third last character of each line.
I was interviewed in Jan 2025.
Semantic tags in HTML are specific tags that provide meaning to the content they enclose.
Semantic tags help search engines and screen readers understand the structure of a webpage.
Examples of semantic tags include <header>, <footer>, <nav>, <article>, <section>, <aside>, <main>, <figure>, <figcaption>.
Using semantic tags improves SEO and accessibility of a website.
Currying is a technique in functional programming where a function with multiple arguments is transformed into a sequence of nested functions, each taking a single argument.
Currying helps in creating reusable functions and partial application.
It allows you to create new functions by fixing some parameters of an existing function.
Example: const add = (a) => (b) => a + b; add(2)(3) will return 5.
Map is used to transform each element of an array, while Filter is used to select elements based on a condition.
Map returns a new array with the same length as the original array, but with each element transformed based on a provided function.
Filter returns a new array with only the elements that pass a provided condition function.
Example for Map: [1, 2, 3].map(num => num * 2) will result in [2, 4, 6].
Example for Fi...
Map creates a new array with the results of calling a provided function on every element, while forEach executes a provided function once for each array element.
Map returns a new array with the same length as the original array, while forEach does not return anything.
Map does not mutate the original array, while forEach can mutate the original array.
Map is more suitable for transforming data and creating a new array, w...
Authentication verifies the identity of a user, while authorization determines the user's access rights.
Authentication confirms the user's identity through credentials like username and password.
Authorization determines what actions the authenticated user is allowed to perform.
Authentication precedes authorization in the security process.
Example: Logging into a website (authentication) and then accessing specific pages
Local storage persists even after the browser is closed, while session storage is cleared when the browser is closed.
Local storage has no expiration date, while session storage expires when the browser is closed.
Local storage stores data with no limit, while session storage has a limit of around 5MB.
Local storage data is available across all windows/tabs for that domain, while session storage data is only available wit...
I was interviewed in Jan 2025.
I was interviewed in Dec 2024.
Custom stack with constant time access to minimum element
Use two stacks - one to store elements and another to store minimum values
When pushing an element, compare with top of min stack and push the smaller value
When popping an element, pop from both stacks
Access minimum element in O(1) time by peeking at top of min stack
To create an immutable class named Employee with fields for name and hobbies defined as List<String>, use private final fields and return new instances in getters.
Use private final fields for name and hobbies in the Employee class
Provide a constructor to initialize the fields
Return new instances or unmodifiable lists in the getters to ensure immutability
Add hashCode() and equals() methods to Employee class.
Override hashCode() method to generate a unique hash code for each Employee object.
Override equals() method to compare Employee objects based on their attributes.
Ensure that the attributes used in hashCode() and equals() methods are immutable.
Example: Add id, name, and department attributes to Employee class and override hashCode() and equals() methods based on thes
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance of the class within the class itself.
Provide a public static method to access the instance, creating it if necessary.
Ensure the constructor of the class is private to prevent instantiation from outside the class.
Use lazy initialization to create the instance only when needed.
Thread...
Ways to create a thread in Java include extending the Thread class, implementing the Runnable interface, and using Java 8's lambda expressions.
Extend the Thread class and override the run() method
Implement the Runnable interface and pass it to a Thread object
Use Java 8's lambda expressions with the Executor framework
SOLID principles are a set of five design principles in object-oriented programming to make software more maintainable, flexible, and scalable.
Single Responsibility Principle (SRP) - A class should have only one reason to change. Example: A class that handles user authentication should not also handle database operations.
Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modific...
OOP 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.
OOP focuses on creating objects that interact with each other to solve a problem.
Encapsulation is a key concept in OOP, where data is kept within an object and only accessible through its methods.
Inheritance allows objects to inherit attributes and methods from parent classes.
Po...
Threads communicate in Java through shared memory or message passing.
Threads can communicate through shared variables in memory.
Threads can communicate through synchronized methods or blocks.
Threads can communicate through wait(), notify(), and notifyAll() methods.
Threads can communicate through message passing using classes like BlockingQueue or ExecutorService.
Program to reverse a linked list
Create a new linked list to store the reversed elements
Traverse the original linked list and insert each node at the beginning of the new list
Update the head of the new list as the last node of the original list
String literals are constant strings defined in code, while the string pool is a memory area where unique string objects are stored.
String literals are created using double quotes, while string pool objects are created using the 'new' keyword.
String literals are stored in the string pool to conserve memory and improve performance.
String literals are automatically interned by the JVM, while string pool objects need to b
Program to print the 90-degree rotated view of a 2D array.
Iterate through each column in reverse order and print the corresponding row elements.
Repeat this process for all columns to get the rotated view of the 2D array.
posted on 12 Feb 2025
Based on the past assignments and questions on same platforms.
I was interviewed in Jan 2025.
First group discussion round and after that there will be Aptitude test . Very poor company they don't have PC's for the candidates to give test .They will say you go home and give test .
I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 3 interview rounds.
based on 3 interviews
Interview experience
based on 258 reviews
Rating in categories
Customer Service Executive
46
salaries
| ₹1.1 L/yr - ₹2.7 L/yr |
Software Engineer
38
salaries
| ₹1.8 L/yr - ₹5.5 L/yr |
Associate Project Lead
27
salaries
| ₹4.4 L/yr - ₹5.1 L/yr |
Senior Customer Service Executive
17
salaries
| ₹1.5 L/yr - ₹2.5 L/yr |
Senior Software Engineer
17
salaries
| ₹3.1 L/yr - ₹7.5 L/yr |
TCS
Infosys
Wipro
HCLTech