This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arranged from smallest to largest, happiest to saddest, in order of increasing domination: | |
function common name | |
-------- ----------- | |
O( 1 ) :: constant | |
is a subset of O( log n ) :: logarithmic | |
is a subset of O( log^2 n ) :: log-squared [that's (log n)^2 ] | |
is a subset of O( root(n) ) :: root-n [that's the square root] | |
is a subset of O( n ) :: linear | |
is a subset of O( n log n ) :: n log n |
NewerOlder