This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:rakbar:portfolio [2014/09/29 03:56] – [Portfolio] rakbar | user:rakbar:portfolio [2014/09/29 04:14] (current) – rakbar | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | September 25th, 2014 (Week-05) | + | =====portfolio===== |
- | This week we started off talking about our second project which is Node_01. | ||
- | We discussed about | ||
- | mknode - allocates new node containing value | ||
- | mknode - It makes a duplicate node, just by calling cpnode, it makes a duplicate. | ||
- | rmnode - Frees the node/ de-allocates it. All contents of the node gets reset and it gets de-allocate | ||
- | it. | ||
- | |||
- | Link List | ||
- | |||
- | Link list insertions | ||
- | |||
- | insert/ | ||
- | Insert - Inserting has to be done before | ||
- | Append - Appending is done after. | ||
- | |||
- | A small example of an insertion | ||
- | |||
- | | ||
- | tmp = start; | ||
- | while(tmp2-> | ||
- | tmp = tmp-> | ||
- | tmp-> | ||
=====data===== | =====data===== |