center()

HackerRank: Alphabet Rangoli Notes Members Public

Background This article was written down when I was doing the Python challenge on HackerRank: Alphabet Rangoli [https://www.hackerrank.com/challenges/alphabet-rangoli/problem]. Although I passed all the tests quickly, my solution looked dirty and not clean enough. Thus I tried to simplify my solution after getting some insights

Ran
Ran
Python

HackerRank: Designer Door Mat Notes Members Public

Background I think the "Designer Door Mat [https://www.hackerrank.com/challenges/designer-door-mat/problem]" is suitable for serving as a practice f [https://www.hackerrank.com/challenges/text-alignment/problem]or your understanding of the Python center() method. Problem The problem gives you two number N and M where

Ran
Ran
Python

HackerRank: Text Alignment Notes Members Public

Background This article is about a Python challenge on HackerRank: Text Alignment [https://www.hackerrank.com/challenges/text-alignment/problem]. We can definitely keep trying until we get the correct answer for this one. But I think that is kind of boring, and I really want to understand the thoughts behind

Ran
Ran
HackerRank