Skip to content

Commit fd6faef

Browse files
author
Philip Guo
committed
bits are cheap
1 parent f58ba4d commit fd6faef

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

edu-python.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ table#pyCodeOutput .cod {
174174

175175
div#editCodeLinkDiv {
176176
text-align: center;
177-
margin-top: 8px;
177+
margin-top: 12px;
178178
margin-bottom: 4px;
179179
}
180180

questions/optimize-search.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,15 @@ result = 32
5252

5353
Test:
5454
haystack = range(64)
55-
needle = 65
55+
needle = 3
56+
result = search(haystack, needle)
57+
58+
Expect:
59+
result = 3
60+
61+
Test:
62+
haystack = range(64)
63+
needle = 1000
5664
result = search(haystack, needle)
5765

5866
Expect:

0 commit comments

Comments
 (0)