본문 바로가기

Algorithm5

[LeetCode][DFS|BFS] 130. Surrounded Regions 문제 링크 https://leetcode.com/problems/surrounded-regions/ Surrounded Regions - LeetCode 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 Given an m x n matrix board containing 'X' and 'O', capture all regions that are 4-directionally surrounded by 'X'. A region is captured by flipping all 'O's.. 2022. 4. 7.
[LeetCode][DFS|BFS] 1654. Minimum Jumps to Reach Home 문제 링크 https://leetcode.com/problems/minimum-jumps-to-reach-home/ Minimum Jumps to Reach Home - LeetCode 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 A certain bug's home is on the x-axis at position x. Help them get there from position 0. The bug jumps according to the following rules: I.. 2021. 11. 21.
[LeetCode][Greedy] 11. Container With Most Water 문제 링크 https://leetcode.com/problems/container-with-most-water/ Container With Most Water - LeetCode 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 Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the t.. 2021. 11. 19.
[LeetCode][Greedy] 55. Jump Game 문제 링크 https://leetcode.com/problems/jump-game/ Jump Game - LeetCode 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 You are given an integer array nums. You are initially positioned at the array's first index, and each element in the array represents your maximum jump length at that positio.. 2021. 10. 4.