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…