본문 바로가기

전체 글

(198)
[LeetCode][Topological Sort] Course Schedule 풀어보기 https://leetcode.com/problems/course-schedule/description/?utm_source=chatgpt.com Course Schedule - LeetCodeCan you solve this real interview question? Course Schedule - There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, bi] indicates that you must take coleetcode.com 문제는 위상정렬의 가장 간단한 형태의 ..
[LeetCode][Graph] Number of Islands 풀어보기 https://leetcode.com/problems/number-of-islands/?utm_source=chatgpt.com Number of Islands - LeetCodeCan you solve this real interview question? Number of Islands - Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by connecting adjacent lleetcode.com유명한 형태의 2차원 그래프 문제입니다.가장 간단하게 ..
[LeetCode][Binary Search] Search in Rotated Sorted Array 풀어보기 https://leetcode.com/problems/search-in-rotated-sorted-array/description/?utm_source=chatgpt.com Search in Rotated Sorted Array - LeetCodeCan you solve this real interview question? Search in Rotated Sorted Array - There is an integer array nums sorted in ascending order (with distinct values). Prior to being passed to your function, nums is possibly left rotated at an unknown index k (1 leetcod..
[Leetcode] Daily Temperatures 풀어보기 https://leetcode.com/problems/daily-temperatures/description/?utm_source=chatgpt.com Daily Temperatures - LeetCodeCan you solve this real interview question? Daily Temperatures - Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait after the ith day to get a warmerleetcode.com 이번 문제는 Monotonic..
[Leetcode] Longuset Substring Without... 풀어보기 https://leetcode.com/problems/longest-substring-without-repeating-characters/description/?utm_source=chatgpt.com Longest Substring Without Repeating Characters - LeetCodeCan you solve this real interview question? Longest Substring Without Repeating Characters - Given a string s, find the length of the longest substring without duplicate characters. Example 1: Input: s = "abcabcbb" Output: 3 E..
[Leetcode] Kth Largest Element 풀어보기 https://leetcode.com/problems/kth-largest-element-in-an-array/description/?utm_source=chatgpt.com Kth Largest Element in an Array - LeetCodeCan you solve this real interview question? Kth Largest Element in an Array - Given an integer array nums and an integer k, return the kth largest element in the array. Note that it is the kth largest element in the sorted order, not the kth distinct elemele..
[Leetcode] LRU Cache 풀어보기 https://leetcode.com/problems/lru-cache/?utm_source=chatgpt.com LRU Cache - LeetCodeCan you solve this real interview question? LRU Cache - Design a data structure that follows the constraints of a Least Recently Used (LRU) cache [https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU]. Implement the LRUCache class: * LRUCache(int cleetcode.com AI 발전으로 인해 코딩테스트 자체를 보지 않는 기업들도 늘어나고 있습니다.하지만..
[네트워크 개념 복습] TCP 오늘은 TCP에 대해 정리해보려고합니다. 내용은 먼저 저의 생각을 적은 뒤 이후 ai로 한번 정제해서 전달하는 방식입니다. TCP는 Trasnmission Control Protocol로 OSI의 Transport 계층의 프로토콜입니다. TCP를 이해하기 위해서는 TCP의 헤더에 대해 알아야합니다. 0 15 31 +-------------------+-------------------+ | Source Port | Destination Port | +-------------------+-------------------+ | Sequence Number | +-----------..