79213185

Date: 2024-11-21 23:25:52
Score: 2.5
Natty:
Report link

Is there an efficient way to find the indices of the rows that are repeating? For instance if the 2d array is:

2 5
1 2
2 5
1 2
2 3
1 2

I need a vector output like this:

0
1
0
1
4
1

where each entry points to the row index of original array.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there an
  • Low reputation (1):
Posted by: mhsgoud