Skip to content

Commit f508f9b

Browse files
authored
Update 002-Recursion.md
1 parent 8c801b6 commit f508f9b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

dsa/beginner/002-Recursion.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: recursion
2+
id: 0002-recursion
33
title: Recursion
44
sidebar_label: Recursion
55
tags:
@@ -13,8 +13,6 @@ tags:
1313
description: "This page explains the concept of Recursion with detailed explanations, examples, and code implementations."
1414
---
1515

16-
# Recursion
17-
1816
## 1. What is Recursion?
1917

2018
Recursion is a programming technique where a function calls itself in order to solve a problem. This technique divides the problem into smaller, more manageable sub-problems. A recursive function has two main parts:
@@ -100,7 +98,7 @@ Compute the factorial of a given number using recursion.
10098

10199
## 5. Constraints
102100

103-
- $0 <= n <= 12$ (for reasonable output)
101+
- $0 \leq n \leq 12$ (for reasonable output)
104102

105103
## 6. Algorithm for Recursion
106104

@@ -201,4 +199,4 @@ Compute the factorial of a given number using recursion.
201199
## 11. References
202200

203201
- [GeeksforGeeks - Recursion](https://www.geeksforgeeks.org/recursion/)
204-
- [Wikipedia - Recursion](https://en.wikipedia.org/wiki/Recursion_(computer_science))
202+
- [Wikipedia - Recursion](https://en.wikipedia.org/wiki/Recursion_(computer_science))

0 commit comments

Comments
 (0)