Meesho
100+ LKQ INDIA Interview Questions and Answers
Q101. Write a polyfill of JS promise
A polyfill for JS promise is a piece of code that provides support for promises in older browsers.
Create a Promise class with resolve, reject, then, and catch methods
Implement the executor function to handle the asynchronous operation
Use setTimeout to simulate asynchronous behavior
Handle chaining of then and catch methods
Q102. Design system for splitwise
Design a system for managing shared expenses among friends
Create user accounts with email verification
Allow users to create groups and add expenses
Implement algorithms to calculate balances and settle debts
Provide notifications for pending payments
Include features for adding notes and attaching receipts
Q103. Explain different GC strategies
GC strategies refer to different garbage collection techniques used in memory management.
1. Mark and Sweep: Identifies and marks all reachable objects, then sweeps away unreferenced objects.
2. Copying: Divides memory into two equal halves and copies live objects from one half to the other.
3. Generational: Divides objects into different generations based on their age, with different collection strategies for each generation.
4. Incremental: Collects garbage in small increments ...read more
Q104. a basic inner join in sql
An inner join in SQL combines rows from two tables based on a related column between them.
Use the INNER JOIN keyword to combine rows from two tables based on a related column
Specify the columns to join on using the ON keyword
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Q105. SQL query using joins
SQL query using joins to combine data from multiple tables
Use INNER JOIN to combine rows from two or more tables based on a related column between them
Specify the columns to select from each table in the SELECT statement
Use ON clause to specify the join condition
Q106. RCA on reduction in orders
Root Cause Analysis (RCA) on reduction in orders involves identifying underlying reasons for decrease in order volume.
Review historical order data to identify trends or patterns
Analyze market conditions or competitor actions that may have impacted orders
Assess any changes in customer preferences or buying behavior
Evaluate internal factors such as pricing changes, product availability, or marketing strategies
Consider external factors like economic conditions or industry trends
Q107. RCA on reduction in GMV
Perform Root Cause Analysis (RCA) to identify reasons for reduction in Gross Merchandise Value (GMV)
Review sales data to identify trends and patterns
Investigate changes in marketing strategies or promotions
Assess impact of external factors like economic conditions or competition
Analyze customer feedback and complaints for insights
Consider operational issues such as inventory management or pricing strategies
Q108. design email notification system
Design an email notification system for efficient communication.
Identify the triggers for sending email notifications (e.g. new user registration, password reset)
Design a user-friendly interface for users to manage their notification preferences
Implement a system to track email delivery and user engagement
Consider personalization options for email content based on user behavior
Ensure compliance with data protection regulations (e.g. GDPR)
Q109. 5 year roadmap of Netflix
Netflix plans to focus on expanding original content, global expansion, technology innovation, partnerships, and improving user experience over the next 5 years.
Expand original content library to attract and retain subscribers
Continue global expansion to reach new markets and increase subscriber base
Invest in technology innovation to enhance streaming quality and personalization
Form strategic partnerships with content creators and distributors to secure exclusive content
Impro...read more
Q110. What is a semaphore
A semaphore is a synchronization object used in concurrent programming to control access to shared resources.
Semaphores can be used to limit the number of threads accessing a resource at the same time
They can be implemented as counting semaphores or binary semaphores
Example: In a producer-consumer problem, semaphores can be used to control access to a shared buffer
Q111. Types of join in sql
Types of join in SQL include inner join, left join, right join, and full outer join.
Inner join returns only the matching records from both tables.
Left join returns all records from the left table and the matching records from the right table.
Right join returns all records from the right table and the matching records from the left table.
Full outer join returns all records when there is a match in either the left or right table.
Q112. System design on notifications
Designing a system for notifications to users
Identify the types of notifications needed (e.g. push, email, SMS)
Consider the frequency and timing of notifications
Implement a notification preference setting for users
Ensure notifications are relevant and personalized
Use a scalable and reliable notification delivery system
Q113. DESIGN FACEBOOK
Design a social networking platform with features like user profiles, news feed, messaging, and photo sharing.
Create user profiles with customizable information and privacy settings
Implement a news feed algorithm to display relevant content to users
Include messaging functionality for private communication between users
Allow users to share photos and videos on their profiles and in posts
Q114. Return to vendor
Returning products to the vendor due to various reasons such as defects, overstock, or incorrect items.
Ensure products are returned in accordance with vendor return policies
Document reasons for return and communicate with vendor for resolution
Track returned products and update inventory accordingly
Q115. Create a pagination
Pagination component to display a list of items with page navigation.
Create a Pagination component with props for total number of items, items per page, and current page.
Calculate total number of pages based on total items and items per page.
Display page numbers with previous and next buttons to navigate through pages.
Update the list of items displayed based on current page.
Handle click events on page numbers and previous/next buttons to update current page.
Q116. predict the output
The output cannot be predicted without knowing the specific input or process being analyzed.
The output of a business process can vary based on the input data, the steps in the process, and any decision points or rules involved.
Without specific details about the business process being analyzed, it is impossible to accurately predict the output.
It is important to gather all relevant information and analyze the process thoroughly before attempting to predict the output.
Q117. lazy vs latinit
lazy vs lateinit are both used in Kotlin to delay the initialization of variables, but lazy is for val properties and lateinit is for var properties.
lazy is a property delegate that initializes the value only upon first access
lateinit is used for var properties that are guaranteed to be initialized before accessing them
lazy can be used for properties that are computationally expensive to initialize, while lateinit is used for properties that are initialized externally
Q118. hashmap vs hashtable
Hashtable is synchronized and slower, while hashmap is not synchronized and faster.
Hashtable is synchronized, while hashmap is not.
Hashtable does not allow null keys or values, while hashmap allows one null key and multiple null values.
Hashtable is thread-safe, while hashmap is not.
Hashtable is slower than hashmap due to synchronization.
Example: Hashtable ht = new Hashtable(); HashMap hm = new HashMap();
Q119. Age By salfe Cooling
Q120. Hand the custmer
Top HR Questions asked in LKQ INDIA
Interview Process at LKQ INDIA
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month