Help shape GoConqr. What should we add next?

Mind map

secondPart_<recursion>

Nicolas Acosta Spanish

Map content

secondPart_<recursion>

  1. Recursion is actually a function definition function in which it is used in the function's own function

  2. base case

    • is a scenario in which the application of a recursion does not make sense
  3. limit condition

    • It is very important if you want your function to finish
  4. maximum

    • ord
      • return the most bigger
  5. Quicksort

    • quicksort :: (Ord a) => [a] -> [a] quicksort [] = [] quicksort (x:xs) = let smallerSorted = quicksort [a | a <- xs, a <= x] biggerSorted = quicksort [a | a <- xs, a > x] in smallerSorted ++ [x] ++ biggerSorted
    • in other programming languages it requires more code lines
  6. take

    • recursive case that takes the elements of a list

Information

Description
Mind Map on secondPart_<recursion>, created by Nicolas Acosta on 27/02/2018.
Created by
Nicolas Acosta
Views
1
Rating

Feedback

What is it about?

What should we add next?