Hackerrank
Hackerrank StringStream Solution
stringstream is a stream class to operate on strings. It basically implements input/output operations on memory (string) based streams. stringstream can be helpful in different type of parsing. The following operators/functions are commonly used here * Operator >> Extracts formatted data. * Operator << Inserts formatted data. * Method