분류 전체보기103 [leetcode]1381. Design a Stack With Increment Operation LeetCode - The World's Leading Online Programming Learning Platform Design a Stack With Increment Operation - LeetCode Can you solve this real interview question? Design a Stack With Increment Operation - Design a stack that supports increment operations on its elements. Implement the CustomStack class: * CustomStack(int maxSize) Initializes the object with maxSize which i leetcode.com 문제 이해 ■ C.. 2023. 9. 1. [leetcode]1544.Make The String Great https://leetcode.com/problems/make-the-string-great/ Make The String Great - LeetCode Can you solve this real interview question? Make The String Great - Given a string s of lower and upper case English letters. A good string is a string which doesn't have two adjacent characters s[i] and s[i + 1] where: * 0 0) { char top = st.peek(); boolean flag = compareChar(top, c); if(flag == true){ st.pop(.. 2023. 8. 31. [leetcode]1074.Remove All Adjacent Duplicates In String LeetCode - The World's Leading Online Programming Learning Platform Remove All Adjacent Duplicates In String - LeetCode Can you solve this real interview question? Remove All Adjacent Duplicates In String - You are given a string s consisting of lowercase English letters. A duplicate removal consists of choosing two adjacent and equal letters and removing them. We repeatedl leetcode.com 문제 이해 영어.. 2023. 8. 30. [leetcode] 1614. Maximum Nesting Depth of the Parentheses LeetCode - The World's Leading Online Programming Learning Platform Maximum Nesting Depth of the Parentheses - LeetCode Can you solve this real interview question? Maximum Nesting Depth of the Parentheses - A string is a valid parentheses string (denoted VPS) if it meets one of the following: * It is an empty string "", or a single character not equal to "(" or ")", * It ca leetcode.com 문제 이해 가장.. 2023. 8. 29. 이전 1 2 3 4 ··· 26 다음