Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheKicker/Harvard-CS50
/ functions
Functions
97 in github.com/TheKicker/Harvard-CS50
⨍
Functions
97
◇
Types & classes
5
↳
Endpoints
15
↓ 16 callers
Function
apology
Render message as an apology to user.
week-9/finance/helpers.py:12
↓ 6 callers
Function
usd
Format value as USD.
week-9/finance/helpers.py:86
↓ 4 callers
Function
calculate
Returns number of seconds between b and a
week-5/homework/speller/speller.c:182
↓ 4 callers
Function
lookup
Look up quote for symbol.
week-9/finance/helpers.py:53
↓ 3 callers
Function
unload
Unloads dictionary from memory, returning true if successful, else false
week-5/homework/speller/dictionary.c:138
↓ 2 callers
Function
compute_score
week-2/lab/scrabble.c:36
↓ 2 callers
Function
hash
Hashes word to a number
week-5/homework/speller/dictionary.c:50
↓ 2 callers
Function
random_allele
Randomly chooses a blood type allele.
week-5/lab/inheritance/inheritance.c:133
↓ 1 callers
Function
blur
Blur image
week-4/homework/filter-less/helpers.c:100
↓ 1 callers
Function
calculate_dimes
week-1/homework/cash.c:57
↓ 1 callers
Function
calculate_nickels
week-1/homework/cash.c:64
↓ 1 callers
Function
calculate_pennies
week-1/homework/cash.c:71
↓ 1 callers
Function
calculate_quarters
week-1/homework/cash.c:50
↓ 1 callers
Function
check
Returns true if word is in dictionary, else false
week-5/homework/speller/dictionary.c:29
↓ 1 callers
Function
create_family
Create a new individual with `generations`
week-5/lab/inheritance/inheritance.c:40
↓ 1 callers
Function
discount
week-1/c-lecture-files/discount.c:4
↓ 1 callers
Function
draw
week-3/recursion.c:13
↓ 1 callers
Function
eliminate
Eliminate the candidate (or candidates) in last place
week-3/homework/runoff.c:227
↓ 1 callers
Function
escape
Escape special characters. https://github.com/jacebrowning/memegen#special-characters
week-9/finance/helpers.py:15
↓ 1 callers
Function
find_min
Return the minimum number of votes any remaining candidate has
week-3/homework/runoff.c:188
↓ 1 callers
Function
free_family
Free `p` and all ancestors of `p`.
week-5/lab/inheritance/inheritance.c:80
↓ 1 callers
Function
get_cents
week-1/homework/cash.c:38
↓ 1 callers
Function
grayscale
Convert image to grayscale
week-4/homework/filter-less/helpers.c:8
↓ 1 callers
Function
is_tie
Return true if the election is tied between all candidates, false otherwise
week-3/homework/runoff.c:209
↓ 1 callers
Function
load
Loads dictionary into memory, returning true if successful, else false
week-5/homework/speller/dictionary.c:71
↓ 1 callers
Function
longest_match
Returns length of longest run of subsequence in sequence.
week-6/homework/dna/dna.py:48
↓ 1 callers
Function
main
()
week-6/homework/dna/dna.py:5
↓ 1 callers
Function
main
()
week-6/homework/dna/databases/dna.py:5
↓ 1 callers
Function
main
()
week-6/lab/tournament.py:11
↓ 1 callers
Function
meow
first void is what the function is returning, in this case nothing it just prints meow is the name of our custom function meow takes in one parameter
week-1/pablo.c:6
↓ 1 callers
Function
print_family
Print each family member and their alleles.
week-5/lab/inheritance/inheritance.c:95
↓ 1 callers
Function
print_winner
Print the winner (or winners) of the election
week-3/homework/plurality.c:87
↓ 1 callers
Function
print_winner
Print the winner of the election, if there is one
week-3/homework/runoff.c:169
↓ 1 callers
Function
reflect
Reflect image horizontally
week-4/homework/filter-less/helpers.c:64
↓ 1 callers
Function
sepia
Convert image to sepia
week-4/homework/filter-less/helpers.c:30
↓ 1 callers
Function
simulate_game
Simulate a game. Return True if team1 wins, False otherwise.
week-6/lab/tournament.py:41
↓ 1 callers
Function
simulate_round
Simulate a round. Return a list of winning teams.
week-6/lab/tournament.py:49
↓ 1 callers
Function
simulate_tournament
Simulate a tournament. Return name of winning team.
week-6/lab/tournament.py:63
↓ 1 callers
Function
size
Returns number of words in dictionary if loaded, else 0 if not yet loaded
week-5/homework/speller/dictionary.c:124
↓ 1 callers
Function
tabulate
Tabulate votes for non-eliminated candidates
week-3/homework/runoff.c:147
↓ 1 callers
Function
vote
Update vote totals given a new vote
week-3/homework/plurality.c:67
↓ 1 callers
Function
vote
Record preference if vote is valid
week-3/homework/runoff.c:129
Function
about
()
week-9/2-parameters/app.py:15
Function
about
()
week-9/1-hello/app.py:11
Function
after_request
Ensure responses aren't cached
week-9/finance/app.py:26
Function
after_request
Ensure responses aren't cached
week-9/birthdays/app.py:17
Function
buy
Buy shares of stock
week-9/finance/app.py:75
Function
check_format
week-4/homework/reverse/reverse.c:37
Function
decorated_function
(*args, **kwargs)
week-9/finance/helpers.py:45
Function
get_block_size
week-4/homework/reverse/reverse.c:43
Function
get_value
(language)
week-7/favorites/favorites7.py:22
Function
greet
()
week-9/3-greet/app.py:11
Function
history
Show history of transactions
week-9/finance/app.py:121
Function
index
()
week-9/2-parameters/app.py:7
Function
index
()
week-9/3-greet/app.py:7
Function
index
Show portfolio of stocks
week-9/finance/app.py:36
Function
index
()
week-9/1-hello/app.py:7
Function
index
()
week-9/birthdays/app.py:26
Function
login
Log user in
week-9/finance/app.py:147
Function
login_required
Decorate routes to require login. https://flask.palletsprojects.com/en/latest/patterns/viewdecorators/
week-9/finance/helpers.py:37
Function
logout
Log user out
week-9/finance/app.py:186
Function
longest_match
Returns length of longest run of subsequence in sequence.
week-6/homework/dna/databases/dna.py:57
Function
main
week-3/recursion.c:6
Function
main
week-3/lecture.c:4
Function
main
week-3/homework/plurality.c:26
Function
main
week-3/homework/runoff.c:36
Function
main
week-1/pablo.c:14
Function
main
week-1/hello_world.c:3
Function
main
week-1/homework/cash.c:10
Function
main
week-1/homework/mario.c:4
Function
main
week-1/homework/hello.c:4
Function
main
week-1/c-lecture-files/discount.c:9
Function
main
week-1/c-lecture-files/mario.c:4
Function
main
main is similar to "when green flag clicked" in scratch
week-1/c-lecture-files/helloworld-with-scratchequivalent.c:5
Function
main
week-1/c-lecture-files/hello_world_advanced.c:4
Function
main
week-4/different.c:4
Function
main
week-4/string2.c:3
Function
main
week-4/string.c:17
Function
main
week-4/copy.c:7
Function
main
week-4/binky.c:6
Function
main
week-4/address.c:3
Function
main
week-4/homework/filter-less/filter.c:7
Function
main
week-4/homework/reverse/reverse.c:10
Function
main
week-4/homework/recover/recover-bad.c:8
Function
main
week-4/homework/recover/recover.c:7
Function
main
week-4/lab/volume.c:10
Function
main
week-2/length.c:4
Function
main
week-2/scores.c:4
Function
main
week-2/hello_world.c:3
Function
main
week-2/homework/readability.c:10
Function
main
week-2/homework/caesar.c:9
Function
main
week-2/lab/scrabble.c:11
Function
main
week-5/homework/speller/speller.c:20
Function
main
week-5/lab/inheritance/inheritance.c:24
Function
quote
Get stock quote.
week-9/finance/app.py:198
Function
register
Register user
week-9/finance/app.py:213
Function
sell
Sell shares of stock
week-9/finance/app.py:250