Skip to content

xy-human/Fix_My_Code_Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

0x00. Fix my code

Details

  By Guillaume          Weight: 1                Ongoing project - started 01-03-2022, must end by 01-17-2022 (in 2 days)          - you're done with 60% of tasks.              Checker was released at 01-13-2022 12:00 PM              QA review fully automated.      ## Background Context

Fix my code is a new type of project, where we’ll jump into an existing code base and fix it! Sometimes you will know the language, sometimes not. Please download the repository 0x00-Fix_My_Code_Challenge and use it as initial files for all solutions. You should not recode everything, just fix it! This project is NOT mandatory at all. It is 100% optional. Doing any part of this project will add a project grade of over 100% to your average. Your score won’t get hurt if you don’t do it, but if your current average is greater than your score on this project, your average might go down. Have fun!

Requirements

General

  • Allowed editors: vi , vim , emacs
  • All your files will be compiled on Ubuntu 20.04 LTS
  • All your files should end with a new line
  • A README.md file, at the root of the folder of the project is mandatory

Tasks

0. FizzBuzz

      #advanced         Progress vs Score  Task Body Please take a look at my implementation of FizzBuzz in Python:  [source code](https://github.com/holbertonschool/Fix-my-code-0/blob/master/0-fizzbuzz.py) 

Something is going wrong….

$ ./0-fizzbuzz.py 50
1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 Fizz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz Buzz 26 Fizz 28 29 Fizz 31 32 Fizz 34 Buzz Fizz 37 38 Fizz Buzz 41 Fizz 43 44 Fizz 46 47 Fizz 49 Buzz
$

15 should print FizzBuzz not Fizz Task URLs Github information Repo:

  • GitHub repository: Fix_My_Code_Challenge
  • Directory: 0x00-challenge
  • File: 0-fizzbuzz.py Self-paced manual review Panel footer - Controls

1. Print square

      #advanced         Progress vs Score  Task Body Please take a look at my implementation of printing a square in Javascript:  [source code](https://intranet.hbtn.io/rltoken/1HbXCw-nF028p5VlBAfedQ) 

Something is going wrong….

$ ./1-print_square.js 4
####
####
####
####
$ ./1-print_square.js 10
################
################
################
################
################
################
################
################
################
################
################
################
################
################
################
################
$

./1-print_square.js 10 should print a square of size 10… Task URLs Github information Repo:

  • GitHub repository: Fix_My_Code_Challenge
  • Directory: 0x00-challenge
  • File: 1-print_square.js Self-paced manual review Panel footer - Controls

2. Sort

      #advanced         Progress vs Score  Task Body Please find here my implementation of sorting arguments in Ruby:  [source code](https://intranet.hbtn.io/rltoken/5E7Rrq_70OutipYULjh6Gw) 

Something is going wrong…. $ ruby 2-sort.rb 12 41 2 C 9 -9 31 fun -1 32 31 32 12 41 2 9 -9 -1 $ Task URLs Github information Repo:

  • GitHub repository: Fix_My_Code_Challenge
  • Directory: 0x00-challenge
  • File: 2-sort.rb Self-paced manual review Panel footer - Controls

3. User password

      #advanced         Progress vs Score  Task Body Please find here my implementation of a User class in Python:  [source code](https://github.com/holbertonschool/Fix-my-code-0/blob/master/3-user.py) 

Something is going wrong…. $ ./3-user.py Test User is_valid_password should return True if it's the right password $ My tests should not print any error… Task URLs Github information Repo:

  • GitHub repository: Fix_My_Code_Challenge
  • Directory: 0x00-challenge
  • File: 3-user.py Self-paced manual review Panel footer - Controls

4. Double linked list

      #advanced         Progress vs Score  Task Body Please find here my implementation of a Double linked list in C:  [source code](https://intranet.hbtn.io/rltoken/YvS8G70JQA-5q_qce9MjIg) 

Something is going wrong….

$ gcc -Wall -pedantic -Werror -Wextra -std=gnu89 main.c free_dlistint.c print_dlistint.c add_dnodeint_end.c delete_dnodeint_at_index.c -o delete_dnodeint
$ ./delete_dnodeint 
0
1
2
3
4
98
402
1024
-----------------
0
1
2
3
4
0
402
1024
-----------------
1
2
3
4
0
402
1024
-----------------
2
3
4
0
402
1024
-----------------
3
4
0
402
1024
-----------------
4
0
402
1024
-----------------
0
402
1024
-----------------
402
1024
-----------------
-----------------
-----------------
-----------------
-----------------
-----------------
-----------------
-----------------
-----------------
-----------------
$

It doesn’t look right… Task URLs Github information Repo:

  • GitHub repository: Fix_My_Code_Challenge
  • Directory: 0x00-challenge
  • File: 4-delete_dnodeint/ Self-paced manual review Panel footer - Controls

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published