LeetCode #0595 BigCountries. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스..
LeetCode #0595 BigCountries. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트, Database, 데이터베이스, mysql, mssql, query Runtime: 221 ms, faster than 71.47% of MySQL online submissions for Big Countries. Memory Usage: N/A LeetCode #595 Q. 위의 World 테이블이 있고, 나라명과 정보들이 들어가있다. 국토 면적이 3백만 스퀘어 km 를 넘거나, 인구..
LeetCode #867 TransposeMatrix. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스..
LeetCode #867 TransposeMatrix. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 28 ms, faster than 58.04% of C++ online submissions for Transpose Matrix. Memory Usage: 11.8 MB, less than 23.08% of C++ online submissions for Transpose Matrix. LeetCode #867 Q. Given a matrix A, return the ..
How to sort vector in C++, 벡터 정렬하는 방법,sorting,배열,stl,씨쁠쁠,example code,예제코드,표준라이브러리
How to sort vector in C++, 벡터 정렬하는 방법,sorting,배열,stl,씨쁠쁠,example code,예제코드,표준라이브러리 벡터 오름차순, 내림차순 정렬 방법 (STL) Vector sorting descending, ascending #include #include #include using namespace std; int main(int argc, char*(*argv)) { vector sampleVector1 = { 6,2,6,3,7,2,1,9,123,42,7,645,185 }; vector sampleVector2 = { 6,2,6,3,7,2,1,9,123,42,7,645,185 }; // ascending sort(sampleVector1.begin(), sample..
LeetCode #1046 LastStoneWeight. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리..
LeetCode #1046 LastStoneWeight. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 0 ms, faster than 100.00% of C++ online submissions for Last Stone Weight. Memory Usage: 8.3 MB, less than 100.00% of C++ online submissions for Last Stone Weight. LeetCode #1046 Q. We have a collection of r..
LeetCode #463 IslandPerimeter. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스..
LeetCode #463 IslandPerimeter. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 104 ms, faster than 11.22% of C++ online submissions for Island Perimeter. Memory Usage: 26.4 MB, less than 14.29% of C++ online submissions for Island Perimeter. LeetCode #463 Q. You are given a map in form ..
LeetCode #344 ReverseString. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트
LeetCode #344 ReverseString. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 36 ms, faster than 99.50% of C++ online submissions for Reverse String. Memory Usage: 15.2 MB, less than 95.12% of C++ online submissions for Reverse String. LeetCode #344 Q. Write a function that reverses a st..
LeetCode #821 ShortestDistanceToACharacter. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접..
LeetCode #821 ShortestDistanceToACharacter. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 8 ms, faster than 97.03% of C++ online submissions for Shortest Distance to a Character. Memory Usage: 8.9 MB, less than 100.00% of C++ online submissions for Shortest Distance to a Character. Le..