Software Engineer2
10+ Software Engineer2 Interview Questions and Answers for Freshers

Asked in ZeMoSo Technologies

Q. Given an integer array and a target value k, find a pair of elements in the array whose sum equals k.
Find pair of elements in array whose sum is equal to target k.
Use a hashmap to store the difference between target k and each element in the array.
Iterate through the array and check if the current element's complement exists in the hashmap.
Return the indices of the pair that sums up to target k.

Asked in ZeMoSo Technologies

Q. Given an input string "aaabbCCaaDD", output "a3b2C2a2D2". Find the frequency of subsequent characters.
The task is to find the frequency of subsequent characters in a given input string.
Iterate through the input string while keeping track of the current character and its frequency.
If the current character is the same as the previous character, increment the frequency count.
If the current character is different, append the previous character and its frequency to the output string.
Repeat until the end of the input string is reached.

Asked in ZeMoSo Technologies

Q. What is an actuator in Spring Boot, and what are the actuator endpoints?
Actuator in Spring Boot provides production-ready features like monitoring and metrics.
Actuator is a set of tools provided by Spring Boot to monitor and manage your application.
Actuator endpoints are URLs that provide information about your application, such as health, metrics, info, etc.
Examples of actuator endpoints include /actuator/health, /actuator/metrics, /actuator/info, etc.

Asked in ZeMoSo Technologies

Q. System design of Paytm and Microservices Architecture.
Paytm uses microservices architecture for scalability and flexibility in system design.
Paytm's system design is based on microservices architecture to break down the application into smaller, independent services.
Each service in Paytm's architecture handles a specific function, such as payments, wallet, or shopping.
Microservices communicate with each other through APIs, allowing for easier scalability and maintenance.
This architecture enables Paytm to quickly add new features...read more

Asked in HashedIn by Deloitte

Q. Design a database schema and application for a lending platform.
Design a lending application with a robust database schema for managing loans, users, and transactions.
Entities: Users, Loans, Payments, and Loan Types.
Users table: user_id, name, email, phone, address.
Loans table: loan_id, user_id, amount, interest_rate, start_date, end_date, status.
Payments table: payment_id, loan_id, payment_date, amount, payment_method.
Loan Types table: type_id, type_name, max_amount, min_amount, interest_rate.

Asked in ZeMoSo Technologies

Q. Branching strategies in Agile methodologies
Branching strategies in Agile methodologies involve creating separate branches for different features or tasks to enable parallel development.
Feature branching: Each feature or user story is developed in a separate branch, allowing for isolation and independent testing.
Release branching: A branch is created for each release, enabling bug fixes and maintenance to be done separately from ongoing development.
Task branching: Developers create branches for individual tasks or sub-...read more
Software Engineer2 Jobs




Asked in ZeMoSo Technologies

Q. Design pattern of microservices architecture
Microservices architecture is a design pattern where an application is composed of small, independent services that communicate over well-defined APIs.
Each microservice is responsible for a specific business function or capability
Services are loosely coupled and can be developed, deployed, and scaled independently
Communication between services is typically done through lightweight protocols like HTTP or messaging queues
Microservices architecture promotes flexibility, scalabil...read more
Asked in APPSIL

Q. What is the difference between stateless and stateful widgets?
Stateless widgets do not store any state information, while stateful widgets can hold and update state data.
Stateless widgets are immutable and do not change their state during the build process.
Stateful widgets can hold and update state data, causing them to rebuild when the state changes.
Stateless widgets are more efficient as they do not need to manage state information.
Stateful widgets are useful for interactive UI components that need to update based on user input.
Exampl...read more
Share interview questions and help millions of jobseekers 🌟

Asked in ZeMoSo Technologies

Q. How would you implement a game using ReactJS?
Implementing a game using ReactJS involves creating components for game elements, managing state, handling user interactions, and updating the UI.
Create separate components for game elements such as game board, player pieces, and score display.
Use React state to manage game state, such as player turns, scores, and game progress.
Handle user interactions, such as clicking on game pieces or buttons, to update game state.
Update the UI dynamically based on game state changes to pr...read more

Asked in Rocket Software

Q. Describe your experience with Java.
I have extensive experience with Java, focusing on object-oriented programming, frameworks, and building scalable applications.
Proficient in Java SE and Java EE, with hands-on experience in building web applications using Spring Boot.
Implemented RESTful APIs for data exchange, enhancing application interoperability.
Utilized Java Collections Framework for efficient data manipulation and storage.
Worked with JUnit and Mockito for unit testing, ensuring code reliability and maint...read more

Asked in HashedIn by Deloitte

Q. Design Uber's LLD and HLD.
Designing the architecture for Uber's software system
Use microservices architecture for scalability and flexibility
Implement a robust backend system for handling user requests and driver matching
Utilize real-time data processing for tracking driver locations and ride requests
Incorporate a payment gateway for seamless transactions
Include a rating system for feedback and quality control

Asked in LendingKart

Q. Given a linked list, determine if it contains a cycle.
Detecting a cycle in a linked list can be done using Floyd's Tortoise and Hare algorithm.
Use two pointers: slow and fast. Slow moves one step, fast moves two steps.
If there's a cycle, the fast pointer will eventually meet the slow pointer.
If the fast pointer reaches the end (null), there is no cycle.
Example: For a list 1 -> 2 -> 3 -> 4 -> 2 (cycle back to 2), slow and fast will meet at 2.

Asked in Cognizant

Q. Given a string, determine whether it is a palindrome.
A palindrome is a string that reads the same forwards and backwards, like 'radar' or 'level'.
Check if the string is equal to its reverse. Example: 'madam' == 'madam'.
Ignore spaces and punctuation for a more flexible check. Example: 'A man, a plan, a canal, Panama!' is a palindrome.
Consider case sensitivity. Example: 'Racecar' is not the same as 'racecar' unless you ignore case.
Interview Experiences of Popular Companies





Top Interview Questions for Software Engineer2 Related Skills



Reviews
Interviews
Salaries
Users

