about | help | code help+videos | done | prefs |
konstans@stuy.edu intro
Testing Codingbat
Basic Calculation
Basic Booleans
monkey_trouble H parrot_trouble H
makes10 H near_hundred H pos_neg H
Decisions: (numerical)
diff21 H no_teen_sum sorta_sum
More booleans: (can be done without if statements, but using an if-statemnet can partition your logic)
Magic Pair (more complex descision)
Loop numbers
sumFromZeroToN H sumAtoB fiveSumFromZeroToN specialSumInclusive
specialSumExclusive sumOfFirstNSquares sumSquaresBetween sumOfPowers
Looping over digits
countDigits countOddDigits countPrimeDigits
Hailstone
String no loops
hello_name H make_abba H make_tags
make_out_word extra_end first_two
Strings and Loops
isVowel countVowels noVowels isConsonant
Character Manipulation:
shiftCharacterByOne shiftCharacter shiftWordByOne shiftWord myUpper myCapitalize
Rot13 and chr()/ord() related problems:
rot13Char rotXChar rot13 rotX myInt
String 2 from the main codingbat site
double_char H count_hi H cat_dog
count_code end_other H xyz_there
More String
plusOut xyBalance repeatFront getSandwich
isCap hasThreeCaps noConsecutiveCaps noConsecutiveCapsSpecial sameStartChar
Removal from strings
removeCharFromString removeFromString removeOuterSpaces
List problems (no loops)
make_pi same_first_last H common_end has23
List problems - single loop
count_evens H big_diff centered_average
List/String problems
List creation problems
makeListOneToN makeListNEvens makeEvenListToN makeHailList makeFibList
Processing text
pigLatinSimple pigLatin pigLatinBest
capitalizeSentence pigLatinMultiple
Recursion practice
Normal Practice: kthEven reverse
Tricky:
equalAnyVowels
Authoring docs
Copyright Nick Parlante 2017 - privacy