프로그래머스2 [프로그래머스 C#] Lv.2 유사 칸토어 비트열 가독성을 위해서 문제 설명은 생략합니다. 링크를 통해 확인해 주세요. https://school.programmers.co.kr/learn/courses/30/lessons/148652 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 ✏️ using System; public class Solution { public int solution(int n, long l, long r) { int answer = 0; for(l--;l (l-1) c == '1'); return answer; } private string makeCantor(int n, s.. 2024. 4. 6. [프로그래머스 C#] Lv.2 혼자 놀기의 달인 가독성을 위해서 문제 설명은 생략합니다. 링크를 통해 확인해 주세요. https://school.programmers.co.kr/learn/courses/30/lessons/131130 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 ✏️ using System; using System.Collections.Generic; public class Solution { public int solution(int[] cards) { bool[] checkedBox = new bool[cards.Length]; Array.Fill(checkedBox, fal.. 2024. 4. 5. 이전 1 다음