[LeetCode] 1572. Matrix Diagonal Sum - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/matrix-diagonal-sum/description/ Matrix Diagonal Sum - LeetCode Can you solve this real interview question? Matrix Diagonal Sum - Given a square matrix mat, return the sum of the matrix diagonals. Only include the sum of all the elements on the primary diagonal and all the elements on the secondary diagonal that are leetcode.com 문제 Given a square matrix mat, return ..
[LeetCode] 1046. Last Stone Weight - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/last-stone-weight/description/ Last Stone Weight - LeetCode Can you solve this real interview question? Last Stone Weight - You are given an array of integers stones where stones[i] is the weight of the ith stone. We are playing a game with the stones. On each turn, we choose the heaviest two stones and smash them leetcode.com 문제 You are given an array of integers s..
[LeetCode] 2390. Removing Stars From a String - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/removing-stars-from-a-string/description/ Removing Stars From a String - LeetCode Can you solve this real interview question? Removing Stars From a String - You are given a string s, which contains stars *. In one operation, you can: * Choose a star in s. * Remove the closest non-star character to its left, as well as remove the star it leetcode.com 문제 You are given..
[Flutter] flutter windows version 이슈 해결하기
·
개발/Flutter
오랜만에 플러터 공부를 위해 플러터 환경설정을 확인하던 중 flutter doctor 에서 아래와 같이 windows version에서 문제가 발생하였다. 해당 이슈는 명령어 세 줄만으로 간단하게 해결이 가능했다. 1. 플러터가 최신 버전이 아닌 경우 플러터 업그레이드 flutter upgrade 2. 플러터 채널을 master로 변경 flutter channel master 3. 다시 한번 flutter doctor를 실행하여 환경설정을 확인하면 모든 항목이 초록색 체크로 표시되어있는 편안한 화면을 볼 수 있다. flutter doctor -v
[LeetCode] 1020. Number of Enclaves - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/number-of-enclaves/ Number of Enclaves - LeetCode Can you solve this real interview question? Number of Enclaves - You are given an m x n binary matrix grid, where 0 represents a sea cell and 1 represents a land cell. A move consists of walking from one land cell to another adjacent (4-directionally) land leetcode.com 문제 You are given an m x n binary matrix grid, wh..
HYOJUN
도전하고 기록하기