Add office photos
Engaged Employer

Paytm

3.3
based on 7.1k Reviews
Filter interviews by

30+ Amadasoft Interview Questions and Answers

Updated 27 Sep 2024
Popular Designations
Q1. Search In Rotated Sorted Array

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he to...read more

View 3 more answers
Q2. Reverse Alternate K nodes

You are given a Singly Linked List of integers and a positive integer 'K'. Modify the linked list by reversing every alternate 'K' nodes of the linked list.

A singly linked list is a ty...read more
View 3 more answers
Q3. System Design Question

Design a search service to get relevant results for travel.

Add your answer

Q4. Infinite scroll - how to handle large size data, efficient and smooth loading by scrolling up & down.

Ans.

To handle large size data for infinite scroll, use virtual scrolling, lazy loading, and optimize data fetching/rendering.

  • Implement virtual scrolling to render only the visible items on the screen, reducing memory usage and improving performance.

  • Use lazy loading to fetch more data as the user scrolls, avoiding loading all data at once.

  • Optimize data fetching and rendering by using efficient algorithms and data structures, and minimizing unnecessary operations.

  • Consider implement...read more

Add your answer
Discover Amadasoft interview dos and don'ts from real experiences

Q5. What is kafka and your use case where you have used

Ans.

Kafka is a distributed streaming platform used for building real-time data pipelines and streaming applications.

  • Kafka is used for real-time data processing, messaging, and event streaming.

  • It provides high-throughput, fault-tolerant, and scalable messaging system.

  • Example use case: Implementing a real-time analytics dashboard for monitoring website traffic.

Add your answer

Q6. remove char sequence with a particular number like aaaabcbd remove aaaa

Ans.

Answering how to remove a character sequence with a particular number from a string.

  • Identify the character sequence to be removed

  • Use string manipulation functions to remove the sequence

  • Repeat until all instances of the sequence are removed

Add your answer
Are these interview questions helpful?

Q7. Create Traffic Lights in react.js with lights changing color with time config

Ans.

Create a traffic light simulation in react.js with changing colors based on time configuration.

  • Use React state to manage the current color of the traffic light

  • Set up a timer to change the color of the traffic light at specified intervals

  • Use CSS to style the traffic light and different colors for each light

Add your answer

Q8. Write code to find character at given position after expanding the given regex string.

Ans.

Code to find character at given position after expanding regex string

  • Use a regex engine to expand the given regex string

  • Find the substring that matches the given position

  • Return the character at that position in the substring

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. given date, month and year, write a logic to add days to the given date

Ans.

Logic to add days to a given date

  • Convert date, month, year to a date object

  • Use date object's built-in method to add days

  • Convert the updated date object back to date, month, year format

Add your answer

Q10. How to acheive responsive acrooss all screen sizes

Ans.

Achieve responsive design by using media queries, flexible layouts, and fluid grids.

  • Use media queries to adjust styles based on screen size

  • Create flexible layouts that adapt to different screen sizes

  • Implement fluid grids to ensure content scales proportionally

Add your answer

Q11. Whole garbage collector and its process in java

Ans.

Garbage collector in Java manages memory allocation and deallocation automatically.

  • Garbage collector runs in the background and frees up memory that is no longer in use.

  • It uses different algorithms like Mark and Sweep, Copying, and Generational.

  • System.gc() can be used to request garbage collection, but it's not guaranteed to run immediately.

  • Garbage collector can cause performance issues if not tuned properly.

  • Java provides tools like jstat and jvisualvm to monitor and analyze ...read more

Add your answer

Q12. what is mean by indexing in database

Ans.

Indexing in database is a way to optimize search queries by creating a data structure that allows for faster retrieval of data.

  • Indexing involves creating a separate table that contains the indexed columns and their corresponding row locations.

  • Indexes can be created on one or multiple columns.

  • Indexes can be clustered or non-clustered.

  • Examples of indexing include primary keys, foreign keys, and unique constraints.

Add your answer

Q13. Write program for internal implementation of hash map

Ans.

Program for internal implementation of hash map

  • Define a hash function to map keys to indices in an array

  • Create an array of linked lists to handle collisions

  • Implement methods for adding, removing, and retrieving key-value pairs

  • Consider resizing the array when it becomes too full

  • Handle edge cases such as null keys or values

Add your answer

Q14. Rotate Given 2D matrix 90' anticlockwise.

Ans.

Rotate a 2D matrix 90' anticlockwise

  • Transpose the matrix

  • Reverse each row of the transposed matrix

  • Alternatively, swap elements in each row with their corresponding elements in the opposite row

  • Time complexity: O(n^2), Space complexity: O(1)

Add your answer

Q15. Design BookMyShow low level design

Ans.

BookMyShow low level design for ticket booking system

  • Use microservices architecture for scalability and flexibility

  • Implement user authentication and authorization for secure transactions

  • Utilize databases for storing user and event information

  • Include payment gateway integration for seamless transactions

Add your answer

Q16. Design System for Chat Application

Ans.

Design a system for a chat application

  • Use WebSocket for real-time communication

  • Implement message queuing for reliable message delivery

  • Include features like read receipts, typing indicators, and message history

  • Design a user-friendly interface with customizable themes and emojis

  • Ensure end-to-end encryption for secure communication

Add your answer

Q17. Find transpose of given square matrix

Ans.

Transpose of a square matrix

  • Iterate through each row and column of the matrix

  • Swap the elements at (i,j) and (j,i) positions

  • Return the transposed matrix

Add your answer

Q18. create language change functionality using useContext and useReducer

Ans.

Implement language change functionality using useContext and useReducer

  • Create a LanguageContext to store the current language state

  • Use useReducer to handle state changes for language selection

  • Dispatch actions to update the language state based on user selection

Add your answer

Q19. Design round | Design a notification service

Ans.

Design a notification service for sending real-time alerts to users.

  • Use a scalable messaging system like Kafka or RabbitMQ to handle high volume of notifications.

  • Implement a user preference system to allow users to choose their preferred notification channels (email, SMS, push notifications, etc).

  • Include a scheduling feature to send notifications at specific times or intervals.

  • Ensure notifications are personalized and relevant to each user based on their activity or preferenc...read more

Add your answer

Q20. Polyfills of map, reduce, call, apply

Ans.

Polyfills are used to provide fallback support for older browsers that do not support certain JavaScript methods like map, reduce, call, and apply.

  • Polyfills are JavaScript code that replicate the functionality of newer features in older browsers.

  • They are commonly used for methods like map, reduce, call, and apply which may not be supported in all browsers.

  • For example, a polyfill for the map method would involve iterating over an array and applying a function to each element.

  • P...read more

Add your answer

Q21. Segregation of number in an array

Ans.

Segregate numbers in an array of strings based on odd/even

  • Iterate through the array and separate odd and even numbers into two separate arrays

  • Use parseInt() to convert strings to numbers for comparison

  • Return the two arrays of odd and even numbers

Add your answer

Q22. explain lambda expression in java

Ans.

Lambda expression is a concise way to represent anonymous functions in Java.

  • Lambda expressions were introduced in Java 8.

  • They are used to implement functional interfaces.

  • They reduce the amount of boilerplate code needed for anonymous classes.

  • Syntax: (parameters) -> expression or (parameters) -> { statements; }

  • Example: (x, y) -> x + y or (x, y) -> { return x + y; }

Add your answer

Q23. find second best player among n player

Ans.

Find the second best player among n players.

  • Sort the players based on their scores and pick the second highest score.

  • If scores are not available, find the second highest rank or position.

  • If there are ties for first place, the second best player may be the third or fourth best player.

  • If there are ties for second place, there may not be a clear second best player.

Add your answer

Q24. Web app Optimization Techniques

Ans.

Web app optimization techniques focus on improving performance and user experience.

  • Minify and compress CSS, JavaScript, and HTML files

  • Optimize images and use lazy loading

  • Reduce server response time by caching data and using CDNs

  • Implement asynchronous loading for non-essential resources

  • Use browser caching and enable Gzip compression

Add your answer

Q25. Serverside vs clientside rendering

Ans.

Serverside rendering is when the HTML is generated on the server before being sent to the client, while clientside rendering is when the HTML is generated on the client's browser using JavaScript.

  • Serverside rendering is better for SEO as search engines can easily crawl the content.

  • Clientside rendering can provide a faster initial load time as only data is sent from the server.

  • Serverside rendering is more secure as sensitive data is not exposed to the client.

  • Clientside renderi...read more

Add your answer

Q26. Microservices vs Monolithic architecture

Ans.

Microservices allow for modular and scalable architecture, while monolithic architecture is simpler but less flexible.

  • Microservices break down applications into smaller, independent services that communicate through APIs.

  • Monolithic architecture involves building the entire application as a single unit, making it easier to develop but harder to scale.

  • Microservices offer better fault isolation and scalability, while monolithic architecture is easier to deploy and manage.

  • Example...read more

Add your answer

Q27. Rain water trapping dsa problem

Ans.

Rain water trapping problem involves calculating the amount of rainwater that can be trapped between buildings.

  • Calculate the maximum height of water that can be trapped at each index

  • Calculate the water trapped at each index by subtracting the height of the building at that index

  • Sum up the water trapped at each index to get the total amount of rainwater trapped

Add your answer

Q28. explain streams in java

Ans.

Streams in Java are a sequence of elements that can be processed in parallel or sequentially.

  • Streams are used to perform operations on collections of data.

  • They can be used to filter, map, reduce, and sort data.

  • Streams can be processed in parallel to improve performance.

  • Examples include using streams to filter a list of names or map a list of numbers to their squares.

Add your answer

Q29. disadvantages of indexing

Ans.

Indexing can lead to increased storage requirements and slower write performance.

  • Indexing can increase the size of the database as additional data structures are created to support the index.

  • Indexes can slow down write operations as the database must update both the data and the index.

  • Indexes can become fragmented over time, leading to decreased performance.

  • Indexes can also lead to increased memory usage and CPU overhead.

  • In some cases, indexing may not be necessary or may eve...read more

Add your answer

Q30. Oops concepts explanation with framework

Ans.

Explanation of OOP concepts with framework

  • OOP concepts include encapsulation, inheritance, and polymorphism

  • Encapsulation allows bundling of data and methods into a single unit

  • Inheritance enables the creation of new classes based on existing ones

  • Polymorphism allows objects of different classes to be treated as the same type

  • Frameworks provide a structure and set of tools for developing software applications

  • Frameworks often implement OOP principles to provide reusable components...read more

Add your answer

Q31. Design lru cache and code

Ans.

LRU cache is a data structure that stores a fixed number of items and removes the least recently used item when the cache is full.

  • Use a combination of a doubly linked list and a hashmap to implement the LRU cache.

  • When an item is accessed, move it to the front of the linked list to mark it as the most recently used item.

  • When adding a new item, check if the cache is full. If it is full, remove the least recently used item from the end of the linked list.

  • Use a hashmap to store t...read more

Add your answer

Q32. Design movie ticket system

Ans.

Design a movie ticket system

  • Create a database to store movie details, showtimes, and seat availability

  • Implement a user interface for customers to select movies, seats, and purchase tickets

  • Develop a ticketing algorithm to handle seat reservations and prevent double bookings

  • Include features like seat selection, payment processing, and ticket confirmation

  • Consider scalability and performance for handling high traffic during peak times

Add your answer

Q33. HLD Design along with LLD

Ans.

HLD (High-Level Design) and LLD (Low-Level Design) are two stages in software design process.

  • HLD focuses on system architecture and overall design.

  • LLD focuses on detailed design of individual components.

  • HLD defines the structure and behavior of the system.

  • LLD defines the implementation details of each component.

  • HLD is more abstract and conceptual.

  • LLD is more concrete and specific.

  • HLD helps in understanding the system's functionality and interactions.

  • LLD helps in understanding...read more

Add your answer

Q34. Create useDebounce hook

Ans.

Custom hook for debouncing user input in React applications

  • Accepts a value and delay as arguments

  • Uses useEffect to set a timeout to update the debounced value after the specified delay

  • Returns the debounced value and a function to update the input value

Add your answer

Q35. java 8 new added features

Ans.

Java 8 introduced several new features including lambda expressions, streams, functional interfaces, and default methods.

  • Lambda expressions allow you to write code in a more concise and readable way.

  • Streams provide a new way to work with collections in a functional style.

  • Functional interfaces are interfaces with a single abstract method, enabling the use of lambda expressions.

  • Default methods allow interfaces to have method implementations.

  • Some other features include the new D...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Amadasoft

based on 21 interviews in the last 1 year
4 Interview rounds
Coding Test Round
Technical Round 1
Technical Round 2
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

4.1
 • 20 Interview Questions
4.1
 • 17 Interview Questions
3.6
 • 11 Interview Questions
4.9
 • 10 Interview Questions
4.0
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter