Various coding challenges and algorithms