Strings starting with prefix, Knapsack, Two ropes puzzle, and Max 1s row
Filed under OYO
The question
Given an array of strings, count and implement insert/search functions for strings starting with a specific prefix. Solve the 0/1 knapsack problem, measure 45 minutes using two identical wires puzzle, and find the row with the maximum number of 1s in a matrix.
No write-up yet. Related questions below have one.
Related OYO questions
Collected from public candidate posts and coding forums. Updated Nov 2026.