본문 바로가기

전체 글

(426)
LeetCode #0448 FindAllNumbersDisappearedInAnArray. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기.. LeetCode #0448 FindAllNumbersDisappearedInAnArray. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 #442 랑 거의 비슷함, 성능은 그닥.. It's almost similar with #442, poor performance.. Runtime: 116 ms, faster than 66.91% of C++ online submissions for Find All Numbers Disappeared in an Array. Memory Usage: 1..
LeetCode #268 MissingNumber. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 LeetCode #268 MissingNumber. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 24 ms, faster than 81.41% of C++ online submissions for Missing Number. Memory Usage: 11.1 MB, less than 5.14% of C++ online submissions for Missing Number. LeetCode #260 Q. Given an array containing n distinct..
LeetCode #260 SingleNumber3. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 LeetCode #260 SingleNumber3. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 20 ms, faster than 22.92% of C++ online submissions for Single Number III. Memory Usage: 10.7 MB, less than 20.69% of C++ online submissions for Single Number III. LeetCode #260 Q. Given an array of numbers num..
LeetCode #872 LeafSimilarTree. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스.. LeetCode #872 LeafSimilarTree. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 0 ms, faster than 100.00% of C++ online submissions for Leaf-Similar Trees. Memory Usage: 14.3 MB, less than 31.80% of C++ online submissions for Leaf-Similar Trees. LeetCode #872 Q. Consider all the leaves o..
LeetCode #852 PeakIndexInAMountainArray. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,.. LeetCode #852 PeakIndexInAMountainArray. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 STL 사용이 전체를 다 돌더라도 빠를 줄 알았는데, 그냥 for 문으로 절반만 확인하는게 더 빠름 I thought using STL will have better performance even though it has to iterate all element, but just checking half using for statement is better than S..
LeetCode #832 FlippingAnImage. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스.. LeetCode #832 FlippingAnImage. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 8 ms, faster than 98.29% of C++ online submissions for Flipping an Image. Memory Usage: 9.3 MB, less than 62.39% of C++ online submissions for Flipping an Image. LeetCode #832 Q. Given a binary matrix A, we w..
LeetCode #977 SquaresOfASortedArray. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결.. LeetCode #977 SquaresOfASortedArray. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 124 ms, faster than 23.05% of C++ online submissions for Squares of a Sorted Array. Memory Usage: 13.4 MB, less than 68.04% of C++ online submissions for Squares of a Sorted Array. It could be better pe..
LeetCode #807 MaxIncreaseToKeepCitySkyline. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접.. LeetCode #807 MaxIncreaseToKeepCitySkyline. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 4 ms, faster than 99.30% of C++ online submissions for Max Increase to Keep City Skyline. Memory Usage: 9.1 MB, less than 97.10% of C++ online submissions for Max Increase to Keep City Skyline. L..