Applied Materials Interview Question

Medium to Hard level programming question