Rapido interview question

Code Q1 - Maximum Product triplet in array Code Q2 - String compression