Pergunta de entrevista da empresa Pocket Gems

2 coding questions 1) Related to string manipulation 2) Graph