DEV Community

Discussion on: #0 Hello World of DATA STRUCTURES

Collapse
 
abhilearnstocode profile image
Abhii

Good point Pierre!
My focus is more to explain the logic rather than going into the syntax of the language.
And yes, you are right about the isFull() and isEmpty() has no parameters but again I focused more on explaining rather than validating my code.

Thank you for your suggestions buddy!

Collapse
 
pgradot profile image
Pierre Gradot

If code is not you main concern because you want to focus on algorithms, then you may use pseudo-code instead ;) Using a incomplete or incorrect may confuse your readers and distract them from your real purpose.