Check Value Occurrence by Position and Half
Asked at Upstart · Coding Questions · Difficulty: Easy
Given an integer `value` and an even-length integer array `nums`, output four `0/1` flags:
Loading the problem…
More Upstart interview questions
- Design an Online Chess Platform (Matchmaking, Live Games, Clocks)
- Maximum Cities Visited Traveling West to East with Lexicographic City Names
- Decrypt String (Two-Cipher Relay)
- Parse a Comma-Separated String with Quoted Fields
- Remove Duplicate Integers While Preserving Order
- Babysitter Quote with Time-of-Day Rate Bands