
문제Given head, the head of a linked list, determine if the linked list has a cycle in it.There is a cycle in a linked list if there is some node in the

문제Given a string s, find the length of the longest substring without repeating characters. https://leetcode.com/problems/longest-substring-withou

문제Given an array of positive integers nums and a positive integer target, return the minimal length of a subarray whose sum is greater than or equal t

문제Given a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a specific tar

문제A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads th

문제You are given the heads of two sorted linked lists list1 and list2.Merge the two lists into one sorted list. The list should be made by splicing tog

문제You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes con

문제Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if

문제You are given an m x n integer matrix matrix with the following two properties: Each row is sorted in non-decreasing order.The first integer of each

문제Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.Implement the MinStack class:MinStack() initializes

문제You are given an array of strings tokens that represents an arithmetic expression in a Reverse Polish Notation.Evaluate the expression. Return an in

문제Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.You may assume that each in

[문제] Given an integer array nums and an integer k, return true if there are two distinct indices i and j in the array such that nums[i] == nums[j] and

[문제] Given two strings ransomNote and magazine, return true if ransomNote can be constructed by using the letters from magazine and false otherwise. E

문제Given two strings s and t, return true if t is an anagram of s, and false otherwise.An Anagram is a word or phrase formed by rearranging the letters

문제Given the head of a linked list, return the list after sorting it in ascending order.Example 1:Input: head = 4,2,1,3Output: 1,2,3,4Example 2:Input:

문제A peak element is an element that is strictly greater than its neighbors.Given a 0-indexed integer array nums, find a peak element, and return its i

문제Given the root of a Binary Search Tree (BST), return the minimum absolute difference between the values of any two different nodes in the tree.Examp

문제Given the root of a binary search tree, and an integer k, return the kth smallest value (1-indexed) of all the values of the nodes in the tree.Examp

[문제] Given the root of a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top t

문제Given the root of a binary tree, return the average value of the nodes on each level in the form of an array. Answers within 10-5 of the actual answ

문제A trie (pronounced as "try") or prefix tree is a tree data structure used to efficiently store and retrieve keys in a dataset of strings. There are