728x90
Simple Text Editor
-
[HackerRank] Simple Text Editor c++Coding Test/HackerRank 2023. 5. 17. 09:46
Problem Simple Text Editor | HackerRank Implement a simple text editor and perform some number of operations. www.hackerrank.com Sample Input STDIN Function ----- -------- 8 Q = 8 1 abc ops[0] = '1 abc' 3 3 ops[1] = '3 3' 2 3 ... 1 xy 3 2 4 4 3 1 Sample Output c y a Explanation Initially, S is empty. The following sequence of 8 operations are described below: Solutions stack을 사용하여 푸는 문제 유형입니다. 4..