Coding Problems

Implement a BankAccount class with deposit/withdraw methods

Not Started
OOP 1000ms

Create a Rectangle class with area and perimeter methods

Not Started
OOP 1000ms

Add text to the end of an existing file

Not Started
File I/O 1000ms

Remove empty lines from a file

Not Started
File I/O 1000ms

Count the number of words in a text file

Not Started
File I/O 1000ms

Copy contents of one file to another

Not Started
File I/O 1000ms

Count the number of lines in a text file

Not Started
File I/O 1000ms

Create a dictionary showing how many times each element appears in a list

Not Started
Data Structures 1000ms

Find the key with the maximum value in a dictionary

Not Started
Data Structures 1000ms

Combine two dictionaries into one (second dict overwrites first on conflict)

Not Started
Data Structures 1000ms

Sort list of tuples by their second element

Not Started
Data Structures 1000ms

Remove all instances of given element from list

Not Started
Data Structures 1000ms

Find second largest number in list

Not Started
Data Structures 1000ms

Rotate list left by k positions (elements wrap around)

Not Started
Data Structures 1000ms

Count how many times each word appears in sentence

Not Started
String 1000ms

Check if two strings are anagrams (same characters different order)

Not Started
String 1000ms

Remove duplicate characters from string while preserving order

Not Started
String 1000ms

Generate sequence: if n even → n/2, if odd → 3n+1, until 1

Not Started
Math 1000ms

Print all prime numbers between 1 and 100

Not Started
Math 1000ms

Print diamond star pattern with 2n-1 rows

Not Started
Pattern 1000ms