Tokopedia Interview Question

Power function (various approach and optimization)