It's UWAweek 8

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 2 other people reading this forum.


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported

Login to reply

👍?
helpful
5:44am Sun 15th Oct, Christopher M.

ANONYMOUS wrote:
> I understand that the sample solutions DOES NOT sync empty directories, but it feels as if the syncing should sync over everything including empty directories/folders.
This has (just) been answered here - [help2002] and has been stated multiple times on this forum.
> This is especially true if you aren't using a hashtable and instead using some sort of tree structure where you cannot know whether a directory is empty unless you fully recurse into it and find out.
How (any) solution works is not a property of the chosen data-structure. The contents of (any) data-structure are simply constructed based on what you add to it, and (any) data-structure would(should) be chosen to meet the project's requirements, and the requirements do not change based on the choice of data-structure.
> So is this a hard rule where we must not sync empty directories at all?
Yes, if you wish your submission's output to match that of the sample solution against which it will be marked.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy