Pergunta de entrevista da empresa Linker Networks

phone: javascript basic know how Network knowledge, two question algorithm solve method my mind.