center()
HackerRank: Alphabet Rangoli Notes Paid 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
HackerRank: Designer Door Mat Notes Paid 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
HackerRank: Text Alignment Notes Paid 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