NETGEAR Interview Question

introduction ask some coding question (leet code style)