C
C copied to clipboard
chore: Updated the coding structure for more readability.
Description of Change
- Used "typedef" before the "struct" for avoiding the repetition of same code while using "struct node".
- Used "for" loops for reducing the number fo lines and improved the readability of loops.
- Improved the variable names.
Checklist
- [x] Added description of change
- [x] Added file name matches File name guidelines
- [x] Relevant documentation/comments is changed or added
- [x] PR title follows semantic commit guidelines
Notes:Improved the readability of code