본문 바로가기

분류 전체보기

(204)
SQL 코드카타 165 - Population Census https://www.hackerrank.com/challenges/asian-population/problem?isFullScreen=true Population Census | HackerRankQuery the sum of the populations of all cities on the continent 'Asia'.www.hackerrank.com  FieldTypeIDNUMBERNAMEVARCHAR2 (17)COUNTRYCODEVARCHAR2 (3)DISTRICTVARCHAR2 (20)POPULATIONNUMBER CITY 테이블:ID: 테이블의 고유 키NAME : 도시의 이름COUNTRYCODE : 국가 코드DISTRICT : 지역POPULATION : 인구 FieldTypeCODEVARCH..
SQL 코드카타 164 - Weather Observation Station 19 https://www.hackerrank.com/challenges/weather-observation-station-19/problem?isFullScreen=true Weather Observation Station 19 | HackerRankQuery the Euclidean Distance between two points and round to 4 decimal digits.www.hackerrank.com FieldTypeIDNUMBERCITYVARCHAR2(21)STATEVARCHAR2(2)LAT_NNUMBERLONG_WNUMBER STATION 테이블:ID: 테이블의 고유 키CITY : 도시의 이름STATE : 주의 이름LAT_N : 위도LONG_W : 경도P1(a, c)와 P2(b, d)..
SQL 코드카타 163 - Weather Observation Station 18 https://www.hackerrank.com/challenges/weather-observation-station-18/problem?isFullScreen=true Weather Observation Station 18 | HackerRankQuery the Manhattan Distance between two points, round or truncate to 4 decimal digits.www.hackerrank.com FieldTypeIDNUMBERCITYVARCHAR2(21)STATEVARCHAR2(2)LAT_NNUMBERLONG_WNUMBER STATION 테이블:ID: 테이블의 고유 키CITY : 도시의 이름STATE : 주의 이름LAT_N : 위도LONG_W : 경도P1(a, b)와..
SQL 코드카타 162 - Weather Observation Station 17 https://www.hackerrank.com/challenges/weather-observation-station-17/problem?isFullScreen=true Weather Observation Station 17 | HackerRankQuery the Western Longitude for the smallest value of the Northern Latitudes greater than 38.7780 in STATION and round to 4 decimal places.www.hackerrank.com FieldTypeIDNUMBERCITYVARCHAR2(21)STATEVARCHAR2(2)LAT_NNUMBERLONG_WNUMBER STATION 테이블:ID: 테이블의 고유 키CITY..
SQL 코드카타 161 - Weather Observation Station 16 https://www.hackerrank.com/challenges/weather-observation-station-16/problem?isFullScreen=true Weather Observation Station 16 | HackerRankQuery the smallest of STATION's Northern Latitudes that is greater than 38.7780, and round to 4 decimal placeswww.hackerrank.com FieldTypeIDNUMBERCITYVARCHAR2(21)STATEVARCHAR2(2)LAT_NNUMBERLONG_WNUMBER STATION 테이블:ID: 테이블의 고유 키CITY : 도시의 이름STATE : 주의 이름LAT_N :..
알고리즘 코드카타 113 - 전력망을 둘로 나누기 https://school.programmers.co.kr/learn/courses/30/lessons/86971 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr 문제 설명 n개의 송전탑이 전선을 통해 하나의 트리 형태로 연결되어 있습니다. 당신은 이 전선들 중 하나를 끊어서 현재의 전력망 네트워크를 2개로 분할하려고 합니다. 이때, 두 전력망이 갖게 되는 송전탑의 개수를 최대한 비슷하게 맞추고자 합니다. 송전탑의 개수 n, 그리고 전선 정보 wires가 매개변수로 주어집니다. 전선들 중 하나를 끊어서 송전탑 개수가 가능한 비슷하도록 두 전력망으로 나누었을 때..
SQL 코드카타 160 - Weather Observation Station 15 https://www.hackerrank.com/challenges/weather-observation-station-15/problem?isFullScreen=true Weather Observation Station 15 | HackerRankQuery the Western Longitude for the largest Northern Latitude under 137.2345, rounded to 4 decimal places.www.hackerrank.com FieldTypeIDNUMBERCITYVARCHAR2(21)STATEVARCHAR2(2)LAT_NNUMBERLONG_WNUMBER STATION 테이블:ID: 테이블의 고유 키CITY : 도시의 이름STATE : 주의 이름LAT_N : 위도L..
SQL 코드카타 159 - Weather Observation Station 14 https://www.hackerrank.com/challenges/weather-observation-station-14/problem?isFullScreen=true Weather Observation Station 14 | HackerRankQuery the greatest value of the Northern Latitudes from STATION that are under 137.2345 and truncated to 4 decimal places.www.hackerrank.com FieldTypeIDNUMBERCITYVARCHAR2(21)STATEVARCHAR2(2)LAT_NNUMBERLONG_WNUMBER STATION 테이블:ID: 테이블의 고유 키CITY : 도시의 이름STATE : ..