본문 바로가기

Algorithm/Leet Code

(124)
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..
LeetCode #191 NumberOf1Bits. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 LeetCode #191 NumberOf1Bits. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Runtime: 0 ms, faster than 100.00% of C++ online submissions for Number of 1 Bits. Memory Usage: 8.1 MB, less than 92.68% of C++ online submissions for Number of 1 Bits. LeetCode #191 Q. Write a function that takes an u..
LeetCode #942 DI StringMatch. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 LeetCode #942 DI StringMatch. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 5min Runtime: 40 ms, faster than 68.48% of C++ online submissions for DI String Match. Memory Usage: 10.5 MB, less than 7.14% of C++ online submissions for DI String Match. LeetCode #942 Q. Given a string S that only c..
LeetCode #1021 RemoveOutermostParentheses. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,.. LeetCode #1021 RemoveOutermostParentheses. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 It takes just 20 min? but one of the worst performance. Runtime: 48 ms, faster than 5.15% of C++ online submissions for Remove Outermost Parentheses. Memory Usage: 8.9 MB, less than 90.00% of C++ online su..
LeetCode #896 MonotonicArray. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 LeetCode #896 MonotonicArray. Algorithm,알고리즘,LeetCode,Codefights,CodeSignal,코드파이트,코드시그널,예제,문제해결능력,example,c++,java,재귀,recursive,datastructure,techinterview,coding,코딩인터뷰,기술면접,연결리스트 Idk why it has best performance 퍼포먼스 왜 잘나오는건지 모르겠음 Runtime: 76 ms, faster than 94.39% of C++ online submissions for Monotonic Array. Memory Usage: 14 MB, less than 100.00% of C++ online submissions for Monotonic Array...
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..