<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Meda의 DevLog</title>
    <link>https://meda.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Sun, 14 Jun 2026 09:32:34 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>medAndro</managingEditor>
    <image>
      <title>Meda의 DevLog</title>
      <url>https://tistory1.daumcdn.net/tistory/4625164/attach/d4907c6ebb054184a370517c5598aca5</url>
      <link>https://meda.tistory.com</link>
    </image>
    <item>
      <title>[Android] Intent, Intent Filter, PendingIntent 정리</title>
      <link>https://meda.tistory.com/entry/Android-Intent-Intent-Filter-PendingIntent</link>
      <description>본 내용은 'Manifest Android Interview'를 읽고 개인적으로 개념 복기를 위한 설명, 헷갈리거나 어려웠던 점 등을 책 외부의 공식문서등의 자료로 정리한 내용입니다.
&amp;nbsp;
안드로이드의 Intent는 컴포넌트 사이에서 작업을 요청하거나 데이터를 전달할 때 사용하는 메시지 객체입니다. 이번 글에서는 명시적 인텐트, 암시적 인텐트, 인텐트 필터, PendingIntent의 차이를 중심으로 정리합니다.

1. 개념 정리
Intent
I..</description>
      <category>스터디/안드로이드</category>
      <category>Android</category>
      <category>AndroidManifest</category>
      <category>ExplicitIntent</category>
      <category>ImplicitIntent</category>
      <category>Intent</category>
      <category>IntentFilter</category>
      <category>Kotlin</category>
      <category>PendingIntent</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/77</guid>
      <comments>https://meda.tistory.com/entry/Android-Intent-Intent-Filter-PendingIntent#entry77comment</comments>
      <pubDate>Wed, 10 Jun 2026 22:25:16 +0900</pubDate>
    </item>
    <item>
      <title>문제 26 - 문자열 내 마음대로 정렬하기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-12915-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


문자열 배열을 특정 인덱스의 문자를 기준으로 정렬하는 문제입니다. 핵심은 1차 정렬 기준은 n번째 문자, 2차 정렬 기준은 문자열 전체의 사전순으로 두는 것입니다.

1.&amp;nbsp; 나의 풀이
def solution(strings, n):
    strings.sort(key=lambda x:..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>lambda</category>
      <category>Python</category>
      <category>stable sort</category>
      <category>tuple</category>
      <category>문자열</category>
      <category>정렬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/76</guid>
      <comments>https://meda.tistory.com/entry/programmers-12915-python#entry76comment</comments>
      <pubDate>Wed, 10 Jun 2026 16:26:05 +0900</pubDate>
    </item>
    <item>
      <title>문제 25 - H-Index (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-42747-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr






H-Index는 h번 이상 인용된 논문이 h편 이상이 되는 h의 최댓값을 찾는 문제입니다. 핵심은 인용 횟수를 정렬한 뒤, 가능한 h 값을 논문의 개수 기준으로 줄여가며 검사하는 것입니다.

1.&amp;nbsp; 나의 풀이









&amp;nbsp;






def solution(cit..</description>
      <category>h-index</category>
      <category>Python</category>
      <category>sorted</category>
      <category>구현</category>
      <category>내림차순</category>
      <category>완전탐색</category>
      <category>정렬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/75</guid>
      <comments>https://meda.tistory.com/entry/programmers-42747-python#entry75comment</comments>
      <pubDate>Sun, 7 Jun 2026 18:46:17 +0900</pubDate>
    </item>
    <item>
      <title>문제 24 - 두 개 뽑아서 더하기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-68644-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


서로 다른 인덱스의 두 수를 뽑아 만들 수 있는 모든 합을 구한 뒤, 중복을 제거하고 오름차순으로 정렬하는 문제입니다. 핵심은 combinations, set, sorted를 순서대로 연결하는 것입니다.

1.&amp;nbsp; 나의 풀이













from itertools import..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>combinations</category>
      <category>Python</category>
      <category>set</category>
      <category>sorted</category>
      <category>완전탐색</category>
      <category>정렬</category>
      <category>조합</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/74</guid>
      <comments>https://meda.tistory.com/entry/programmers-68644-python#entry74comment</comments>
      <pubDate>Sun, 7 Jun 2026 17:53:54 +0900</pubDate>
    </item>
    <item>
      <title>문제 24 - [카카오 인턴] 수식 최대화 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-67257-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


연산자 +, -, *의 우선순위를 바꿔가며 수식을 계산하고, 그 결과의 절댓값 중 최댓값을 구하는 문제입니다.핵심은 3! = 6가지 우선순위를 모두 탐색하고, 각 우선순위에 맞게 수식을 직접 계산하는 것입니다.

1.&amp;nbsp; 나의 풀이













import re
from it..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>Python</category>
      <category>문자열파싱</category>
      <category>수식계산</category>
      <category>순열</category>
      <category>스택</category>
      <category>완전탐색</category>
      <category>정규표현식</category>
      <category>중위표기법</category>
      <category>프로그래머스</category>
      <category>후위표기법</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/73</guid>
      <comments>https://meda.tistory.com/entry/programmers-67257-python#entry73comment</comments>
      <pubDate>Sat, 6 Jun 2026 19:37:13 +0900</pubDate>
    </item>
    <item>
      <title>문제 23 - 불량 사용자 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-64064-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


이 문제는 응모자 아이디 목록에서 가려진 제재 아이디 패턴에 매칭되는 모든 경우의 수를 구하는 문제입니다. 핵심은 제재 아이디의 순서가 달라도 구성 요소가 같으면 동일한 경우로 처리해야 하는 중복 제거 로직과, 효율적인 탐색을 위한 비트마스킹 활용입니다.

1.&amp;nbsp; 나의 풀이
최종적으로..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>dfs</category>
      <category>백트래킹</category>
      <category>비트마스킹</category>
      <category>순열</category>
      <category>정규표현식</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/72</guid>
      <comments>https://meda.tistory.com/entry/programmers-64064-python#entry72comment</comments>
      <pubDate>Wed, 6 May 2026 21:03:06 +0900</pubDate>
    </item>
    <item>
      <title>문제 22 - 소수 찾기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-42839-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


주어진 숫자 카드들을 조합하여 만들 수 있는 모든 수 중에서 소수가 몇 개인지를 찾는 문제입니다. 순열을 생성하는 완전 탐색 기법과 효율적인 소수 판별 알고리즘을 결합하여 해결할 수 있습니다.

1.&amp;nbsp; 나의 풀이


&amp;nbsp;



from itertools import permut..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>소수 찾기</category>
      <category>순열</category>
      <category>알고리즘</category>
      <category>에라토스테네스의 체</category>
      <category>완전탐색</category>
      <category>코딩테스트</category>
      <category>파이썬</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/71</guid>
      <comments>https://meda.tistory.com/entry/programmers-42839-python#entry71comment</comments>
      <pubDate>Wed, 6 May 2026 09:24:08 +0900</pubDate>
    </item>
    <item>
      <title>문제 21 - 카펫 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-42842%EF%BB%BF-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


테두리의 갈색 격자와 내부의 노란색 격자 수를 바탕으로 전체 카펫의 가로, 세로 길이를 찾는 문제입니다. 격자 구조의 기하학적 특징을 수식으로 도출하여 가능한 경우의 수를 탐색하는 완전 탐색 문제로 분류됩니다.

1.&amp;nbsp; 나의 풀이



def solution(brown, yellow)..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>근의공식</category>
      <category>브루트포스</category>
      <category>수학</category>
      <category>약수</category>
      <category>완전탐색</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/70</guid>
      <comments>https://meda.tistory.com/entry/programmers-42842%EF%BB%BF-python#entry70comment</comments>
      <pubDate>Sat, 2 May 2026 17:18:01 +0900</pubDate>
    </item>
    <item>
      <title>문제 20 - 모의고사 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-42840-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


&amp;nbsp;
수포자 삼인방이 각자의 고유한 규칙으로 정답을 찍을 때, 주어진 정답 배열과 비교하여 가장 많은 문제를 맞힌 사람을 찾는 문제입니다. 정답의 규칙이 없으므로 모든 수포자의 패턴을 전수 조사하는 완전 탐색 방식을 사용합니다.

1.&amp;nbsp; 나의 풀이



def solution(..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>브루트포스</category>
      <category>알고리즘</category>
      <category>완전탐색</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/69</guid>
      <comments>https://meda.tistory.com/entry/programmers-42840-python#entry69comment</comments>
      <pubDate>Sat, 2 May 2026 16:49:33 +0900</pubDate>
    </item>
    <item>
      <title>문제 19 - 호텔 방 배정 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-64063-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


방 개수가 최대 $ 10^{12} $개에 달하는 상황에서 고객의 요구에 따라 빈 방을 효율적으로 찾아 배정하는 문제입니다. 대규모 데이터셋을 처리하기 위한 자료구조 선택과 탐색 시간을 단축하는 경로 압축(Path Compression) 기법이 핵심입니다.

1.&amp;nbsp; 나의 풀이
배정된 방..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>경로압축</category>
      <category>알고리즘</category>
      <category>유니온파인드</category>
      <category>재귀함수</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <category>호텔방배정</category>
      <category>효율성테스트</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/68</guid>
      <comments>https://meda.tistory.com/entry/programmers-64063-python#entry68comment</comments>
      <pubDate>Thu, 30 Apr 2026 04:06:34 +0900</pubDate>
    </item>
    <item>
      <title>문제 18 - 모음 사전 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-84512-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


&amp;nbsp;
알파벳 모음 'A', 'E', 'I', 'O', 'U'만을 사용하여 만들 수 있는 길이 5 이하의 모든 단어가 수록된 사전에서, 특정 단어가 몇 번째 위치에 있는지 찾는 문제입니다. 재귀를 통한 완전 탐색 방식과 수학적 규칙을 활용한 계산 방식 두 가지로 접근할 수 있습니다.

1..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>dfs</category>
      <category>등비수열</category>
      <category>모음사전</category>
      <category>알고리즘</category>
      <category>완전탐색</category>
      <category>재귀</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/67</guid>
      <comments>https://meda.tistory.com/entry/programmers-84512-python#entry67comment</comments>
      <pubDate>Thu, 30 Apr 2026 02:32:11 +0900</pubDate>
    </item>
    <item>
      <title>문제 17 - 하노이의 탑 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-12946-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


세 개의 기둥을 이용하여 원판을 조건에 맞게 목적지로 옮기는 퍼즐 문제입니다. 큰 문제를 작은 단위의 덩어리로 쪼개어 해결하는 재귀적 사고방식을 익히기에 가장 적합한 알고리즘입니다.

1.&amp;nbsp; 나의 풀이
하노이의 탑 규칙인 '작은 원판 위에 큰 원판이 올 수 없다'는 제약을 지키며 전체..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>분할정복</category>
      <category>알고리즘</category>
      <category>재귀함수</category>
      <category>추상화</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <category>하노이의탑</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/66</guid>
      <comments>https://meda.tistory.com/entry/programmers-12946-python#entry66comment</comments>
      <pubDate>Wed, 29 Apr 2026 23:12:20 +0900</pubDate>
    </item>
    <item>
      <title>문제 16 - 콜라츠 추측 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-12943-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


&amp;nbsp;
주어진 수가 1이 될 때까지 특정 연산을 반복하며 그 횟수를 구하는 문제입니다. 이 과정에서 재귀 함수(Recursion)의 기초 설계 방법인 상태 정의, 종료 조건 설정, 그리고 점화식 수립의 원리를 학습할 수 있습니다.

1.&amp;nbsp; 나의 풀이



def collatz(n..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>꼬리재귀</category>
      <category>스택오버플로</category>
      <category>알고리즘</category>
      <category>재귀함수</category>
      <category>점화식</category>
      <category>콜라츠추측</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/65</guid>
      <comments>https://meda.tistory.com/entry/programmers-12943-python#entry65comment</comments>
      <pubDate>Wed, 29 Apr 2026 21:20:48 +0900</pubDate>
    </item>
    <item>
      <title>정규 표현식 추가문제 - 옹알이 (2) (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-133499-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


&amp;nbsp;
조카가 발음할 수 있는 네 가지 단어의 조합으로 이루어진 문자열을 찾는 문제입니다. 단, 동일한 발음이 연속으로 나오는 경우는 발음할 수 없다는 제약 조건을 정규표현식으로 정밀하게 필터링하는 것이 핵심입니다.

1.&amp;nbsp; 나의 풀이
허용된 단어들로만 구성되었는지 확인하는 패턴..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>그룹화</category>
      <category>복기노트</category>
      <category>알고리즘</category>
      <category>역참조</category>
      <category>옹알이2</category>
      <category>정규표현식</category>
      <category>코딩테스트</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/64</guid>
      <comments>https://meda.tistory.com/entry/programmers-133499-python#entry64comment</comments>
      <pubDate>Mon, 27 Apr 2026 13:00:44 +0900</pubDate>
    </item>
    <item>
      <title>정규 표현식 추가문제 - 다트게임 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-17682-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


&amp;nbsp;
다트 게임의 점수 계산 로직을 구현하는 문제로, 문자열에 섞여 있는 점수, 보너스, 옵션을 정확히 분리하여 3번의 기회에 대한 점수를 합산해야 합니다. 정규표현식을 활용한 패턴 추출과 리스트 슬라이싱을 이용한 조건부 점수 처리가 핵심입니다.

1.&amp;nbsp; 나의 풀이
정규표현식의..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>다트게임</category>
      <category>리스트컴프리헨션</category>
      <category>슬라이싱</category>
      <category>알고리즘</category>
      <category>인플레이스연산</category>
      <category>정규표현식</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <category>형변환</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/63</guid>
      <comments>https://meda.tistory.com/entry/programmers-17682-python#entry63comment</comments>
      <pubDate>Mon, 27 Apr 2026 12:08:59 +0900</pubDate>
    </item>
    <item>
      <title>정규 표현식 추가문제 - 파일명 정렬 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-17686-python</link>
      <description>&amp;nbsp;

코딩테스트 연습 - [3차] 파일명 정렬
알고리즘 문제 연습 카카오톡 친구해요! 프로그래머스 교육 카카오 채널을 만들었어요. 여기를 눌러, 친구 추가를 해주세요. 신규 교육 과정 소식은 물론 다양한 이벤트 소식을 가장 먼저 알려
school.programmers.co.kr


파일명 리스트를 HEAD, NUMBER, TAIL 세 부분으로 분리하고, 대소문자를 구분하지 않는 문자열 정렬과 숫자 크기 정렬을 조합하여 수행하는 문제입니다. 정규..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>람다식</category>
      <category>안정정렬</category>
      <category>알고리즘</category>
      <category>정규표현식</category>
      <category>정렬</category>
      <category>파이썬</category>
      <category>파일명정렬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/62</guid>
      <comments>https://meda.tistory.com/entry/programmers-17686-python#entry62comment</comments>
      <pubDate>Mon, 27 Apr 2026 06:59:52 +0900</pubDate>
    </item>
    <item>
      <title>문제 15 - 핸드폰 번호 가리기 (Python) + 특수 목적 정규식</title>
      <link>https://meda.tistory.com/entry/programmers-12948-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


전화번호의 뒷 4자리를 제외한 나머지 숫자를 전부 별표(*)로 마스킹하는 문제입니다. 문자열 슬라이싱을 이용한 기본적인 풀이와 정규표현식의 전방 탐색을 활용한 심화 풀이를 정리했습니다.

1.&amp;nbsp; 나의 풀이



def solution(phone_number):
    # 전체 길이에서..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>문자열</category>
      <category>알고리즘</category>
      <category>정규표현식</category>
      <category>코딩테스트</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/61</guid>
      <comments>https://meda.tistory.com/entry/programmers-12948-python#entry61comment</comments>
      <pubDate>Mon, 27 Apr 2026 05:33:55 +0900</pubDate>
    </item>
    <item>
      <title>문제14 - 문자열 다루기 기본 (Python) + 정규표현식 요약정리</title>
      <link>https://meda.tistory.com/entry/programmers-12918-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


&amp;nbsp;
주어진 문자열의 길이가 4 또는 6인지 확인하고, 모든 문자가 숫자로만 구성되어 있는지 판별하는 문제입니다. 파이썬의 내장 메서드를 활용하는 방법과 정규표현식을 활용하는 방법 두 가지로 해결할 수 있습니다.

1.&amp;nbsp; 나의 풀이
정규표현식을 활용한 풀이



import r..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>isdigit</category>
      <category>re모듈</category>
      <category>문자열</category>
      <category>알고리즘</category>
      <category>유효성검사</category>
      <category>정규표현식</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/60</guid>
      <comments>https://meda.tistory.com/entry/programmers-12918-python#entry60comment</comments>
      <pubDate>Mon, 27 Apr 2026 03:57:13 +0900</pubDate>
    </item>
    <item>
      <title>문제13 - 신규 아이디 추천 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-72410-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


카카오 서비스에 가입하는 유저들의 아이디가 규칙에 맞지 않을 때, 7단계의 순차적인 처리 과정을 거쳐 추천 아이디를 생성하는 문제입니다. 문자열 필터링, 특정 패턴의 치환, 길이 제한 및 예외 상황 처리가 주요 핵심입니다.

1. 나의 풀이



def solution(new_id):
    ..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>구현</category>
      <category>문자열</category>
      <category>문자열처리</category>
      <category>알고리즘</category>
      <category>카카오계정개발팀</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/59</guid>
      <comments>https://meda.tistory.com/entry/programmers-72410-python#entry59comment</comments>
      <pubDate>Sun, 26 Apr 2026 06:44:49 +0900</pubDate>
    </item>
    <item>
      <title>문제12 - 이진 변환 반복하기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-70129-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr




문자열 s가 &quot;1&quot;이 될 때까지 0을 제거하고, 남은 문자열의 길이를 다시 2진법으로 변환하는 과정을 반복하는 문제입니다. 변환 횟수와 제거된 0의 총 개수를 구하는 것이 목적입니다.

1.&amp;nbsp; 나의 풀이&amp;nbsp;
문제에서 정의한 '이진 변환'을 루프 내에서 구현하여 최종 결과값을..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>bin함수</category>
      <category>COUNT함수</category>
      <category>format함수</category>
      <category>알고리즘</category>
      <category>이진변환</category>
      <category>진법변환</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/58</guid>
      <comments>https://meda.tistory.com/entry/programmers-70129-python#entry58comment</comments>
      <pubDate>Sun, 26 Apr 2026 05:08:46 +0900</pubDate>
    </item>
    <item>
      <title>문제11 - 3진법 뒤집기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-68935-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


10진법 수를 3진법으로 변환한 뒤 이를 반전시키고, 다시 10진법으로 변환하는 문제입니다. base_change라는 범용적인 진법 변환 함수를 유지하면서 파이썬의 내장 기능을 활용하여 가독성과 효율성을 높였습니다.

1.&amp;nbsp; 나의 풀이
진법 변환이라는 고유의 기능을 수행하는 함수와 문..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>3진법</category>
      <category>divmod</category>
      <category>int함수 활용</category>
      <category>알고리즘</category>
      <category>진법변환</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/57</guid>
      <comments>https://meda.tistory.com/entry/programmers-68935-python#entry57comment</comments>
      <pubDate>Sun, 26 Apr 2026 04:07:22 +0900</pubDate>
    </item>
    <item>
      <title>문제10 - 문자열 압축 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-60057-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


문자열을 일정한 단위로 잘라 연속되는 중복을 찾아 압축하고, 그 중 가장 짧은 결과물의 길이를 반환하는 문제입니다. 완전 탐색을 기반으로 하되, 파이썬의 슬라이싱과 zip 함수를 활용하여 효율적으로 구현하는 방법을 학습할 수 있습니다.

1.&amp;nbsp; 나의 풀이



def solution(..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>Zip</category>
      <category>리스트컴프리헨션</category>
      <category>문자열</category>
      <category>압축</category>
      <category>완전탐색</category>
      <category>파이썬</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/56</guid>
      <comments>https://meda.tistory.com/entry/programmers-60057-python#entry56comment</comments>
      <pubDate>Fri, 24 Apr 2026 03:51:32 +0900</pubDate>
    </item>
    <item>
      <title>문제9 - 짝지어 제거하기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-12973-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


문자열 내에서 인접한 동일 알파벳 쌍을 찾아 연속적으로 제거하고, 최종적으로 모든 문자가 제거될 수 있는지 판별하는 문제입니다. 문자열의 최대 길이가 1,000,000에 달하므로 효율적인 탐색 알고리즘이 필수적입니다.

1.&amp;nbsp; 나의 풀이
스택(Stack) 구조를 활용하여 선형 시간 내..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>Python</category>
      <category>스택</category>
      <category>시간복잡도</category>
      <category>알고리즘</category>
      <category>자료구조</category>
      <category>짝지어제거하기</category>
      <category>프로그래머스</category>
      <category>효율성테스트</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/55</guid>
      <comments>https://meda.tistory.com/entry/programmers-12973-python#entry55comment</comments>
      <pubDate>Thu, 23 Apr 2026 02:59:09 +0900</pubDate>
    </item>
    <item>
      <title>문제8 - 튜플 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-64065-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


&amp;nbsp;
중괄호로 표현된 집합 기호 문자열을 파싱하여 원래의 튜플 순서를 찾아내는 문제입니다. 집합의 원소 개수가 적은 것부터 순차적으로 확인하며 새롭게 등장하는 숫자를 정답 배열에 추가하는 로직이 핵심입니다.

1.&amp;nbsp; 나의 풀이
최종적으로 개선된 코드입니다. 딕셔너리를 활용하여 ..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>Python</category>
      <category>딕셔너리</category>
      <category>람다함수</category>
      <category>문자열파싱</category>
      <category>시간복잡도</category>
      <category>알고리즘</category>
      <category>튜플</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/54</guid>
      <comments>https://meda.tistory.com/entry/programmers-64065-python#entry54comment</comments>
      <pubDate>Thu, 23 Apr 2026 02:32:07 +0900</pubDate>
    </item>
    <item>
      <title>문제7 - 이상한 문자 만들기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-12930-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


문자열에 포함된 각 단어의 인덱스를 기준으로 짝수 번째는 대문자, 홀수 번째는 소문자로 변환하는 문제입니다. 전체 문자열의 인덱스가 아닌 '단어 단위'의 인덱스 관리가 핵심입니다.

1.&amp;nbsp; 나의 풀이



def solution(s: str) -&amp;gt; str:
    # 문자열과 동..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>SPLIT</category>
      <category>문자열조작</category>
      <category>이상한문자만들기</category>
      <category>인덱스초기화</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/53</guid>
      <comments>https://meda.tistory.com/entry/programmers-12930-python#entry53comment</comments>
      <pubDate>Wed, 22 Apr 2026 20:32:20 +0900</pubDate>
    </item>
    <item>
      <title>문제6 - 시저 암호 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-12926-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


문자열의 각 알파벳을 정해진 거리 $n$만큼 밀어서 새로운 문자로 변환하는 암호화 로직을 구현하는 문제입니다. 아스키 코드의 수치 변환과 알파벳의 순환 구조를 처리하는 것이 핵심입니다.

1.&amp;nbsp; 나의 풀이



def solution(s, n):
    # 결과 값을 담을 리스트 초기..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>chr</category>
      <category>ORD</category>
      <category>나머지연산</category>
      <category>시저암호</category>
      <category>아스키코드</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/52</guid>
      <comments>https://meda.tistory.com/entry/programmers-12926-python#entry52comment</comments>
      <pubDate>Wed, 22 Apr 2026 17:40:07 +0900</pubDate>
    </item>
    <item>
      <title>문제5 - 행렬의 곱셈 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-12949-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


2차원 행렬 arr1과 arr2를 입력받아 두 행렬을 곱한 결과를 반환하는 문제입니다. 행렬의 곱셈은 단순히 원소끼리 곱하는 것이 아니라, 앞 행렬의 행과 뒤 행렬의 열을 순차적으로 내적(Dot Product)해야 하므로 정확한 인덱스 제어가 관건입니다.

1.&amp;nbsp; 나의 풀이
행렬의 크..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>2차원 배열</category>
      <category>3중 반복문</category>
      <category>선형대수</category>
      <category>시간복잡도</category>
      <category>알고리즘</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <category>행렬 곱셈</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/51</guid>
      <comments>https://meda.tistory.com/entry/programmers-12949-python#entry51comment</comments>
      <pubDate>Tue, 21 Apr 2026 20:15:35 +0900</pubDate>
    </item>
    <item>
      <title>문제4 - 거리두기 확인하기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-81302-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


대기실 내 응시자 간 맨해튼 거리가 2 이하인지 확인하며, 파티션 설치 여부에 따른 예외 사례를 탐색 알고리즘으로 해결하는 문제입니다.

1.&amp;nbsp; 나의 풀이



room_size = 5

def recursive_pos_check(board, visited, pos, depth):
 ..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>dfs</category>
      <category>맨해튼 거리</category>
      <category>배열 전수 조사</category>
      <category>알고리즘 최적화</category>
      <category>재귀</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/50</guid>
      <comments>https://meda.tistory.com/entry/programmers-81302-python#entry50comment</comments>
      <pubDate>Tue, 21 Apr 2026 06:29:47 +0900</pubDate>
    </item>
    <item>
      <title>문제3 - 삼각 달팽이 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-68645-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


삼각 달팽이는 높이가 n인 삼각형 공간을 반시계 방향 나선형으로 채워나가는 문제입니다. 2차원 배열의 인덱스를 직접 제어하는 시뮬레이션 역량이 요구되며, 방향 전환 규칙을 코드로 구현하는 것이 핵심입니다.

1. 나의 풀이



from itertools import chain

def wri..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>2차원배열</category>
      <category>구현</category>
      <category>삼각달팽이</category>
      <category>시뮬레이션</category>
      <category>코딩테스트</category>
      <category>파이썬</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/49</guid>
      <comments>https://meda.tistory.com/entry/programmers-68645-python#entry49comment</comments>
      <pubDate>Tue, 21 Apr 2026 03:08:37 +0900</pubDate>
    </item>
    <item>
      <title>문제2 - 행렬 테두리 회전하기 (Python)</title>
      <link>https://meda.tistory.com/entry/programmers-77485-python</link>
      <description>&amp;nbsp;

프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr


행렬의 특정 영역 테두리를 시계 방향으로 회전시키고, 그 과정에서 이동한 숫자들 중 최솟값을 찾는 문제입니다. collections.deque 자료구조를 활용한 효율적인 회전과 실시간 최솟값 추적을 적용했습니다.

1.&amp;nbsp; 나의 풀이
기능별로 함수를 분리하고, deque를 도입하여 회전..</description>
      <category>알고리즘/프로그래머스 문제 풀이 전략</category>
      <category>데큐</category>
      <category>복기노트</category>
      <category>알고리즘</category>
      <category>최적화</category>
      <category>코딩테스트</category>
      <category>파이썬</category>
      <category>프로그래머스</category>
      <category>행렬테두리회전하기</category>
      <author>medAndro</author>
      <guid isPermaLink="true">https://meda.tistory.com/48</guid>
      <comments>https://meda.tistory.com/entry/programmers-77485-python#entry48comment</comments>
      <pubDate>Mon, 20 Apr 2026 00:58:03 +0900</pubDate>
    </item>
  </channel>
</rss>