문자열(2)
-
4. String Search and Manipulations - 4.1 Search Pattern in Text(문자열 검색 및 조작) (텍스트 패턴 검색)
4 String Search and Manipulations - 4.1 Search Pattern in Text String Search and Manipulations (문자열 검색 및 조작) String search and manipulation is a very important topic in computer science. It is used in many different applications, such as searching or replacing a specific pattern, word or character in a string. 문자열 검색과 조작은 컴퓨터 과학에서 매우 중요한 주제입니다. 문자열에서 특정 패턴, 단어 또는 문자를 검색하거나 바꾸는 등 다양한 애플리케이션에서 사용됩..
2024.02.14 -
3.6 Greedy Algorithms - 3.6.1 Huffman Coding
CS - 3. Common Algorithms - 3.6 Greedy Algorithms - 3.6.1 Huffman Coding Huffman Coding 💡Huffman coding is a lossless data compression algorithm. The idea is to assign variable-length codes to input characters, lengths of the assigned codes are based on the frequencies of corresponding characters. The most frequent character gets the smallest code and the least frequent character gets the larges..
2024.02.03