Algorithm Designa67_q2a_stable_sort
Stable Sort
828a4da6-4fb9-4bb5-9691-f15d0c706319.cC
1// Loading code...Selected Submission
100 / 100
0.012s
6256 KB
ImplementationSorting
Time Comp.
O(n log n)
Space Comp.
O(n)
Readability
5/10
"The code sorts an array and then checks if a given query array is a permutation of the sorted array, and if it's sorted according to the original indices. The core logic involves sorting and checking for permutations, making "Implementation" and "Sorting" the most appropriate tags."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #1 | 100 | 2/26/2025 |