<aside> ✍️ Key Points:

<aside> 📌 易错点

String APIs

new String(char[] value, int offset, int count)  //(charArr, startIndex, subArrLen)
str.substring(int beginIndex, int endIndex)     // including startIndex, excluding endIndex
a

sb.length()     // StringBuilder‘s size
sb.charAt(i)    // not sb.get(i)
sb.delete(int startingIndex, int lengthToDelete)
sb.deleteCharAt(i)
sb.append()
sb.toString()
sb.reverse()

Character.isDigit(char ch)
Character.isAlphabet(char ch)

<aside> 🌵 Table of Contents

</aside>


Remove

Date: July 14, 2023

Problem: Remove Certain Characters


Date: July 14, 2023

Problem: Remove Space


Date: July 14, 2023

Problem: Remove All Adjacent Duplicates In String


Date: July 14, 2023

Problem: Remove K Adjacent Duplicates in String II (巧妙 - charDeque + countDeque)