Cubic Logics Interview Question

React Basics and js coding