백준 알고리즘 문제 풀이 모음
분류
- 다이나믹 프로그래밍
- BFS
- DFS
- 자료구조
- 정렬
- 트리
- 재귀 호출
- 분할 정복
- 큰 수
- 순열
- 조합 ...
백준 알고리즘 문제 풀이 모음
이중 선택 정렬 현재 오름차순 정렬이 되어있는 배열에 대해서
내림차순 정렬이 안되는 문제를 가지고 있음.
Lines 12 to 15 in 92938e3
i 변수도 필요하고 tmp도 일회용이기에 망정이지
원래 값이 유지되어 있을려면 변수 하나가 더 필요해진다.
이게 정녕 최선인가?
O(n^2)
선택 정렬
삽입 정렬
O(n log n)
병합 정렬
힙 정렬
퀵 정렬
Line 28 in 79460cf
선택적 분기가 아닌
최소, 최대에 대한 두 개의 분기이므로 수정 바람
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.