Skip to content

Alg0rithm-Study/Algorithm_Study_B

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค” Algorithm ์Šคํ„ฐ๋”” B๋ฐ˜

๐Ÿค“ ์ฐธ์—ฌ์ž

๐Ÿš€ ์ฐจ์ฐจ, ์ˆฒ์žฌ, ์•„๋ฆฌ, ์˜ˆํ•˜, ์•Œ๋ผ๋”˜

๋ชฉ์ฐจ

๐Ÿค“ ๊ณตํ†ต Rule

  • ๋งค์ฃผ ์ˆ˜์š”์ผ ์ •ํ•ด์ง„ ์‹œ๊ฐ„์— ๋ชจ์—ฌ์„œ ์Šคํ„ฐ๋””๋ฅผ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค
  • ๋งค์ฃผ ์Šคํ„ฐ๋””ํ•œ ๋‚ด์šฉ์„ ์ •๋ฆฌํ•˜์—ฌ github์— ์ •๋ฆฌํ•œ ํ›„ ๋””์Šค์ฝ”๋“œ ์ฑ„๋„์— github ๋งํฌ๋ฅผ ๊ณต์œ ํ•ฉ๋‹ˆ๋‹ค.
  • ๊ฐ์„ ์œ ์ง€ํ•˜๊ณ , ํ•™์Šต ํšจ๊ณผ๋ฅผ ๊ทน๋Œ€ํ™”ํ•˜๊ธฐ ์œ„ํ•ด ๋งค์ผ ํ’€์ดํ•˜๋Š” ๊ฒƒ์„ ๋ชฉํ‘œ๋กœ ํ•ฉ๋‹ˆ๋‹ค.
  • ์ถ”๊ฐ€์ ์ธ ๋ฌธ์ œํ’€์ด ๋ฐ ํ•™์Šต์€ ๋‹น์—ฐํžˆ ์ž์œ ์ž…๋‹ˆ๋‹ค!

๐Ÿค“ ์ปค๋ฆฌํ˜๋Ÿผ

๋‚œ์ด๋„ ๋ณ„ ํ’€์ด ๋ฌธ์ œ ์ˆ˜

๋‚œ์ด๋„ Programmers ๋‚œ์ด๋„ LeetCode
11 5
4 2
3 0
1์ฃผ์ฐจ(1/12)
2์ฃผ์ฐจ(1/19)
3์ฃผ์ฐจ(1/26)
4์ฃผ์ฐจ(2/9)
  • DFS/BFS ๋ฌธ์ œ ํ’€์ด
๋‚œ์ด๋„ ๋ฌธ์ œ
Island Perimeter
Flood Fill
Find if Path Exists in Graph
Gold 5 ์น˜์ฆˆ
5์ฃผ์ฐจ(2/16)
  • Two Pointers/Sliding Windows ๋ฌธ์ œ ํ’€์ด
๋‚œ์ด๋„ ๋ฌธ์ œ
Reverse String
Container With Most Water
Gold 5 ์šฉ์•ก
Longest Substring Without Repeating Characters
Gold 4 ํšŒ์ „ ์ดˆ๋ฐฅ
6์ฃผ์ฐจ(2/23)
7์ฃผ์ฐจ(3/2)
8์ฃผ์ฐจ(3/9)
  • Binary Search ๋ฌธ์ œ ํ’€์ด
๋‚œ์ด๋„ ๋ฌธ์ œ
Silver 3 ๋‚˜๋ฌด ์ž๋ฅด๊ธฐ
Gold 5 ๊ณต์œ ๊ธฐ ์„ค์น˜
Search in Rotated Sorted Array
์ˆœ์œ„ ๊ฒ€์ƒ‰

๐Ÿค“ ์ปค๋ฐ‹ ์ปจ๋ฒค์…˜

  • programmers : programmers ํ’€์ด
  • leetcode : leetcode ํ’€์ด
  • boj : Baekjoon Online Judge ํ’€์ด
  • ds : ์ž๋ฃŒ๊ตฌ์กฐ๋ฅผ ํ•™์Šตํ•˜๊ณ  ์ •๋ฆฌํ•œ ๋‚ด์šฉ
  • algo : ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ํ•™์Šตํ•˜๊ณ  ์ •๋ฆฌํ•œ ๋‚ด์šฉ
  • chore : ํด๋”/ํŒŒ์ผ ๊ตฌ์กฐ ๋ณ€๊ฒฝ
  • docs : ๊ณตํ†ต ๋ฌธ์„œ ์ˆ˜์ • ๋ฐ ์ถ”๊ฐ€

๐Ÿค“ ๋ฌธ์ œ ํ’€์ด ๋“ฑ๋ก ๋ฐฉ๋ฒ•

๐Ÿˆโ€โฌ› ๋ฌธ์ œ ํ’€์ด ์ดํ›„ github์— push! (๋ณธ์ธ ๋ธŒ๋žœ์น˜/๋ณธ์ธ ํด๋”๋งŒ ์ง์ ‘์ ์œผ๋กœ ์ˆ˜์ •ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค!)

๐ŸŒด branch ์‚ฌ์šฉ ๋ฐฉ๋ฒ•

  1. ๋ณธ์ธ branch๋กœ ์ด๋™
  2. ๋ณธ์ธ ํด๋”๋กœ ์ด๋™
  3. ๋ฌธ์ œ ํ’€์ด ํ”Œ๋žซํผ(programmers, leetcode etc) ํด๋” ๋‚ด์— ํ•ด๋‹นํ•˜๋Š” ๋ฌธ์ œ ํ’€์ด ํŒŒ์ผ ์ถ”๊ฐ€
  4. ๋งค์ฃผ ์Šคํ„ฐ๋”” ์ด์ „์— main branch์— merge

๐Ÿ“‘ ํŒŒ์ผ๋ช… ๊ทœ์น™

- Programmers: `์ด๋ฆ„_๋ฌธ์ œ๋ช….swift`
    - ex) `[์ฐจ์ฐจ] ์‹ ๊ทœ ์•„์ด๋”” ์ถ”์ฒœ.swift`
- LeetCode: `์ด๋ฆ„_๋ฌธ์ œ๋ช….swift`
    - ex) `[์ฐจ์ฐจ] Two Sums.swift`
  • ํŒŒ์ผ ์ž‘์„ฑ ์–‘์‹ ex. Sorting the Sentence.swift
// Logic (ํ’€์ด ๋ฐฉ์‹)
// 1. ์Šคํƒ์„ ์‚ฌ์šฉํ•œ๋‹ค
// 2. popํ•ด์„œ ์›์†Œ๋ฅผ ๊บผ๋‚ธ๋‹ค
// 3. ~~ 

// Solution (ํ’€์ด) 
func solution() {
    // code 
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages