! If you want to contribute then please fork the repo make new Branch by the name of
! "Level_ProblemName_{Intra Name}" and provide the PR of your solution with a detail explanation.
- ! ALERT
+ Success will be considered if below points is taken into account.
@@ All test cases got passed. @@
@@ Solution should be in C language only. @@
@@ 42 school header included. @@
@@ Code should have valid comments. @@
@@ PR (Pull Request) should be explained correctly. @@
For Donation please use below address
0xF164A4DE04D55f268AdB795434BcE932Ea8Db731
- => If you found helpful then please do follow and give a star
For Donation please use below address
0xF164A4DE04D55f268AdB795434BcE932Ea8Db731
- => If you found helpful then please do follow and give a star
βοΈ π
Repository is used for the prepration of C - beginner exam in 42 School Silicon Valley. It contains all of the Beginner Questions and solutions to it.
Solution provided are fully tested and written by me, for some problem's there are more then one solution.
For better understanding pull the work and use debugger(LLDB or GBD) to see how each step works. Any suggestion's will be highly appreciated. -_-
Email -> π§
- gcc -Wall -Wextra -Werror filename.c -g
- lldb ./a.out -- > Used to go into LLDB mode.
- b main --> to set breakpoint
- r --> run
- gui ---> Graphic User Interface.
- use 's' key to go to each next step.
- cd ~
- git clone https://github.com/Manmeet2018/C--Basic--Examshell--42---Piscine.git
- cd C--Basic--Examshell--42---Piscine.git
- Search Questions as per level.
- Located at various directory distinguished by there difficulty levels and see the subject.en.txt to undertsand the question and for solutions see the *.c files and there working.
char *:star2: = "Good_Question's";
char *:smiling_imp: = "Very_Good_question's";
- ft_countdown β
- ft_print_numbers β
- hello β
- aff_a β
- aff_first_param β
- aff_last_param β
- aff_z β
- maff_alpha β
- maff_revalpha β
- only_z β
- only_a β
- first_word β
- ft_putstr β
- ft_strcpy β
- ft_strlen β
- ft_swap β
- repeat_alpha β
- rev_print β
- rot_13 β
- rotone β
- search_and_replace β
- ulstr β
- alpha_mirror β
- do_op β
- ft_atoi β
- ft_strcmp β
- ft_strdup β
- ft_strrev β
- inter β π π -> used Memorization method to get it done in a O(N) time complexity
- is_power_of_2 β
- last_word β
- max β
- print_bits β
- reverse_bits β
- swap_bits β
- union β
- wdmatch β
- add_prime_sum β
- epur_str β
- expand_str β
- ft_atoi_base β
- ft_list_size β
- ft_range β
- hidenp β
- lcm β -> Various method with iteration and Recursion (Euclidean Algorithm)
- paramsum β
- pgcd β
- print_hex β
- rstr_capitalizer β
- str_capitalizer β
- tab_mult β
- fprime β -> Improved time complexity by figuring out with Odd and Even number.
- ft_itoa β
- ft_list_foreach β
- ft_list_remove_if β π
- ft_split β π
- rev_wstr β
- rostring β
- sort_int_tab β -> π Merge Sort o(NlogN).
- sort_list β
- flood_fill β π π
- brackets β
- brainfuck β π
- ft_itoa_base β -> Shortest Solution
- options β
- print_memory β π
- rpn_calc β