8000 programmers · KanuKim97/Algorithm@593eef3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 593eef3

Browse files
committed
programmers
1 parent 68789b3 commit 593eef3

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def solution(num1, num2):
2+
return num1 % num2
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
def solution(array):
2+
array.sort()
3+
return array[int(len(array)/2)]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def solution(n):
2+
answer = []
3+
4+
for i in range(1, n+1):
5+
if(i % 2 == 1):
6+
answer.append(i)
7+
8+
return answer
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SELECT WAREHOUSE_ID, WAREHOUSE_NAME, ADDRESS, COALESCE(FREEZER_YN, 'N') AS FREEZER_YN
2+
FROM FOOD_WAREHOUSE
3+
WHERE ADDRESS LIKE '경기도%'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SELECT COUNT(*) AS USERS
2+
FROM USER_INFO
3+
WHERE AGE IS NULL

0 commit comments

Comments
 (0)
0