Left Pad(LintCode 524):

Problem