Add office photos
Engaged Employer

Ixigo.com

3.6
based on 59 Reviews
Filter interviews by

10+ Apollo Pharmacy Interview Questions and Answers

Updated 6 Oct 2024

Q1. Life cycle methods in react js, explain context API, advantages and disadvantages of context API, how is redux different from context API, different optimization techniques in react js, what are core web vitals...

read more
Ans.

Questions related to React JS, optimization techniques, core web vitals, and webpack.

  • React JS life cycle methods include componentDidMount, componentDidUpdate, and componentWillUnmount.

  • Context API is used for sharing data between components without passing props down the component tree.

  • Advantages of Context API include avoiding prop drilling and making it easier to manage global state.

  • Disadvantages of Context API include potential performance issues and difficulty with testin...read more

Add your answer
Q2. Find Duplicates In Array

You are given an array/list 'ARR' consisting of N integers, which contains elements only in the range 0 to N - 1. Some of the elements may be repeated in 'ARR'. Your task is to find all ...read more

Add your answer

Q3. puzzles: find the fastest 3 horses in 25 horse race with a race and 5 horses can be run at a time

Ans.

Divide the 25 horses into 5 groups of 5 horses each, race them, then race the winners to determine the fastest 3 horses.

  • Divide the 25 horses into 5 groups of 5 horses each and race them.

  • Identify the top horse from each group.

  • Race the top horses to determine the fastest 3 horses.

Add your answer

Q4. in a BST two numbers are swapped find swapped nos.

Ans.

To find swapped numbers in a BST, perform inorder traversal and keep track of previous node.

  • Perform inorder traversal of the BST

  • Keep track of the previous node while traversing

  • If at any point, the current node's value is less than the previous node's value, those are the swapped numbers

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

Q5. Techniques to optimise list rendering? List virtualisation

Ans.

List virtualisation optimises rendering by only rendering items that are currently visible on the screen.

  • Use virtual scrolling to render only the visible items in a list

  • Implement windowing techniques to dynamically load and unload items as the user scrolls

  • Utilize libraries like React Virtualized or Angular CDK Virtual Scroll for efficient list rendering

Add your answer

Q6. difference between pseudo elements and pseudo classes

Ans.

Pseudo elements are used to style specific parts of an element, while pseudo classes are used to style an element based on its state or position.

  • Pseudo elements are denoted by :: before the element name, like ::before or ::after

  • Pseudo classes are denoted by a single colon before the class name, like :hover or :active

  • Pseudo elements are used to style parts of an element that do not exist in the DOM, like adding content before or after an element

  • Pseudo classes are used to style...read more

Add your answer
Are these interview questions helpful?

Q7. to find the kth minimum element from BST

Ans.

To find the kth minimum element from a Binary Search Tree (BST)

  • Perform an in-order traversal of the BST to get elements in sorted order

  • Return the kth element from the sorted list

  • Time complexity: O(n) where n is the number of nodes in the BST

Add your answer

Q8. Difference between inline and block elements

Ans.

Inline elements do not start on a new line and only take up as much width as necessary, while block elements start on a new line and take up the full width available.

  • Inline elements do not force a new line to start and only take up as much width as necessary (e.g. <span>, <a>, <strong>).

  • Block elements always start on a new line and take up the full width available (e.g. <div>, <p>, <h1>).

  • Inline elements can have margin and padding applied horizontally but not vertically.

  • Block...read more

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

Q9. Tell us about the Technical Knowledge you have about Linux and Networking.

Ans.

I have extensive technical knowledge in Linux and Networking, including experience with system administration, network configuration, and troubleshooting.

  • Proficient in Linux operating systems such as Ubuntu, CentOS, and Red Hat

  • Experience with network protocols such as TCP/IP, DNS, DHCP, and VPN

  • Skilled in configuring routers, switches, firewalls, and other network devices

  • Knowledge of security practices and tools for securing networks and systems

  • Familiar with virtualization tec...read more

Add your answer
Q10. System Design Question

Design Caching library

Add your answer
Q11. Puzzle

Number of edges in 10 * 10 cube

Add your answer

Q12. Data structure used to create a dictionary

Ans.

Hash table is commonly used data structure to create a dictionary.

  • Hash table is efficient for fast lookups and insertions.

  • Keys are hashed to generate an index where the value is stored.

  • Examples: Python dictionaries, Java HashMap, C++ unordered_map.

Add your answer

Q13. Create a counter component with button to start and stop timer every second and reset button.

Ans.

Create a counter component with start, stop, and reset buttons for a timer.

  • Create a state variable to store the current count

  • Use setInterval to increment the count every second when the timer is started

  • Add buttons to start, stop, and reset the timer

  • Implement functions for starting, stopping, and resetting the timer

Add your answer

Q14. Types of primitives in JS

Ans.

Primitives in JS are data types that are not objects and are immutable.

  • Types of primitives in JS include string, number, boolean, null, undefined, and symbol.

  • Primitives are passed by value, not by reference.

  • Examples: 'hello' (string), 42 (number), true (boolean), null, undefined, Symbol('foo')

Add your answer

Q15. Assumptions of Linear regression? Randonforesrt? information gain?

Ans.

Assumptions and characteristics of linear regression, random forest, and information gain.

  • Assumptions of linear regression include linearity, independence, homoscedasticity, and normality of residuals.

  • Random forest is an ensemble learning method that builds multiple decision trees and merges them together to improve performance.

  • Information gain is a measure used in decision trees to determine the relevance of a feature by calculating the reduction in entropy or impurity.

Add your answer

Q16. How to design uber

Ans.

Designing Uber involves creating a platform for on-demand transportation services.

  • Develop a user-friendly mobile app for customers to request rides

  • Implement a driver app for drivers to accept ride requests and navigate to pick-up locations

  • Build a backend system to match drivers with riders based on location and availability

  • Incorporate a payment system for seamless transactions

  • Include features like real-time tracking, ratings, and reviews for both drivers and riders

Add your answer

Q17. Last 2nd Highest salary in sql

Ans.

To find the last 2nd highest salary in SQL, use a subquery with the MAX function.

  • Use a subquery to find the maximum salary excluding the highest salary

  • Select the maximum salary from the result of the subquery

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

Interview Process at Apollo Pharmacy

based on 12 interviews in the last 1 year
Interview experience
3.8
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.7
 • 6.3k Interview Questions
4.0
 • 536 Interview Questions
3.8
 • 358 Interview Questions
4.1
 • 317 Interview Questions
4.0
 • 202 Interview Questions
4.3
 • 189 Interview Questions
View all
Top Ixigo.com Interview Questions And Answers
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