Applied Materials Interview Question

2 leetcode questions and behavior HR round