[LeetCode] 443. String Compression 해설 및 풀이 (Python)
·
Study/코딩 테스트
LeetCode 443. String Compressionhttps://leetcode.com/problems/string-compression/description/?envType=study-plan-v2&envId=leetcode-75  Given an array of characters chars, compress it using the following algorithm: Begin with an empty string s. For each group of consecutive repeating characters in chars: If the group's length is 1, append the character to s. Otherwise, append the character follow..
[LeetCode] 334. Increasing Triplet Subsequence 해설 및 풀이
·
Study/코딩 테스트
LeetCode 334. Increasing Triplet Subsequence https://leetcode.com/problems/increasing-triplet-subsequence/description/?envType=study-plan-v2&envId=leetcode-75  Given an integer array nums, return true if there exists a triple of indices (i, j, k) such that i Example 1: Input: nums = [1,2,3,4,5] Output: true Explanation: Any triplet where i Example 2: Input: nums = [5,4,3,2,1] Output: false Expla..
[github] 2025년 최신판 LeetHub v3 깃허브 디렉토리 구조 변경하기
·
ETC/TIP
LeetHub를 연결하고 문제를 제출하고 나면 뇌정지가 올 수 밖에 없었습니다.   README.md도 문제 풀이 때마다 자동 갱신이 되며, 무엇보다 가장 큰 단점은 백준허브와 디렉토리 구조가 달랐습니다.  원했던 디렉토리는 이런 느낌인데, 이런 것에 대해 불편함을 느낀 분들이 있을 것 같습니다.다른 분들의 자료를 토대로 정리해보겠습니다. 이전 자료들은 LeetHub v1이라서, 해당 게시글은 최신 버전인 LeetHub 3.0 ver으로 진행합니다.  빠르게 git clone 하여 사용하기https://github.com/rorrxr/LeetHub-3.0 GitHub - rorrxr/LeetHub-3.0: This plugin automatically pushes your code to GitHub wh..
[LeetCode] 1071. Greatest Common Divisor of Strings 해설 및 풀이
·
Study/코딩 테스트
LeetCode 1071. Greatest Common Divisor of Stringshttps://leetcode.com/problems/greatest-common-divisor-of-strings/description/?envType=study-plan-v2&envId=leetcode-75  For two strings s and t, we say "t divides s" if and only if s = t + t + t + ... + t + t (i.e., t is concatenated with itself one or more times).Given two strings str1 and str2, return the largest string x such that x divides both..
[github] LeetCode 깃허브 연동(LeetHub) 방법
·
ETC/TIP
백준허브를 사용하게 되면 백준, 프로그래머스를 풀고 깃허브에 자동으로 커밋되는 점이 가장 좋았다. https://deve1opment-story.tistory.com/entry/GITHUB-%EB%B0%B1%EC%A4%80%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%A8%B8%EC%8A%A4-%EA%B9%83%ED%97%88%EB%B8%8C-%EC%97%B0%EB%8F%99 [github] 백준/프로그래머스 깃허브 연동백준이나 프로그래머스로 코딩테스트를 풀면 자동으로 깃허브에 저장되는 프로그램을 소개해드리려고 합니다매우 편하고 Readme.md 파일로 문제도 정리해줘서 정리하기 편합니다.  1. 확장 프로deve1opment-story.tistory.com 이전에 백준허브에 대..