Skip to content

alexhiguera/Exam_Rank_02_42_School

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

74 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Exam Rank 02 β€” 42 School πŸ“πŸš€

Every exercise that can appear in the 42 Common Core Exam Rank 02 β€” solved, explained, and organized by level.

Each exercise ships with its original subject, a bilingual explanation (πŸ‡¬πŸ‡§ English / πŸ‡ͺπŸ‡Έ Spanish), and a clean C solution written from scratch.

Stars Forks License Language Last commit


πŸ“– About

This repository gathers all 56 functions and programs that may show up in Exam Rank 02 of the 42 Common Core, grouped by the four difficulty levels of the exam.

Every solution is written by me. If you are a 42 student, the best way to use this repo is simple: read the subject, try to solve it yourself, and only then compare. The goal is to learn the patterns β€” not to memorize answers.

⚠️ The real exam runs in a closed environment and grades you with the Moulinette. Use these solutions to understand, not to copy.

πŸ—‚οΈ Repository structure

The exam has 4 levels of increasing difficulty. Each exercise lives in its own folder:

Level_X/
└── exercise_name/
    β”œβ”€β”€ README.md       # Original subject (English)
    β”œβ”€β”€ spanish.md      # Explanation in Spanish πŸ‡ͺπŸ‡Έ
    └── exercise.c      # My solution

πŸ“Š Progress β€” 56 / 56 βœ…

Level 1 🎫 Level 2 🎫 Level 3 🎫 Level 4 🎫
βœ… first_word βœ… alpha_mirror βœ… add_prime_sum βœ… flood_fill
βœ… fizzbuzz βœ… camel_to_snake βœ… epur_str βœ… fprime
βœ… putstr βœ… do_op βœ… expand_str βœ… ft_itoa
βœ… ft_strcpy βœ… ft_atoi βœ… ft_atoi_base βœ… ft_list_foreach
βœ… ft_strlen βœ… ft_strcmp βœ… ft_list_size βœ… ft_list_remove_if
βœ… ft_swap βœ… ft_strcspn βœ… ft_range βœ… ft_split
βœ… repeat_alpha βœ… ft_strdup βœ… ft_rrange βœ… rev_wstr
βœ… rev_print βœ… ft_strpbrk βœ… hidenp βœ… rostring
βœ… rot_13 βœ… ft_strrev βœ… lcm βœ… sort_int_tab
βœ… rotone βœ… ft_strspn βœ… paramsum βœ… sort_list
βœ… search_and_replace βœ… is_power_of_2 βœ… pgcd
βœ… ulstr βœ… last_word βœ… print_hex
βœ… max βœ… rstr_capitalizer
βœ… print_bits βœ… str_capitalizer
βœ… reverse_bits βœ… tab_mult
βœ… snake_to_camel
βœ… swap_bits
βœ… union
βœ… wdmatch

🎯 Total pool: 56 functions / programs β€” 12 (L1) Β· 19 (L2) Β· 15 (L3) Β· 10 (L4)

πŸš€ How to use it

  1. Pick an exercise and open its README.md to read the subject.
  2. Solve it yourself first. Build with the flags the exam uses:
    cc -Wall -Wextra -Werror your_solution.c
  3. Compare your version with the provided solution and understand the differences.

⚑ Practice the real exam

Train under real conditions:

🀝 Contributing

Found a bug, a cleaner approach, or a missing edge case? Contributions are welcome β€” open an issue or a pull request.

πŸ“œ License

Released under the MIT License β€” free to use, learn from, and share.


If this repo helped you pass, consider leaving a ⭐ β€” it helps other students find it.

Made with β˜• and a lot of -Wall -Wextra -Werror by Alex Higuera

About

All 42 School Exam Rank 02 exercises β€” solved & explained (EN/ES), organized by level. πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages