Coding Problems
Bank Account Class
MediumImplement a BankAccount class with deposit/withdraw methods
Rectangle Class
EasyCreate a Rectangle class with area and perimeter methods
Frequency Dictionary
EasyCreate a dictionary showing how many times each element appears in a list
Max Value Key
EasyFind the key with the maximum value in a dictionary
Merge Dictionaries
EasyCombine two dictionaries into one (second dict overwrites first on conflict)
Remove all instances of given element from list
Rotate List Left
EasyRotate list left by k positions (elements wrap around)
Anagram Check
EasyCheck if two strings are anagrams (same characters different order)
Remove duplicate characters from string while preserving order
Collatz Sequence
EasyGenerate sequence: if n even → n/2, if odd → 3n+1, until 1