Tag: Python coding challenges

Mod Divmod in Python Explained with Simple Examples | HackerRank Problem

Mod Divmod in Python Explained with Simple Examples | HackerRank Problem Small built-in functions in Python often save a great deal of work when you first start learning the language. The function divmod() is one example. At first glance, it doesn’t seem particularly noteworthy, but after using it, you’ll see how neat it makes your…

HackerRank Collections.deque() Solution in Python

HackerRank Collections.deque() Solution in Python Why is deque used in Python? I initially wondered, “Deque?” when I came across HackerRank’s Collections.deque() problem. It sounds like a science fiction device. It’s just a clever Python trick, though, and this challenge is a great way to hone your skills. Like we’re having coffee, I’ll walk you through…

Back To Top