Skip to content

Commit d744f62

Browse files
committed
Fixed a typo
1 parent b72cec4 commit d744f62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lessons/space-complexity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ While executing, an algorithm uses memory space for three reasons:
2121

2222
- **Environmental Stack**
2323
-- Sometimes an algorithm(function) may be called inside another algorithm(function). In such a situation, the current variables are pushed onto the system stack, where they wait for further execution and then the call to the inside algorithm(function) is made.\
24-
Ex. If a function A() calls function B() inside it, then all th variables of the function A() will get stored on the system stack temporarily, while the function B() is called and executed inside the funciton A().
24+
Ex. If a function A() calls function B() inside it, then all the variables of the function A() will get stored on the system stack temporarily, while the function B() is called and executed inside the function A().
2525

2626
- **Data Space**
2727
-- Amount of space used by the variables and constants.

0 commit comments

Comments
 (0)