All test cases not passed

@lakshit hey your code is returning first occurence of m in given array but you need to find the last occurence.

for example-
for test case
4
1 2 1 3
1
your code is returning 0
but correct output is 2
hint- apply same logic but instead of iterating from start to end ,iterate from end to start