Filter interviews by
I was interviewed in Jan 2025.
Exception handling is crucial in programming to handle errors and ensure proper execution. The 'finally' block is used to clean up resources, and throwing exceptions allows for error propagation.
Exception handling is used to manage errors and unexpected situations in a program.
The 'finally' block is used to execute code that should always run, regardless of whether an exception is thrown or not.
Throwing exceptions allo...
ACID properties ensure data integrity in transactions. CAP Theorem states that a distributed system can only guarantee two out of three: Consistency, Availability, Partition Tolerance.
ACID properties: Atomicity, Consistency, Isolation, Durability
Example: In a banking application, a transfer of funds should be atomic, consistent, isolated, and durable
CAP Theorem: Consistency, Availability, Partition Tolerance - a distri...
Comparable is an interface used for natural ordering, while Comparator is used for custom ordering in Java Collections.
Comparable interface is used to define the natural ordering of objects. It is implemented by the class whose objects are to be sorted.
Comparator interface is used to define custom ordering of objects. It is implemented by a separate class.
To implement Comparable, the class needs to override the compare...
Generics in Java allow for creating classes, interfaces, and methods that operate on types parameterized at compile time.
Generics provide type safety by allowing compile-time type checking.
They enable code reusability and reduce the need for casting.
Example: List<String> list = new ArrayList<>();
Code to reverse a string using recursion
Create a recursive function that takes a string as input
Base case: if the string is empty or has only one character, return the string
Recursive case: return the last character of the string concatenated with the result of calling the function on the substring excluding the last character
Object comparison with specific fields involves comparing values of selected fields between two objects.
Object comparison can be done by comparing the values of specific fields in two objects.
Fields can be selected based on unique identifiers or criteria for comparison.
Example: Comparing the 'name' field of two person objects to check if they are the same.
Distributed transactions in microservices involve using compensating transactions and event-driven architecture.
Microservices typically use compensating transactions to maintain consistency across multiple services.
Event-driven architecture can help in coordinating distributed transactions by using events to trigger actions in different services.
Implementing distributed transactions in microservices requires careful de...
Aggregator pattern is used in microservices architecture to combine multiple service responses into a single response.
Aggregator pattern helps in reducing the number of client requests by combining multiple service responses.
It can be implemented using a separate service or within an existing service.
Example: A shopping website aggregating product information from different microservices like inventory, pricing, and re
Factory design pattern is a creational pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
Factory method pattern defines an interface for creating objects, but lets subclasses decide which class to instantiate.
It promotes loose coupling by eliminating the need to bind application-specific classes into the code.
Example: A car m...
Indexing in a database is a technique to improve the speed of data retrieval by creating a data structure that allows for quick lookup.
Indexing involves creating a separate data structure that contains pointers to the actual data in the database.
Common data structures used for indexing include B-trees, hash tables, and binary search trees.
Indexes can be created on one or multiple columns in a database table to speed up...
My approach involves using load balancing, caching, asynchronous processing, and horizontal scaling.
Implement load balancing to distribute requests evenly across multiple servers.
Utilize caching mechanisms to store frequently accessed data and reduce response times.
Use asynchronous processing for long-running tasks to free up resources for handling more requests.
Implement horizontal scaling by adding more servers to ha...
CQRS pattern in microservices separates read and write operations for improved scalability and performance.
CQRS stands for Command Query Responsibility Segregation
It separates the read and write operations into two different models
Write operations update the data store, while read operations query a separate data store
CQRS can improve performance and scalability by allowing each model to be optimized for its specific t
API Gateway acts as a single entry point for all client requests in a microservices architecture.
API Gateway handles authentication, authorization, rate limiting, and routing of requests to appropriate microservices.
It helps in decoupling client applications from individual microservices, providing a more flexible and scalable architecture.
API Gateway can also perform tasks like request/response transformation, logging...
SQL query to fetch data from two tables using joins
Use the JOIN keyword to combine rows from two tables based on a related column
Specify the columns to select from each table in the SELECT statement
Use the ON keyword to specify the join condition
I applied via Indeed and was interviewed in Dec 2024. There was 1 interview round.
I applied via Job Portal
I applied via Company Website and was interviewed in Nov 2024. There was 1 interview round.
Experienced product and operations manager with a background in leading cross-functional teams and implementing strategic initiatives.
Over 5 years of experience in product management and operations
Skilled in leading teams to successfully launch new products and improve operational efficiency
Strong background in data analysis and decision-making
Proven track record of driving revenue growth and customer satisfaction
Previ...
I would address the issue by coordinating with the engineering team to identify and rectify the parameter mismanagement.
Communicate with the engineering team to understand the root cause of the parameter mismanagement
Work with the client to gather specific details about the issue and its impact on their operations
Collaborate with the engineering team to implement a solution and ensure proper testing before deployment
Pr...
Target interview questions for popular designations
I applied via Company Website and was interviewed in Aug 2024. There was 1 interview round.
Sort an array of colors in a specific order
Use a custom sorting function to sort the colors based on a predefined order
Map each color to a numerical value and sort based on that value
Consider using a hashmap to store the order of colors
Get interview-ready with Top Target Interview Questions
I was interviewed in Jul 2024.
Advance excel... Will check your logical thinking skills.
I actively listen, seek common ground, and collaborate to find solutions.
Actively listen to understand their perspective
Seek common ground and areas of agreement
Collaborate to find mutually beneficial solutions
Respectfully communicate and discuss differences
Focus on the end goal and shared objectives
I conduct thorough research, gather feedback, and collaborate with stakeholders to propose solutions that meet the needs of guests and team members.
Conduct research to understand the needs and preferences of guests and team members
Gather feedback from various stakeholders to identify pain points and areas for improvement
Collaborate with cross-functional teams to brainstorm and develop solutions that address the identif...
Array-based question
XGBoost is a popular machine learning algorithm known for its speed and performance in handling large datasets.
XGBoost stands for eXtreme Gradient Boosting.
It is an implementation of gradient boosted decision trees designed for speed and performance.
XGBoost is widely used in machine learning competitions and real-world applications.
It can handle missing data, regularization, and parallel processing efficiently.
XGBoost ...
Random forest is an ensemble learning method that builds multiple decision trees and combines their predictions.
Random forest is a type of ensemble learning method.
It builds multiple decision trees during training.
Each tree in the forest makes a prediction, and the final prediction is the average or majority vote of all trees.
Random forest is used for classification and regression tasks.
It helps reduce overfitting and ...
Sequence to sequence models are used in natural language processing to convert input sequences into output sequences.
Sequence to sequence models are commonly used in machine translation tasks, where the input is a sentence in one language and the output is the translated sentence in another language.
Transformers are a type of sequence to sequence model that use self-attention mechanisms to weigh the importance of diffe...
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
Its quit easy round in which its contain very easy question in the process
Ita contain average coding question level of leetcode.. If constantly solving leetcode question it get more chances to select.
Some qualities that enhance myself include adaptability, problem-solving skills, and continuous learning.
Adaptability: I am able to quickly adjust to new situations and environments, allowing me to thrive in dynamic work settings.
Problem-solving skills: I excel at analyzing complex problems and finding effective solutions, which is crucial in the field of software testing.
Continuous learning: I am committed to staying ...
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
Top trending discussions
Some of the top questions asked at the Target interview -
The duration of Target interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 98 interviews
Interview experience
based on 662 reviews
Rating in categories
Senior Engineer
259
salaries
| ₹17.7 L/yr - ₹45.2 L/yr |
Software Engineer
181
salaries
| ₹7 L/yr - ₹27.4 L/yr |
Senior Software Engineer
163
salaries
| ₹16.2 L/yr - ₹48 L/yr |
Lead Engineer
130
salaries
| ₹24.3 L/yr - ₹82 L/yr |
Lead Specialist
116
salaries
| ₹3.2 L/yr - ₹8.3 L/yr |
Walmart
Amazon
Flipkart
Reliance Retail