https://school.programmers.co.kr/learn/courses/30/lessons/12948

 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr

public class Solution {
    public string solution(string phone_number) {
        string answer = "";
        
        string temp = phone_number.Substring(phone_number.Length -4,4);
        for(int i = 0; i < phone_number.Length - 4; ++i)
        {
            answer += "*";
        }
        answer += temp;
        return answer;
    }
}

 

https://school.programmers.co.kr/learn/courses/30/lessons/12931

 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr

using System;

public class Solution {
    public int solution(int n) {
        int answer = 0;
        while(n>0){
           answer += n % 10;
           n = n / 10;
        }
        return answer;
    }
}

https://school.programmers.co.kr/learn/courses/30/lessons/12954

 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr

public class Solution {
    public long[] solution(int x, int n) {
        long[] answer = new long[n];
        for (int i=0; i<n; i++)
        {
            answer[i] = (long)x * (i + 1);
        }
        return answer;
    }
}

https://school.programmers.co.kr/learn/courses/30/lessons/12937

 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr

public class Solution {
    public string solution(int num) {
        string answer = "";
        
        if (num % 2 == 0) answer = "Even"; else answer = "Odd";
        
        return answer;
    }
}

https://school.programmers.co.kr/learn/courses/30/lessons/120853

 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr

using System;

public class Solution {
    public int solution(string s) {
        int answer = 0;
        
            string[] temp = s.Split(" ");
            for (int i=0; i < temp.Length; i++)
            { 
                if (temp[i] != "Z" )
                {
                  answer += int.Parse(temp[i]);
                }
                else
                {
                    answer -= int.Parse(temp[i-1]);
                }
            }
        return answer;
    }
}

https://school.programmers.co.kr/learn/courses/30/lessons/59408

 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr

SELECT COUNT(DISTINCT NAME) AS "COUNT"
FROM ANIMAL_INS
;

https://school.programmers.co.kr/learn/courses/30/lessons/59038?language=oracle 

 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr

SELECT MIN(DATETIME) AS "시간"
FROM ANIMAL_INS
;

https://school.programmers.co.kr/learn/courses/30/lessons/59406

 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr

SELECT COUNT(ANIMAL_TYPE) AS COUNT
FROM ANIMAL_INS;

+ Recent posts