Spaces:
Runtime error
Runtime error
Update examples.txt
Browse files- examples.txt +0 -2
examples.txt
CHANGED
@@ -12,8 +12,6 @@
|
|
12 |
5. def search(arr, low, high, x): if high >= low: mid = (high + low) // 2 if arr[mid] == x: return mid elif arr[mid] > x: return search(arr, low, mid - 1, x) else: return search(arr, mid + 1, high, x) else: return -1
|
13 |
|
14 |
|
15 |
-
|
16 |
-
|
17 |
#### examples of insecure code
|
18 |
(obtained from https://hackernoon.com/10-common-security-gotchas-in-python-and-how-to-avoid-them-e19fbe265e03
|
19 |
and from http://www.pvv.org/~oma/InsecureCodingC_NDC_June2014.pdf)
|
|
|
12 |
5. def search(arr, low, high, x): if high >= low: mid = (high + low) // 2 if arr[mid] == x: return mid elif arr[mid] > x: return search(arr, low, mid - 1, x) else: return search(arr, mid + 1, high, x) else: return -1
|
13 |
|
14 |
|
|
|
|
|
15 |
#### examples of insecure code
|
16 |
(obtained from https://hackernoon.com/10-common-security-gotchas-in-python-and-how-to-avoid-them-e19fbe265e03
|
17 |
and from http://www.pvv.org/~oma/InsecureCodingC_NDC_June2014.pdf)
|