NVIDIA Interview Question

Python question and verilog question to implement the same thing