Gracenote Interview Question: Round 2: Find identical posit... |

Interview Question

Senior Software Specialist Interview Mumbai

Round 2: Find identical position pair in array and give

  their count. If A is array with N numbers then two positions(i,j) are identical if A[i] = A[j] and i<j<n.

Interview Answer

1 Answer


Loop through array twice and check if A[i] = A[j] and i

Interview Candidate on 01-Jan-2019

Add Answers or Comments

To comment on this, Sign In or Sign Up.