Implementation of text-editor in console.
We want to create a text editor so that a string of characters including English letters or numbers and three characters < (one character to the right) and > (one character to the left) and - (back space) are taken as input and Returns the final string in the output.
Provide a suitable and optimal structure for this text editor and implement it that takes a string as input and returns the final string in the output.
A string of characters including English letters or numbers and three characters < (one character to the right) and > (one character to the left) and - (back space)
The result of the final course