HackerRank Staircase
Problem
Consider a staircase of size n = 4:
#
##
###
####
Write a program that prints a staircase of size n.
Solution
For every n size there are n elements to print which makes the overall complexity O(N^2).
Naive solution
In the simple case st...
dustinkingen.hashnode.dev