Skip to content

Commit 89e6c1c

Browse files
committed
test links with local references to embed code
1 parent d6acc2f commit 89e6c1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Arrays seems like the most fundamental data structure, so the first thing you sh
128128

129129
There are two types of arrays: static and dynamic. Static arrays have a fixed size, which means the size must be defined at compile time and cannot be changed during runtime. Dynamic arrays, on the other hand, can grow and shrink in size as needed during program execution. Understanding the difference between these two types is crucial for efficient memory management and performance optimization.
130130

131-
/data_structures/arrays/dynamic.py#L10-L17
131+
<data_structures/arrays/dynamic.py#L1-L22>
132132

133133
Use Case: Static arrays are ideal when memory is constrained and the maximum size is known in advance, such as embedded systems or when implementing fixed-size buffers. The size limitation provides safety against buffer overflows.
134134

@@ -138,4 +138,4 @@ Use Case: Dynamic arrays are ideal when the size of the data is unknown or chang
138138

139139
Binary search is a divide-and-conquer algorithm with O(log n) complexity that finds elements in sorted arrays by repeatedly halving the search interval. It's a fast and efficient way to search for elements in large datasets, first or last occurrence, or even the closest element to a target value.
140140

141-
https://github.com/ofou/code/blob/main/algorithms/binary_search.py#L1-L20
141+
<https://github.com/ofou/code/blob/d6acc2f87d969b74eee3e11e9314bb4e06313d9a/algorithms/binary_search.py#L1-L21>

0 commit comments

Comments
 (0)