Lexicographically largest sub-sequence of the given string
Given string str containing lowercase characters, the task is to find the lexicographically largest sub-sequence of str.Examples: Input: str = "abc" Output: c All possible sub-sequences are "a", "ab", "ac", "b", "bc" and "c" and "c" is the largest among them (lexicographically)Input: str = "geeksfor