개발/Javascript

    [알고리즘] Sums of Parts

    Let us consider this example (array written in general format): ls = [0, 1, 3, 6, 10] Its following parts: ls = [0, 1, 3, 6, 10] ls = [1, 3, 6, 10] ls = [3, 6, 10] ls = [6, 10] ls = [10] ls = [] The corresponding sums are (put together in a list):[20, 20, 19, 16, 10, 0] The functionparts_sums(or its variants in other languages) will take as parameter a listlsand return a list of the sums of its ..

    [알고리즘] Find The Parity Outiler

    You are given an array (which will have a length of at least 3, but could be very large) containing integers. The array is either entirely comprised of odd integers or entirely comprised of even integers except for a single integerN. Write a method that takes the array as an argument and returns this "outlier"N. Examples [2, 4, 0, 100, 4, 11, 2602, 36] Should return: 11 (the only odd number) [16..

    완전 쌩 초짜가 FE개발 공부할때 읽기 좋은책

    내가 FE개발자가 되기위해 읽었던책 중 가장 쉽게 읽히면서도 프로그래밍적 사고와 문법을 초보자가 부담없이 접근할수있었던 책 일단 내가 초보자이기도 했고, 그림으로 이해력 부족한 나를 잘 도와줬던거같다. 쌩 초보자가 읽고나서 프로그래밍이 뭔지 자바스크립트가 어떻게 돌아가는지 정도를 맛 볼수있는 책