Find the median of two sorted arrays.
Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).
Input: nums1 = [1, 2], nums2 = [3, 4]
Output: 2.5
Explanation: The merged array is [1, 2, 3, 4]. The median is the average of th…
Read full questionSoftware Engineer
Prepfully 2026-11-07conf 75% Product Interpretation Statistics
Give examples of scenarios where focusing on the mean makes more sense than the median.
Data Scientist
Prepfully 2026-10-17conf 75% Design a live streaming platform for audio and video.
Software Engineer
Prepfully 2026-09-15conf 75% Product Design Product Sense
Design an interface for a retail mirror that allows users to request different items from a store associate.
Product Manager
Prepfully 2026-08-28conf 75% Problem Solving Situational Technical
Imagine a customer contacts you with a technical issue that you’re unfamiliar with. How would you go about solving it?
Customer Service Representative
Prepfully 2026-08-22conf 75% How would you design a system to regularly monitor and improve customer satisfaction?
Customer Experience Lead
Prepfully 2026-08-10conf 75% Design a system for real-time bidding in online advertising.
Software Engineer
Prepfully 2026-08-02conf 75% Ds Analytical Reasoning Product Sense
You launch a new feature but adoption is much lower than expected. How would you approach this?
Data Scientist
Prepfully 2026-07-15conf 75% Design a system for real-time analytics.
Machine Learning Engineer
Prepfully 2026-07-13conf 75% Estimate the daily sales of self-published books on the Kindle store.
Product Manager
Prepfully 2026-07-10conf 75% Propose a high-level design for a system that can handle millions of translation requests per second.
Engineering Manager
Prepfully 2026-06-29conf 75% Explain context switching and thread starvation in the context of blocking synchronous calls on a busy server
Software Engineer
Prepfully 2026-06-29conf 75% DS Technical Machine Learning ML Modeling
Walk me through how you would design and deploy an end-to-end ML pipeline using Spark and Databricks.
Data Scientist
Prepfully 2026-06-02conf 75% Behavioral Bug Squash Bugfixing Technical
Describe a difficult challenge you faced with a legacy system and your solution.
Software Engineer
Prepfully 2026-05-29conf 75% Outline the gossip protocol or consensus mechanism required to maintain cluster health and handle node discovery
Software Engineer #Distributed Systems
Prepfully 2026-05-28conf 75% What data structures handle high throughput counting while automatically dropping old events
Software Engineer
Prepfully 2026-05-27conf 75% Tell me about your incident response protocols if a zero day vulnerability is exploited in production
Software Engineer
Prepfully 2026-05-26conf 75% Explain how Python lists and dictionaries work under the hood, and solve this problem using them.
Data Scientist
Prepfully 2026-05-24conf 75% Machine Learning ML Modeling
How do you prepare a specialized dataset for LLM fine-tuning to ensure the model adopts the required domain-specific tone?
Data Scientist #LLM & GenAI
Prepfully 2026-05-20conf 75% Decomposition System Design Technical
Design an autocomplete Typeahead Suggestion system.
Software Engineer
Prepfully 2026-05-15conf 75%