give array integer arr integer k Find number unique integer remove exactly k element Example 1input arr 554 k 1output 1Explanation Remove single 4 5 leftExample 2Input arr 4311332 k 3output 2Explanation Remove 4 2 1s 3s 1 3 leave Constraints1 arrlength 1051 arri 1090 k arrlength