Pergunta de entrevista da empresa Meta

First problem was a string problem and second involved using segtree to calculate points in a matrix.