Category: String coding problemA stock exchange processes a stream of trade orders sequentially. Each order specifies a limit price, a quantity of shares, and a side (either...Input: List Output: Computed result
codingMediumVerified Question#2
2. Social Network Money Transfers
Category: Trie-based coding problemYou are building the backend for a peer-to-peer payment app embedded in a social network. The system processes a sequence of commands, one per line,...Input: String Output: Printed output
codingMediumVerified Question#3
3. Top 10 Words
Category: Trie-based coding problemGiven a string of text, find the ten most frequently occurring words. A word is defined as any maximal sequence of consecutive alphabetic characters...Input: List Output: Array
codingMediumVerified Question#4
4. Candlestick Data Generator
Category: Interval-based coding problemA trading platform displays price data as candlestick charts. Each candlestick summarizes trading activity over a fixed time interval and contains...Input: List Output: Computed result
codingMediumVerified Question#5
5. Find Middle Course
Category: Algorithm coding problemA university curriculum is structured as a sequence of prerequisite pairs. Each pair [prereq, course] means prereq must be taken before course.Input: Integer(s) Output: Computed result
codingMediumVerified Question#6
6. Employee Referral Program
Category: Tree coding problemA company runs a referral program where employees can refer new hires. When employee A refers employee B, A receives credit not only for B but also...Input: List Output: Computed result
codingMediumVerified Question#7
7. Fractional Order
Category: Algorithm coding problemA brokerage supports fractional share trading. All share quantities are represented in hundredths (e.g., 150 means 1.50 shares). The system maintains...Input: List Output: Computed result
codingMediumVerified Question#8
8. Margin Call
Category: Trie-based coding problemA brokerage account starts with $1000 in cash and no stock positions. You are given a list of trades, where each trade is represented as `[timestamp,...Input: List Output: Computed result
codingMediumVerified Question#9
9. Load Factor Calculation
Category: Graph coding problemA microservice architecture is modeled as a directed acyclic graph (DAG). Each service may depend on other services. Traffic enters the system...Input: Graph (nodes and edges) Output: Array
codingMediumVerified Question#10
10. Maximize Future Portfolio Value
Category: Algorithm coding problemYou have a budget of m dollars to invest in securities. Each security is described by [symbol, currentPrice, futurePrice, maxShares]. Fractional...Input: Integer(s) Output: Integer
codingMediumVerified Question#11
11. [Web Eng] Event Logger
Category: Interval-based coding problemYou are building a client-side event logging system for a web application. The page contains several colored elements that users can click. Your task...Input: Array Output: Computed result
No AI generated questions yet for Robinhood.
Start practicing Robinhood questions
Sign up for free to access walkthroughs, AI-generated questions, and more.