분류 전체보기

    [React] API 불러오기

    [React] API 불러오기

    API를 불러오기 앞서 axios를 먼저 react에 설치해 주어야 합니다. Axios에 대한 다큐먼트는 아래 링크에서 확인하실수 있습니다. Getting Started | Axios Docs Getting Started Promise based HTTP client for the browser and node.js What is Axios? Axios is a promise-based HTTP Client for node.js and the browser. It is isomorphic (= it can run in the browser and nodejs with the same codebase). On the server-side it u axios-http.com Axios 설치 npm i ax..

    [Javascript] 1663. Smallest String With A Given Numeric Value -쉬운 설명

    [Javascript] 1663. Smallest String With A Given Numeric Value -쉬운 설명

    1663. Smallest String With A Given Numeric Value The numeric value of a lowercase character is defined as its position (1-indexed) in the alphabet, so the numeric value of a is 1, the numeric value of b is 2, the numeric value of c is 3, and so on. The numeric value of a string consisting of lowercase characters is defined as the sum of its characters' numeric values. For example, the numeric va..

    [JavaScript] 36. Valid Sudoku

    36. Valid Sudoku to be validated according to the following rules: Each row must contain the digits 1-9 without repetition. Each column must contain the digits 1-9 without repetition. Each of the nine 3 x 3 sub-boxes of the grid must contain the digits 1-9 without repetition. Note: A Sudoku board (partially filled) could be valid but is not necessarily solvable. Only the filled cells need to be ..

    [JavaScript] 49. Group Anagrams 쉬운설명, hasmap사용

    49. Group Anagrams Given an array of strings strs, group the anagrams together. You can return the answer in any order. An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once. Example 1: Input: strs = ["eat","tea","tan","ate","nat","bat"] Output: [["bat"],["nat","tan"],["ate","eat","tea"]] Example 2: I..