목록F2. Problem & Solving (33)
Silver Library (Archived)
As long as I can understand what's going on, doesn't it more convenient to choose the language that I initially started with? Hence, I would choose to practice this algorithm with Python. Even this may result depreciate my valuation. Never late learning algorithm with nodejs after proving myself first.
Goal: To understand how to implement the concept in a real project. Python pos = -1 def search(list, n): l = 0 u = len(list) -1 while l
For...of for...of 명령문은 반복가능한 객체 (Array, Map, Set, String, TypedArray, arguments 객체 등을 포함)에 대해서 반복하고 각 개별 속성값에 대해 실행되는 문이 있는 사용자 정의 반복 후크를 호출하는 루프를 생성합니다. For...in for...in문은 상속된 열거 가능한 속성들을 포함하여 객체에서 문자열로 키가 지정된 모든 열거 가능한 속성에 대해 반복합니다. 여기서 사용이 낯선 것이 for of statement 입니다. 그래서, 이 글은 for of 문에 초점을 둡니다. const array1 = ['a', 'b', 'c']; for (const element of array1) { console.log(element); } // expect..
wrapper object (linked to prototype, heritage) Caution: Some of them may be incorrect. Read at your own risk. Note: it is about the difference of 'where to store the value', and 'temporary', 'primitive'. Scanning for its object with the method I input to refer it accordingly. This is kind of 'temporarily use the Primitive things like method.' Once I approach to some method with Primitive, const ..