i
Gartner
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Jul 2023. There were 4 interview rounds.
Mix of coding, aptitude, java, javascript
HashMap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to determine the index in the array where the pair will be stored.
If multiple keys hash to the same index, a collision occurs and the pairs are stored in a linked list at that index.
To...
I have used design patterns such as Singleton, Factory, and Observer in my projects.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Factory pattern creates objects without specifying the exact class of object that will be created.
Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and
Print Fibonacci series using recursion
Define a recursive function to calculate Fibonacci numbers
Base case: return 0 if n is 0, return 1 if n is 1
Recursive case: return sum of previous two Fibonacci numbers
Print each Fibonacci number in the series
They will ask some simple algorithmic questions.
I applied via Job Portal and was interviewed in May 2021. There were 4 interview rounds.
What people are saying about Gartner
I applied via Naukri.com and was interviewed before Aug 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2020. There were 5 interview rounds.
I applied via Referral and was interviewed before Oct 2020. There were 3 interview rounds.
I was interviewed before Sep 2020.
I applied via Company Website and was interviewed in Jun 2024. There was 1 interview round.
1 hr test with questions on react and , js, python
I applied via Naukri.com and was interviewed in Jan 2022. There was 1 interview round.
I was interviewed before Apr 2021.
Round duration - 60 Minutes
Round difficulty - Medium
This round started slow with some basic fundamental questions around OOPS and then paced up higher to some more advanced questions Java and Multithreading in Java in general.
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.
Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) - Objects of a superclass should be replaceable with...
Abstraction in OOP is the concept of hiding complex implementation details and showing only the necessary features to the outside world.
Abstraction allows us to focus on what an object does instead of how it does it
It helps in reducing complexity and improving maintainability of code
Example: In a car, we don't need to know the internal workings of the engine to drive it
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 with implementation.
Interface can only have abstract methods and constants.
A class can implement multiple interfaces but can only inherit from one abstract class.
Example: Abstract class - Animal with abstract method 'eat', Interface - Flyable with metho
A classloader in Java is a part of the Java Runtime Environment that dynamically loads Java classes into the Java Virtual Machine.
Classloaders are responsible for loading classes at runtime based on the fully qualified name of the class.
There are different types of classloaders in Java such as Bootstrap Classloader, Extension Classloader, and Application Classloader.
Classloaders follow a delegation model where a classl...
Java is platform independent because it compiles code into bytecode that can run on any system with a JVM, which is platform dependent.
Java code is compiled into bytecode, which is platform independent
The JVM interprets the bytecode and translates it into machine code specific to the underlying platform
This allows Java programs to run on any system with a JVM installed, making Java platform independent
JIT compiler stands for Just-In-Time compiler, which dynamically compiles and optimizes code during runtime.
JIT compiler is used to improve the performance of applications by compiling code at runtime instead of ahead of time.
It converts bytecode into native machine code on-the-fly, allowing for faster execution.
Examples of JIT compilers include HotSpot for Java and V8 for JavaScript.
A thread pool is a collection of worker threads that are used to execute tasks concurrently.
Thread pools help manage and reuse threads to improve performance and reduce overhead.
They limit the number of concurrent threads to prevent resource exhaustion.
Tasks are submitted to the pool and executed by available threads.
Example: Java's Executor framework provides implementations of thread pools like ThreadPoolExecutor.
interrupted() checks if the current thread has been interrupted, while isInterrupted() checks if a thread has been interrupted.
interrupted() is a static method in the Thread class, while isInterrupted() is an instance method.
interrupted() clears the interrupted status of the current thread, while isInterrupted() does not.
Example: Thread.currentThread().interrupt(); System.out.println(Thread.interrupted()); // prints tr...
Round duration - 60 Minutes
Round difficulty - Medium
This round primarily focused on some major concepts in Spring Boot and Hibernate and had questions revolving around
that with some more questions from Microserviices and Java Design Patterns.
Spring supports five bean scopes: singleton, prototype, request, session, and application.
Singleton scope creates a single instance per Spring IoC container.
Prototype scope creates a new instance every time the bean is requested.
Request scope creates a new instance for each HTTP request.
Session scope creates a single instance per HTTP session.
Application scope creates a single instance per ServletContext.
Autowiring in Spring Boot is a way to automatically inject dependencies into a Spring bean.
Autowiring is a feature in Spring that allows the container to automatically inject the dependencies of a bean.
There are different modes of autowiring in Spring: 'byName', 'byType', 'constructor', 'autodetect', and 'no'.
For example, in 'byName' autowiring, Spring looks for a bean with the same name as the property being autowired
The @RestController annotation in Spring Boot is used to define a class as a RESTful controller.
Used to create RESTful web services in Spring Boot
Combines @Controller and @ResponseBody annotations
Eliminates the need to annotate each method with @ResponseBody
The @SpringBootApplication annotation is used to mark the main class of a Spring Boot application.
It is a combination of @Configuration, @EnableAutoConfiguration, and @ComponentScan annotations.
It tells Spring Boot to start adding beans based on classpath settings, other beans, and various property settings.
It also implicitly provides a base package for component scanning.
Example: @SpringBootApplication
Example: @Spring...
Spring Actuator is a set of production-ready features to help monitor and manage your application.
Provides insights into application's health, metrics, and other useful information
Enables monitoring and managing of application through HTTP endpoints
Can be used to check application's health, view metrics, and even perform custom actions
Helps in identifying and troubleshooting issues in production environment
Hibernate provides various concurrency strategies like optimistic locking, pessimistic locking, and versioning.
Optimistic locking: Allows multiple transactions to read a row simultaneously, but only one can update it at a time. Uses versioning or timestamp to check for conflicts.
Pessimistic locking: Locks the row for exclusive use by one transaction, preventing other transactions from accessing it until the lock is rel...
Microservice architecture is an architectural style that structures an application as a collection of loosely coupled services.
Microservices are small, independent services that work together to form a complete application.
Each microservice is responsible for a specific business function and can be developed, deployed, and scaled independently.
Communication between microservices is typically done through APIs.
Microserv...
Spring Cloud addresses issues related to building and deploying cloud-native applications.
Service discovery and registration
Load balancing
Circuit breakers
Distributed configuration management
Routing and gateway
Monitoring and tracing
Singleton design 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
Uses a private constructor to restrict instantiation of the class
Provides a static method to access the single instance
Round duration - 30 Minutes
Round difficulty - Easy
This is a cultural fitment testing round. HR was very frank and asked standard questions. Then we discussed about my
role.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
based on 2 interviews
Interview experience
based on 10 reviews
Rating in categories
Business Analyst
238
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
214
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
171
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Business Analyst
159
salaries
| ₹0 L/yr - ₹0 L/yr |
Research Specialist
149
salaries
| ₹0 L/yr - ₹0 L/yr |
Forrester
International Data Corporation
Frost & Sullivan
McKinsey & Company