Is node some kind of keyword or some other word can be used for each bucket?
What is a node?
hey @gargprachi1203
Node is a self refrential class(class having a pointer which points to object of same class) where
Each node of a list is made up of two items - the data and a reference to the next node
What I meant was if instead of node I want to use some other word for example ‘‘Bucket’’, can I use it? There is nothing specific about node right?
Yes you can , give whatever name you want to give to your class
If this resolves your query then please mark it as resolved
1 Like