-
🎫 Python + Generator / LeetCode "1614. max nesting depth of the parentheses"
지난 번 작성한 Common Lisp / LOOP매크로을 이용한 구현 을 다른 언어에서였다면, 비슷한 조건으로 메모리 복잡도 O(1)으로 풀어보고 싶었다.
1 2 3 4 5 6...
-
🐖 CommonLisp (w/o LOOP-macro) / LeetCode "1614. max nesting depth of the parentheses"
어제 작성한 LOOP매크로을 이용한 구현 을 풀어서, 만약 LOOP매크로가 없었더라면 어떻게 짰을지 작성해봤다.
1 2 3 4 5 6 7 8 9 10 11 12 (defun...
-
🫛 CommonLisp / LeetCode "1614. max nesting depth of the parentheses"
문제 https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/
작성한 코드 1 2 3 4 5 6 7 8...