Conversation
|
@yongki150 @beombu @JiYongKim-A |
|
NOTE: 707-design-linked-list 문제를 doubly linked list로 접근한 까닭은 실무적인 관점에서 접근하여 풀이한 것인데, |
kimdev0206
left a comment
There was a problem hiding this comment.
난이도업 되기 전 풀이와 난이도업 이후 풀이의 차이로
시·공간 복잡도를 찾아내는 능력을 키울수 있었습니다.
kimdev0206
left a comment
There was a problem hiding this comment.
1290번은 Show Hint 2에서 다음과 같은 난이도업이 제시되어 있어 알려드립니다.
-
You can solve the problem in O(1) memory using bits operation.
use shift left operation ( << ) and
or operation ( | ) to get the decimal value in one operation.
or 연산 또한 필요하다고 합니다.
네 bitwise or을 사용하면 CPU 레벨의 계산에서 조금 더 이점이 있을 순 있지만, result = result * 2 + node.val |
No description provided.