My issue
even the answer was correct it was showing that Wrong Answer: Failed on a hidden test case.
My code
y = int(input())
for i in range(y):
m = int(input())
arr = list(map(int,input().split()))
for i in range(m):
count = 0
for j in range(m):
if arr[i] == arr[j]:
count += 1
print(count, end="")
print()
Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00A/problems/LPYAS171