Giter VIP home page Giter VIP logo

42-exam-miner----basic's Introduction

! 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 

โœŒ๏ธ ๐Ÿ™Œ

42-School--C- Basic Exam Pisicne Questions and Solution's

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. -_-

42 Intra Name -> maparmar
Email -> ๐Ÿ“ง
INTRA SNIPPET

Screen Shot 2019-05-30 at 11 35 16 PM

LLDB Basic Working Steps:imp:

  1. gcc -Wall -Wextra -Werror filename.c -g
  2. lldb ./a.out -- > Used to go into LLDB mode.
  3. b main --> to set breakpoint
  4. r --> run
  5. gui ---> Graphic User Interface.
  6. use 's' key to go to each next step.

Steps to clone the work

  1. cd ~
  2. git clone https://github.com/Manmeet2018/C--Basic--Examshell--42---Piscine.git
  3. cd C--Basic--Examshell--42---Piscine.git
  4. Search Questions as per level.
  5. 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.

^-^ Status Report ๐Ÿ’€

char *:star2: = "Good_Question's";
char *:smiling_imp: = "Very_Good_question's";

Subject Status level 0 โœ”๏ธ

  1. ft_countdown โœ…
  2. ft_print_numbers โœ…
  3. hello โœ…
  4. aff_a โœ…
  5. aff_first_param โœ…
  6. aff_last_param โœ…
  7. aff_z โœ…
  8. maff_alpha โœ…
  9. maff_revalpha โœ…
  10. only_z โœ…
  11. only_a โœ…

Subject Status level 1 โœ”๏ธ

  1. first_word โœ…
  2. ft_putstr โœ…
  3. ft_strcpy โœ…
  4. ft_strlen โœ…
  5. ft_swap โœ…
  6. repeat_alpha โœ…
  7. rev_print โœ…
  8. rot_13 โœ…
  9. rotone โœ…
  10. search_and_replace โœ…
  11. ulstr โœ…

Subject Status level 2 โœ”๏ธ

  1. alpha_mirror โœ…
  2. do_op โœ…
  3. ft_atoi โœ…
  4. ft_strcmp โœ…
  5. ft_strdup โœ…
  6. ft_strrev โœ…
  7. inter โœ… ๐ŸŒŸ ๐ŸŒŸ -> used Memorization method to get it done in a O(N) time complexity
  8. is_power_of_2 โœ…
  9. last_word โœ…
  10. max โœ…
  11. print_bits โœ…
  12. reverse_bits โœ…
  13. swap_bits โœ…
  14. union โœ…
  15. wdmatch โœ…

Subject Status level 3 โœ”๏ธ

  1. add_prime_sum โœ…
  2. epur_str โœ…
  3. expand_str โœ…
  4. ft_atoi_base โœ…
  5. ft_list_size โœ…
  6. ft_range โœ…
  7. hidenp โœ…
  8. lcm โœ… -> Various method with iteration and Recursion (Euclidean Algorithm)
  9. paramsum โœ…
  10. pgcd โœ…
  11. print_hex โœ…
  12. rstr_capitalizer โœ…
  13. str_capitalizer โœ…
  14. tab_mult โœ…

Subject Status level 4 โœ”๏ธ

  1. fprime โœ… -> Improved time complexity by figuring out with Odd and Even number.
  2. ft_itoa โœ…
  3. ft_list_foreach โœ…
  4. ft_list_remove_if โœ… ๐ŸŒŸ
  5. ft_split โœ… ๐ŸŒŸ
  6. rev_wstr โœ…
  7. rostring โœ…
  8. sort_int_tab โœ… -> ๐ŸŒŸ Merge Sort o(NlogN).
  9. sort_list โœ…
  10. flood_fill โœ… ๐Ÿ˜ˆ ๐Ÿ˜ˆ

Subject Status level 5 ๐ŸŒŸ ๐ŸŒŸ โœ”๏ธ

  1. brackets โœ…
  2. brainfuck โœ… ๐Ÿ˜ˆ
  3. ft_itoa_base โœ… -> Shortest Solution
  4. options โœ…
  5. print_memory โœ… ๐Ÿ˜ˆ
  6. rpn_calc โœ…

42-exam-miner----basic's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.