Filter interviews by
I was interviewed in May 2024.
1 hr java basic programs
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance allows a child class to override a method from its parent class, exhibiting polymorphic b
Encapsulation is the concept of bundling data and methods that operate on the data into a single unit.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
It allows for better control over the data by preventing external interference.
Encapsulation also promotes code reusability and modularity.
Example: In object-oriented programming, a class encapsulates data (attributes) and method
Design and code a REST API for a software developer interview.
Define the endpoints and HTTP methods for the API (e.g. GET /users, POST /users)
Implement authentication and authorization mechanisms (e.g. JWT tokens)
Use proper status codes for responses (e.g. 200 OK, 401 Unauthorized)
Include error handling and validation for input data
Document the API using tools like Swagger or OpenAPI
Calculate word frequency using Stream API and lambda expressions
Use Stream API to convert array of strings to stream
Use Collectors.groupingBy to group words by their frequency
Use Collectors.counting to count the occurrences of each word
DSA questions and programming concepts
Reverse array of strings efficiently
Use two pointers approach to swap characters from start and end of each string
Optimize by using in-place reversal instead of creating new strings
Consider edge cases like empty strings or strings with only one character
posted on 17 Jul 2024
Hackerrank coding round.
I applied via Referral and was interviewed in Apr 2024. There were 2 interview rounds.
The question is about implementing a children sum property in trees and finding the height of a binary tree.
Children sum property in trees means that the value of a node must be equal to the sum of the values of its children nodes.
To find the height of a binary tree, you can recursively calculate the height of the left and right subtrees and return the maximum height plus one.
Example: For a binary tree with nodes 1, 2,
I applied via campus placement at Indian Institute of Technology (IIT), Hyderabad and was interviewed in Nov 2023. There were 3 interview rounds.
It is a test where you should answers questions from paragraphs and tables and pie charts
Print the Fibonacci series using code.
Use a loop to generate the Fibonacci series
Start with the first two numbers (0 and 1) and then add the previous two numbers to get the next number
Continue this process until reaching the desired length of the series
I applied via Company Website
posted on 8 Apr 2024
based on 5 reviews
Rating in categories
Lead Consultant
201
salaries
| ₹9.5 L/yr - ₹23.4 L/yr |
Senior Consultant
194
salaries
| ₹7.1 L/yr - ₹23.2 L/yr |
Softwaretest Engineer
177
salaries
| ₹3.5 L/yr - ₹5.7 L/yr |
Consultant
176
salaries
| ₹6 L/yr - ₹16.5 L/yr |
Associate Consultant
127
salaries
| ₹4.2 L/yr - ₹12.1 L/yr |
TCS
Infosys
Wipro
HCLTech