![]() |
.. (לתיקייה המכילה) | |
Init method - We are requested to implement it in O(1) time, but initializing | |
Yes. In the dry part - explain how to implement in O(1). In the wet part - implement in O(k) (due to c++ limitations). |
An employee's salary changes due to bonuses and cutbacks. What if later on he is fired and hired again. | |
Yes. In other words - you only have to maintain one value of a salary per employee. This one value will be his salary requirement and his salary in practice. |
Main.cpp doesn't work | |
The file was fixed, use latest version. |
Does Init k add companies with IDs 0 to k-1 or 1-k? | |
0 to k-1, as explained in the PDF. The tests were fixed accordingly. |