CATEGORY

Hacker Rank Python

HackerRank Solution: Python Find a string [3 Methods]

In this challenge, the user enters a string and a substring. You have to print the number of times that the substring occurs in the given string. String

By bashiralam · 4 min read · Hacker Rank Python

HackerRank Solution: Python Diwali Lights [2 Methods]

On the eve of Diwali, Hari is decorating his house with a serial light bulb set. The serial light bulb set has N bulbs placed sequentially on a string which

By bashiralam · 4 min read · Hacker Rank Python