PharmEasy frontend mock interview
Pick from 8 questions candidates reported at PharmEasy or its interview guide picks, solve them against the clock, then answer the follow-ups.
Build your interview
Pick up to 6 questions, or add them at random. They share one clock and open in any order.
PharmEasy's 8 questions are part of Pro. Choose Google, Meta, Amazon, Microsoft and Flipkart to pick from their free questions.
Your interview
0 of 6
0min on one clock
- 1Choose a free company to start
PharmEasy mock interviews are part of Pro
With a free account you can take mock interviews for Google, Meta, Amazon, Microsoft and Flipkart.
The PharmEasy loop
The rounds PharmEasy runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1Algorithms and data structuresAn hour on a shared text editor with three array problems, such as maximum subarray sum, solved at the best possible time complexity.
- 2JavaScript technicalClosures, inheritance and hoisting, a tree problem in JavaScript that uses closures, a Promise.all polyfill, and theory on security, design patterns and dependency injection.
- 3Hiring managerDesigning one page of the PharmEasy website: how to split it into components, how to make it efficient, and estimations.
- 4HRBasic HR questions and salary negotiation.
- The full PharmEasy interview guide
PharmEasy questions in this mock interview
Every one of them opens with Pro.
JavaScript round5
- Implement Promise.all() from scratch35 min
- Escape HTML and sanitize URLs to close XSS holes30 min
- Implement binary search and its variants: insert position, first and last match, rotated arrays30 min
- Find the top k frequent items and the k-th largest number with quickselect40 min
- Find the maximum subarray with Kadane's algorithm and the best time to buy and sell a stock20 min
React & UI round1
How the mock interview works
- 1Step 1
Build your interview
Pick how many questions you want from each round, the level and a company. Google, Meta, Amazon, Microsoft and Flipkart are free with an account; every other company is in Pro.
- 2Step 2
Solve them against the clock
The room goes full screen: your questions down the left, the problem beside a real editor with tests, and one clock for the whole set. Open the questions in any order.
- 3Step 3
Answer the follow-ups
Then the interviewer asks follow-up questions. Answer each one out loud, open the model answer, and grade yourself as strictly as an interviewer would.
- 4Step 4
Read your debrief
Tests or design, follow-ups and time add up to a score out of 100 for each question, with the verdict a debrief would give. Every score is saved to your dashboard.