이번 글에서는 그래프의 개요를 알아보려고 한다. 그래프의 정의 > 노드(Vertex or Node)와 간선(Edge)을 포함하는 비선형 자료구조 그래프는 예를 들어 실생활의 친구 관계 개념을 생각하면 좋다. 위의 그림을 보면 알 수 있듯이, 우리의 친구 관계는

난이도: EASY문제 설명:Given a string s consisting of lowercase English letters, return the first letter to appear twice.참고사항:A letter a appears twice before

난이도: 쉬움문제 설명:A pangram is a sentence where every letter of the English alphabet appears at least once.Given a string sentence containing only lowercas

난이도: 모름문제 설명:Given an array nums containing n distinct numbers in the range \[0, n], return the only number in the range that is missing from the arra

난이도: Level 1 문제 설명: 당신은 폰켓몬을 잡기 위한 오랜 여행 끝에, 홍 박사님의 연구실에 도착했습니다. 홍 박사님은 당신에게 자신의 연구실에 있는 총 N 마리의 폰켓몬 중에서 N/2마리를 가져가도 좋다고 했습니다. 홍 박사님 연구실의 폰켓몬은 종류에 따라

난이도: EASY 문제 설명: Given an integer array , count how many elements there are, such that is also in . If there are duplicates in , count them separat

난이도: EASY문제 설명:You are climbing a staircase. It takes n steps to reach the top.Each time you can either climb 1 or 2 steps. In how many distinct ways

난이도: EASY문제 설명:Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to

난이도: EASY 문제 설명:Given a string s consisting of lowercase English letters, return the first letter to appear twice.참고사항:A letter a appears twice before