-Insert a line at a given line number -Delete the specific set of lines -Copy specific set of lines -Paste the copied lines at given index -Print the entire content -Undo command
Please suggest what will be the best approach to solve that