Solve Unique Art

Find the number of elements that appear exactly once in each query subarray. Solving code challenges on HackerRank is one of the best ways to prepare for programming interviews.