Open ZinchenkoArtem1 opened 4 years ago
I want to write about Stacks and Queues.
Stacks
When a precondition of a method is violated, the right thing to do is to throw a RuntimeException (or a subclass). Violations of preconditions and postconditions are bugs in the program, so a runtime exception makes sure that the bug is obvious when the program is executed.
Queues
Ось власноруч зроблена табличка для HashMap з кількома основними методами :)