Skip to content

saralnajjar/coding-challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Coding Challenges

Daily coding challenges solved in Python and Kotlin.

Structure

coding-challenges/
├── python/        # Python solutions
├── kotlin/        # Kotlin solutions
└── README.md

Solutions

Python

Problem Description
fibonacci.py Generate the first n Fibonacci numbers
fizz_buzz.py FizzBuzz for numbers 1 through n
binary_search.py Binary search with O(log n) two-pointer approach
linked_list.py Singly linked list with append, delete, search, reverse
stack_queue.py Stack and queue implementations from scratch
binary_tree_bfs.py Binary tree level-order traversal using BFS
valid_parentheses.py Valid parentheses check using a stack
[lru_cache.py] (python/lru_cache.py) Least recently used cache

Kotlin

Problem Description
pascals_triangle.kt Generate n rows of Pascal's Triangle
two_sum.kt Two sum using hash map for O(n) solution
palindrome.kt Palindrome check with two-pointer and one-liner approaches
reverse_linked_list.kt Singly linked list with in-place reversal

Solved as part of ongoing practice alongside BSc Computer Science at the University of Leeds.

About

Coding challenges solved in Python and Kotlin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors