i
Onetoinfinite
Filter interviews by
I applied via TopHire
Answering questions related to Java development and architecture
Monolithic architecture is a traditional approach where all components of an application are tightly coupled into a single unit
Microservices architecture is a modern approach where an application is divided into smaller, loosely coupled services
Singleton class is a design pattern that restricts the instantiation of a class to a single object
Static variable...
The default server in a Spring Boot application is Tomcat. Other servers can be configured by adding dependencies and modifying the configuration.
The default server in Spring Boot is Tomcat, but other servers like Jetty or Undertow can be used.
To configure a different server, you need to exclude the default server dependency and add the desired server dependency in the pom.xml file.
You also need to modify the applicati...
Top trending discussions
I appeared for an interview in Jul 2020.
No, calling finish() in onCreate() will not call onResume() or other lifecycle functions before onDestroy().
Calling finish() in onCreate() will immediately destroy the activity without calling any other lifecycle methods.
If you want to finish an activity after it has been created and resumed, you should call finish() in onPause() or onStop().
It is generally not recommended to call finish() in onCreate() as it can lead ...
RecyclerView is a flexible view for providing a limited window into a large data set.
RecyclerView is used to display large sets of data efficiently
It uses a ViewHolder pattern to recycle views
Corner cases include handling empty data sets and updating data dynamically
Communication between activity and fragment is done through interfaces.
Activity implements an interface and passes it to the fragment
Fragment can then call methods of the interface to communicate with the activity
This allows for communication between the two components without tight coupling
Find the second largest element in an array of strings.
Sort the array in descending order and return the second element.
Iterate through the array and keep track of the largest and second largest elements.
Use a priority queue to find the second largest element.
I applied via Referral and was interviewed in Nov 2021. There were 2 interview rounds.
I have worked on React Native for mobile app development.
Developed a mobile app for a client using React Native
Used Redux for state management
Integrated with Firebase for real-time database and authentication
Implemented push notifications using Firebase Cloud Messaging
I appeared for an interview in Jan 2025.
Data structures, particularly strings, play a crucial role in problem-solving.
I have a strong technical background, excellent problem-solving skills, and a passion for software development.
I have a Bachelor's degree in Computer Science and 5 years of experience in software development.
I am proficient in multiple programming languages such as Java, Python, and JavaScript.
I have a track record of delivering high-quality code on time and within budget.
I am a quick learner and always eager to stay u...
Strength: Problem-solving skills, Weakness: Impatience
Strength: Strong problem-solving skills demonstrated through successful projects
Weakness: Impatience when tasks take longer than expected, working on improving patience through time management techniques
Passion for problem-solving and creating innovative solutions drove me to pursue a career in software development.
Fascination with technology and its potential to improve lives
Enjoyment of logical thinking and coding challenges
Desire to constantly learn and adapt in a fast-paced industry
Previous experience in programming projects or internships
My area of expertise in programming languages is in web development, specifically with JavaScript, HTML, and CSS.
Proficient in JavaScript for client-side scripting and server-side development with Node.js
Experienced in building responsive and interactive web applications using HTML and CSS
Familiar with popular frameworks and libraries like React, Angular, and Bootstrap
JavaScript is a high-level, interpreted programming language used for creating interactive websites.
JavaScript is commonly used for client-side web development.
It allows for dynamic content updates without reloading the page.
JavaScript can be used to create interactive elements like forms, animations, and games.
It is supported by all major web browsers.
JavaScript can also be used for server-side development with Node.j...
I appeared for an interview before Apr 2024, where I was asked the following questions.
The event loop in JavaScript manages asynchronous operations, allowing non-blocking execution of code.
JavaScript is single-threaded, meaning it can only execute one task at a time.
The event loop continuously checks the call stack and the message queue.
When the call stack is empty, the event loop pushes the first message from the queue to the stack for execution.
Example: setTimeout(() => console.log('Hello'), 1000) a...
The virtual DOM is a lightweight representation of the actual DOM used by React to optimize rendering and improve performance.
The virtual DOM is a JavaScript object that mirrors the structure of the real DOM.
React uses the virtual DOM to determine what changes need to be made to the actual DOM.
When a component's state changes, React updates the virtual DOM first, then compares it with the real DOM (a process called rec...
I appeared for an interview in Mar 2025, where I was asked the following questions.
A spiral traversal of a 2-D matrix involves visiting elements in a spiral order, starting from the top-left corner.
Initialization: Define boundaries for the top, bottom, left, and right of the matrix.
Traversal Order: Move right across the top row, then down the right column, then left across the bottom row, and finally up the left column.
Boundary Adjustment: After each direction, adjust the boundaries to move inward fo...
posted on 19 May 2023
I appeared for an interview in Mar 2025, where I was asked the following questions.
Inheritance allows a class to inherit properties and methods from another class, promoting code reuse and organization.
Inheritance is a fundamental concept in Object-Oriented Programming (OOP).
It enables a new class (subclass) to inherit attributes and methods from an existing class (superclass).
Example: If 'Animal' is a superclass, 'Dog' can be a subclass that inherits characteristics of 'Animal'.
Subclasses can also o...
By offering warm toppings and promoting it as a cozy treat, we can sell ice cream in winters.
Offer warm toppings like hot fudge, caramel, or toasted nuts
Promote it as a cozy treat to enjoy indoors
Create seasonal flavors like peppermint or gingerbread
Offer discounts or bundle deals to incentivize purchases
Partner with local businesses to cross-promote winter activities and ice cream
Was a small test and was easy
based on 1 interview experience
Difficulty level
Adda 247
Futurense Technologies
Prepca Eduserv
Airblack