목록전체 글 (188)
Baro's B
같이 공부하던분이랑 간만에 스터디 하면서 근황이야기도 하고, 프로젝트 이야기도 했다. 겸사겸사 프로젝트 포트폴리오도 수정 중.. 프로젝트에서 직접 한거 + 기여도에 대한 내용을 추가할려고 한다. 그래서 다시 간만에 했던 프로젝트 코드들도 다시 보고,,수정하려고 하니 다시 그 기억들이 떠올랐다..

import java.util.*; class Solution { public int[] solution(int[] numbers, int num1, int num2) { int[] answer = Arrays.copyOfRange(numbers, num1, num2+1); return answer; } } *** Arrays.copyOfRange(원본 배열, 시작 위치, 마지막 위치);

class Solution { public int solution(int n, int k) { int answer = 0; answer = 12000 * n + k * 2000; if(10
문제 설명 문자열 my_string과 문자 letter이 매개변수로 주어집니다. my_string에서 letter를 제거한 문자열을 return하도록 solution 함수를 완성해주세요. 제한사항 1 ≤ my_string의 길이 ≤ 100 letter은 길이가 1인 영문자입니다. my_string과 letter은 알파벳 대소문자로 이루어져 있습니다. 대문자와 소문자를 구분합니다. 입출력 예 설명 입출력 예 #1 "abcdef" 에서 "f"를 제거한 "abcde"를 return합니다. 입출력 예 #2 "BCBdbe" 에서 "B"를 모두 제거한 "Cdbe"를 return합니다. class Solution { public String solution(String my_string, String letter) ..

학생 등급과 이름순 정렬 You are given two tables: Students and Grades. Students contains three columns ID, Name and Marks. Grades contains the following data: Ketty gives Eve a task to generate a report containing three columns: Name, Grade and Mark. Ketty doesn't want the NAMES of those students who received a grade lower than 8. The report must be in descending order by grade -- i.e. higher grades are e..

아프리카의 모든 도시 목록 Given the CITY and COUNTRY tables, query the names of all cities where the CONTINENT is 'Africa'. Note: CITY.CountryCode and COUNTRY.Code are matching key columns. Input Format The CITY and COUNTRY tables are described as follows: SELECT city.name FROM city JOIN country ON country.code = city.countrycode AND country.continent = "Africa" ;

각 대륙별 도시의 인구수 평균 Given the CITY and COUNTRY tables, query the names of all the continents (COUNTRY.Continent) and their respective average city populations (CITY.Population) rounded down to the nearest integer. Note: CITY.CountryCode and COUNTRY.Code are matching key columns. Input Format The CITY and COUNTRY tables are described as follows: SELECT country.continent , FLOOR(AVG(city.population))..