Interview Round DistributionClick any round below to filter
Topics:
Showing 20 of 95 results for PoshmarkPage 1 of 5
Coding
47
Merge Overlapping Intervals
Merge overlapping intervals in an array.
Input: intervals = [[1,4],[4,5]]
Output: [[1,5]]
Explanation: The intervals touch exactly at the 4 mark, so they are successfully merged into a single continuous interval.
Program ManagementTechnicalTechnical Project Retrospective
44
I am curious about your investigative process for finding technical bottlenecks and how you evaluate the give-and-take of different engineering solutions.
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.
Split Array into Consecutive Subsequences
Split an array into consecutive subsequences.
Input: nums = [1,2,3,4,4,5]
Output: FALSE
Explanation: The numbers can form [1,2,3,4], but the remaining leftover group [4,5] is too short to form a valid sequence of length 3.
Encode and Decode Strings
Encode a list of strings into a single string and decode it back.
Input: strs = ["","hello",""]
Output: ["","hello",""]
Explanation: Prepends chunk lengths and a delimiter (e.g., "0#5#hello0#") to safely encode and perfectly restore empty strings.
Decode Ways
Determine the number of valid ways to decode a string of digits.
Input: s = "10"
Output: 1
Explanation: The string can only be decoded one single way, as the sequence '10' maps exclusively to the letter 'J'.