Data Structured66_f1_longest_find
Hash Longest Find
b8f0ddab-524f-428c-8cdc-432362b343f8.cppC++
1// Loading code...Selected Submission
45 / 100
0.014s
1516 KB
ArrayHash Set
Time Comp.
O(m*n)
Space Comp.
O(n)
Readability
4/10
"The code utilizes a vector to store data and a set to keep track of visited indices during the search process. The core logic revolves around array manipulation and searching, making 'Array' and 'Set' the most relevant tags. The problem involves simulating operations on an array with specific rules."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #6 | 45 | 11/30/2024 |
| Try #5 | 100 | 11/30/2024 |
| Try #4 | 15 | 11/30/2024 |
| Try #3 | 15 | 11/30/2024 |
| Try #2 | 15 | 11/30/2024 |
| Try #1 | 15 | 11/30/2024 |