Category: Grid/matrix coding problemYou are given an M x N grid of security zones. Each cell contains one of the following values: - 1 -- the zone is cleared - 0 -- the zone...Input: 2D grid Output: Computed result
codingMediumVerified Question#2
2. Circular Signal Window
Category: Array coding problemYou are given a circular array signal of 0s and 1s representing antenna readings logged in sequence, where 1 means good signal and 0 means...Input: Array Output: Integer
codingMediumVerified Question#3
3. Pattern First Occurrence
Category: String coding problemYou are given a search pattern and a log string, both consisting of uppercase letters and the wildcard character *. The * wildcard matches...Input: String Output: Computed result
codingMediumVerified Question#4
4. [CodeSignal] Minimum Score Suppressor
Category: Algorithm coding problemYou are given a list of ad budgets (integers) and an integer k representing the number of throttle operations available. Each operation selects...Input: List Output: Integer
codingMediumVerified Question#5
5. [CodeSignal] Optimal Voucher Allocation
Category: Algorithm coding problemYou are given couponsCount discount coupons and a list of monthly service fees. Each coupon halves one service fee using integer floor division....Input: List Output: Integer
codingMediumVerified Question#6
6. Remove Consecutive for Balance
Category: Array coding problemYou are given a list of track lengths tracks and a positive integer k. Remove exactly k consecutive tracks from the list so that the sum of...Input: Array Output: Computed result
codingMediumVerified Question#7
7. Path Prefix Router
Category: String coding problemDesign a CDN route manager class CdnRouter that maps URL paths to origin servers using longest-prefix matching. Implement the following methods: -...Input: String Output: Computed result
codingMediumVerified Question#8
8. Bounded Repeat Substring
Category: String coding problemA sensor data stream is represented as a string of characters. A contiguous segment of the stream is considered valid if it contains no three...Input: String Output: Computed result
No AI generated questions yet for TikTok.
Start practicing TikTok questions
Sign up for free to access walkthroughs, AI-generated questions, and more.