Filter interviews by
I applied via Recruitment Consulltant and was interviewed before Jul 2022. There were 4 interview rounds.
Controller handles incoming requests in a web application, while RestController specifically handles RESTful requests.
Controller is a general term for classes that handle incoming requests in a web application
RestController is a specialized version of a controller that specifically handles RESTful requests
RestController in Spring MVC is used to create RESTful web services
Example: UserController is a general controller ...
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Ensures a class has only one instance by providing a global access point to it
Commonly used in scenarios where only one instance of a class is needed, such as database connections or configuration settings
Implemented by creating a static method that returns the same instance of the class every time it is called
Top trending discussions
Basic question analytical reasoning
Java questions was easy
Object-oriented programming concepts and techniques
Encapsulation: Bundling data and methods that operate on the data into a single unit
Inheritance: Allowing a class to inherit properties and behavior from another class
Polymorphism: Ability for objects of different classes to respond to the same method call
Abstraction: Hiding the implementation details and showing only the necessary features of an object
I was interviewed in Dec 2023.
I applied via Naukri.com and was interviewed in Nov 2023. There were 2 interview rounds.
Easy aptitude test consist of English maths
Topic discussion with lots of cross questions and thir answers
I applied via Referral and was interviewed in Dec 2022. There were 2 interview rounds.
I like for aptitude questions
URL shortener system design for efficient redirection of long URLs to short URLs
Use a unique identifier for each long URL to generate a short URL
Implement a database to store mappings between short URLs and long URLs
Consider using a hashing algorithm to generate short URLs
Implement a caching mechanism to improve performance
Ensure scalability by using distributed systems and load balancing
I applied via Approached by Company and was interviewed in Mar 2024. There was 1 interview round.
A throttling service limits the number of requests a user can make to a system within a specific time frame.
Implement rate limiting based on user or IP address
Use tokens or API keys to track usage
Set limits on the number of requests allowed per minute/hour/day
Return appropriate error responses when limits are exceeded
based on 1 interview
Interview experience
TCS
Accenture
Wipro
Cognizant