본문 바로가기

전체 글

(49)
[Java Script] 909. Snakes and Ladders 1. 문제 개요 문제 링크 : 909. Snakes and Ladders LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 여러 장애물이 있는 길을 통과하여 목표에 도달하는 최소횟수를 찾는 문제 2. 문제 풀이 LeetCode 요구 양식으로 코드 구현 /** * @param {number[][]} board * @return {number} */ var snak..
[Java Script] 133. Clone Graph 1. 문제 개요 문제 링크 : 133. Clone Graph LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 그래프 기능 구현 2. 문제 풀이 그래프 기능을을 구현하면되는 간단한 문제입니다. 그래프에대한 이해도가 중요합니다. LeetCode 요구 양식으로 코드 구현 var cloneGraph = function (node, clonedNodes = new Ma..
[Java Script] 373. Find K Pairs with Smallest Sums 1. 문제 개요 문제 링크 : 373. Find K Pairs with Smallest Sums Find K Pairs with Smallest Sums - LeetCode Can you solve this real interview question? Find K Pairs with Smallest Sums - You are given two integer arrays nums1 and nums2 sorted in non-decreasing order and an integer k. Define a pair (u, v) which consists of one element from the first array and one leetcode.com 오름 차순으로 구성된 두개의 배열과 정수 k 가 주어집니다..