160. implement atob()

medium  - accepted / - tried

atob() decodes a string of data which has been encoded using Base64 encoding.

Please implement your own myAtob()

myAtob('QkZFLmRldg==') // 'BFE.dev'
myAtob('Q') // Error

Please don't use atob() directly in your code.

What is time & space complexity of your approach?

(1)
(21)