Chloé Dumit
Chloé Dumit

Feb 9, 2021

·
1 min read

A picture is worth… 1.500 words

Simple recursion explanation
Simple recursion explanation

Here´s an example with some code…

float _pow_recursion(float x, float y)
{
if (y == 0)
return (1);
if (y < 0)
return (_pow_recursion(x, y + 1) / x);

return (_pow_recursion(x, y - 1) * x);
}

--

--

More from Chloé Dumit

Recommended from Medium

Aakash Bhardwaj

Aakash Bhardwaj

AZURE KUBERNETES SERVICE

M Khan

M Khan

Brief 02: CSS From Life

Ankit Parashar

Ankit Parashar

HackTheBox — Silo — Manual Exploitation

Yan Fan

Yan Fan

in

Code Chrysalis [コードクリサリス]

How to Get Into Code Chrysalis — All About Our Admissions Process

srinivas kumar r

srinivas kumar r

A Python STOMP Client for interaction with A Springboot Server

Emma Boutoille

Emma Boutoille

SunFounder’s 4-DOF Sloth Robot: A Fun Project For Robot-Loving Beginners

Sorrel Harriet

Sorrel Harriet

Does academic culture support collaborative software development?

Akira Taniguchi

Akira Taniguchi

in

Dev Protocol  —  Accelerating Web3 with Clubs

Releasing Niwa and YouTube Market

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Get unlimited access
Chloé Dumit

Chloé Dumit

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech