Home
My Technical Diary
Cancel

LeetCode - 451. Sort Characters By Frequency

451. Sort Characters By Frequency - medium 문제 Given a string, sort it in decreasing order based on the frequency of characters. 제한사항 1 <= A.length = A[0].length <= 20 0 <= A[i][...

OS - 개요

개요 운영체제가 하는 일 컴퓨터 시스템의 구성 컴퓨터 시스템의 구조 운영체제의 구조 운영체제의 연산 프로세스 관리 메모리 관리 저장장치 관리 운영체제가 하는 일 컴퓨터 시스템은 대게 네 가지 구성 요소인 하드웨어, 운영체제, 응용 프로그램, 사용자 로 구분할 수 있다. 하드웨어 는 ...

LeetCode - 832. Flipping an Image

832. Flipping an Image - easy 문제 Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means that each ...

LeetCode - 907. Sum of Subarray Minimums

907. Sum of Subarray Minimums - medium 문제 Given an array of integers A, find the sum of min(B), where B ranges over every (contiguous) subarray of A. Since the answer may be large, return the ...

LeetCode - 5. Longest Palindromic Substring

5. Longest Palindromic Substring - medium 문제 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 제한사항 입출력 예 Example 1: Input: ...

LeetCode - 179. Largest Number

179. Largest Number - medium 문제 Given a list of non negative integers, arrange them such that they form the largest number. 제한사항 The result may be very large, so you need to return a strin...

LeetCode - 654. Maximum Binary Tree

654. Maximum Binary Tree - medium 문제 Given an integer array with no duplicates. A maximum tree building on this array is defined as follow: The root is the maximum number in the array. Th...

LeetCode - 701. Insert into a Binary Search Tree

701. Insert into a Binary Search Tree - medium 문제 Given the root node of a binary search tree (BST) and a value to be inserted into the tree, insert the value into the BST. Return the root node...

LeetCode - 1038. Binary Search Tree to Greater Sum Tree

1038. Binary Search Tree to Greater Sum Tree - medium 문제 Given the root of a binary search tree with distinct values, modify it so that every node has a new value equal to the sum of the values...

LeetCode - 807. Max Increase to Keep City Skyline

807. Max Increase to Keep City Skyline - medium 문제 In a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the height ...