전체 글

전체 글

    Tutorial: Tic-Tac-Toe

    Tutorial: Tic-Tac-Toe You will build a small tic-tac-toe game during this tutorial. This tutorial does not assume any existing React knowledge. The techniques you’ll learn in the tutorial are fundamental to building any React app, and fully understanding it will give you a deep understanding of React. 이 튜토리얼 동안 작은 tic-tac-toe 게임을 만들것입니다. 이 튜토리얼은 기존에 알고있던 React 지식을 필요로 하지 않습니다. 이 튜토리얼에서 배울 기술은 Re..

    Quick Start

    Quick Start You will learn How to create and nest components How to add markup and styles How to display data How to render conditions and lists How to respond to events and update the screen How to share data between components 배울것 컴포넌트를 만들고 중첩하는 방법 마크업과 스타일을 추가하는 방법 데이터를 보여주는 방법 조건과 리스트를 렌더하는 방법 이벤트에 응답하고 화면을 업데이트 하는 방법 컴포넌트들 사이에 데이터를 공유하는 방법 Creating and nesting components (컴포넌트 만들고 중첩하기) Rea..

    LeetCode / Simulation / 1706번 / Where Will the Ball Fall / JS

    Where Will the Ball Fall - LeetCode Can you solve this real interview question? Where Will the Ball Fall - You have a 2-D grid of size m x n representing a box, and you have n balls. The box is open on the top and bottom sides. Each cell in the box has a diagonal board spanning two corners o leetcode.com 문제에 있는 그림대로 공이 이동했을 경우 각 열마다의 공이 몇번째 열로 마지막에 나오는지 반환하는 문제이다. 만약 중간에 ..

    LeetCode / Linked List / 234번 / Palindrome Linked List / JS

    Palindrome Linked List - LeetCode Can you solve this real interview question? Palindrome Linked List - Given the head of a singly linked list, return true if it is a palindrome or false otherwise. Example 1: [https://assets.leetcode.com/uploads/2021/03/03/pal1linked-list.jpg] Input: hea leetcode.com 주어진 Linked List가 팰린드롬인지, 즉 앞으로해도 뒤로해도 같은지 판단하는 문제이다. /** * Definition for..

    LeetCode / Linked List / 19번 / Remove Nth Node From End of List / JS

    Remove Nth Node From End of List - LeetCode Can you solve this real interview question? Remove Nth Node From End of List - Given the head of a linked list, remove the nth node from the end of the list and return its head. Example 1: [https://assets.leetcode.com/uploads/2020/10/03/remove_ex1.jpg] leetcode.com 주어진 Linked List에서 뒤에서 n번째 요소를 제거하고 반환한다. /** * Definition for si..

    LeetCode / String / 43번 / Multiply Strings / JS

    Multiply Strings - LeetCode Can you solve this real interview question? Multiply Strings - Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Note: You must not use any built-in BigInteger library leetcode.com 문자열로 들어온 두 수의 곱을 반환하면 되는 문제이다. 단 문자열로 들어온 수는 정수의 범위를 넘는다. 그리고 되도록이면 BigInt 내장 ..