India’s Best Job Seekers and Training Platform › Forums › Java Problems set › Given a 1D array with integers,print vertical…
Tagged: Amazon, Java, SoftwareEngineerIntern
-
Given a 1D array with integers,print vertical…
-
Given a 1D array with integers,print vertical bars of # such that if a[i] = n, then print # n times from the bottom.
For eg, {1,4,3,2}
o/p : #
# #
# # #
# # # #
Log in to reply.