Implement String Compression
Implement string compression.
Input: chars = ["a","b","b","b","b","b","b","b","b","b","b","b","b"]
Output: ["a","b","1","2"]
Explanation: The letter 'a' appears once (so no number is appended), and 'b' appears 12 times, modifying the array in place to length 4.
Software Engineer #Strings
Prepfully 2026-11-19conf 75% Analytical Product Strategy
Design the conversion funnel to move free users to paid subscriptions.
Product Manager #Product Strategy
Prepfully 2026-11-16conf 75% Role Knowledge Situational
How would you ensure effective collaboration with the sales team to identify upsell and cross-sell opportunities within your customer base?
Customer Experience Lead
Prepfully 2026-11-03conf 75% Product Design Product Sense
How would you solve the problem of no-shows in a service marketplace?
Product Manager
Prepfully 2026-10-15conf 75% Product Design Product Sense
Design a Family Safety Score dashboard that gives parents a high-level view of their children’s digital habits.
Product Manager
Prepfully 2026-09-27conf 75% How would you architect a platform for real-time ad auctions?
Engineering Manager
Prepfully 2026-09-06conf 75% Behavioral Product Execution
Tell me about a time you saw a team manipulating a metric. How did you change it?
Product Manager
Prepfully 2026-09-06conf 75% Product Design Product Strategy
Design a UI element for search results that suggests sustainable alternatives.
Product Manager
Prepfully 2026-09-03conf 75% Role Knowledge Situational
How would you write an email to a customer who gave you a low NPS score, making sure to address their feedback?
Customer Experience Lead
Prepfully 2026-08-27conf 75% Product Design Product Sense
How would you design a product for a public library?
Product Manager
Prepfully 2026-08-17conf 75% Product Design Product Sense Technical
Imagine you are the PM for Google Maps; how would you handle the data ingestion needed to show live parking availability?
Product Manager
Prepfully 2026-08-08conf 75% Design a search autocomplete system.
Software Engineer
Prepfully 2026-07-25conf 75% Validate if a given tree is a valid binary search tree.
Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key…
Read full questionSoftware Engineer #Trees & Tries #Binary Search
Prepfully 2026-07-21conf 75% Product Design Product Sense
How would you design a substitute finder for when a specific cheese in a recipe is unavailable at the store?
Product Manager
Prepfully 2026-07-10conf 75% If a frontend requires highly variable nested data structures which API paradigm is superior
Software Engineer
Prepfully 2026-06-21conf 75% Problem Solving Situational
Have you ever had to turn down a request from a customer? How did they take it, and what did you do afterward?
Customer Service Representative
Prepfully 2026-06-08conf 75% Your application handles sensitive financial data so how do you secure it in transit and at rest
Software Engineer
Prepfully 2026-06-01conf 75% Suppose publishers stream millions of events per second so detail the disk write optimizations that handle this load
Software Engineer
Prepfully 2026-05-31conf 75% Outline the gossip protocol or consensus mechanism required to maintain cluster health and handle node discovery
Software Engineer #Distributed Systems
Prepfully 2026-05-25conf 75% Tell me about dependency inversion and why relying on abstractions is critical for building scalable software architecture
Software Engineer
Prepfully 2026-05-16conf 75%