Freshworks Interview Question

count of longest increasing seq ,string manipulations