munch2024 / munch

2 stars 11 forks source link

Remove Code Redundancy (Fixes #102) #105

Closed StacL closed 8 months ago

StacL commented 8 months ago

Description

This fixes issue #102

The code in question swaps 2 nodes in pairs in a linked list. The goal of this PR is to reduce rednundancy in unnecessary variables to enhance readability and maintainability of code.

StacL commented 8 months ago

ChatGTP Link: https://chat.openai.com/share/42251d02-b88e-478d-a6ee-02726c982117

Summary of Changes