hello monks,
please suugest a solution how to represent a set of characters by an integer and its count also in their respective appeareances.
For ex
CNNNTGNNTN
In the above set of characters how it is possible to denote a set of N's as -1 and its count
i.e the output should be
C-1TG-1T-1
and the count ouput should be
C3TG2T1