You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the expected output for the FILE_SEARCH_AT operation:
found at [Update1.txt, Update1Copy.txt, Update2.txt]
Why is Update2.txt at the end? According to the description of FILE_SEARCH from Level 2:
FILE_SEARCH(prefix)
Find top 10 files starting with the provided prefix. Order results by their size in descending order, and in case of a tie by file name.
Sorting by size descending is the primary sort key. From the test data, Update2.txt has the largest size (200 kB), followed by Update1.txt and UpdateCopy.txt (150 kB, which are themselves ordered ascending by their name as the secondary sort key).
Should the expected output not instead be:
found at [Update2.txt, Update1.txt, Update1Copy.txt]
The text was updated successfully, but these errors were encountered:
The tested operations for Level 4:
And the expected output for the
FILE_SEARCH_AT
operation:Why is
Update2.txt
at the end? According to the description ofFILE_SEARCH
from Level 2:Sorting by size descending is the primary sort key. From the test data,
Update2.txt
has the largest size (200 kB), followed byUpdate1.txt
and UpdateCopy.txt
(150 kB, which are themselves ordered ascending by their name as the secondary sort key).Should the expected output not instead be:
The text was updated successfully, but these errors were encountered: