This repository contains solutions for the "Fix My Code Challenge." The challenge involves fixing code in various programming languages to address identified issues.
The FizzBuzz program had an issue where "FizzBuzz" was not correctly printed for multiples of 3 and 5.
The issue has been fixed in the 0-fizzbuzz.py
file. Now, the FizzBuzz program prints "FizzBuzz" for multiples of 3 and 5 as expected.
The JavaScript program for printing a square had issues with the loop, resulting in incorrect square printing.
The issue has been fixed in the 1-print_square.js
file. Now, the program correctly prints a square of the given size.
The Ruby program for sorting arguments had issues with its sorting logic.
The issue has been fixed in the 2-sort.rb
file. Now, the program correctly sorts the provided arguments.
The Python implementation of a User class had issues with the is_valid_password
method.
The issue has been fixed in the 3-user.py
file. Now, the is_valid_password
method works as intended.
The C implementation of a double linked list had issues with its output.
The specific issues with the double linked list implementation have been addressed. Please refer to the code in the 4-delete_dnodeint
directory for the corrected implementation.
For each task, you can find the corrected code in the respective files. Follow the instructions in each file's comments to use the fixed code.
[Aman Brhane]
This project is licensed under the MIT License.