- Largest Merge Of Two Strings
1754. Largest Merge Of Two Strings class Solution { public: string largestMerge(string word1, string word2) { if (word1.size() == 0 || word2.size...
C++ & Algorithms — 한국어 개발 블로그
1754. Largest Merge Of Two Strings class Solution { public: string largestMerge(string word1, string word2) { if (word1.size() == 0 || word2.size...
950. Reveal Cards In Increasing Order class Solution { public: vector<int> deckRevealedIncreasing(vector<int>& deck) { deque<i...
1443. Minimum Time to Collect All Apples in a Tree ```cpp class Solution { vector<vector> map; vector visit, has; public: int minTime(int n...
1447. Simplified Fractions class Solution { public: vector<string> simplifiedFractions(int n) { vector<string> result; for (i...
907. Sum of Subarray Minimumse ```cpp class Solution { public: int sumSubarrayMins(vector& arr) { int len = arr.size(); stack<pair...
1139. Largest 1-Bordered Square ```cpp class Solution { public: int largest1BorderedSquare(vector<vector>& grid) { int h = grid.size(),...
1738. Find Kth Largest XOR Coordinate Value ```cpp class Solution { public: int kthLargestValue(vector<vector>& matrix, int k) { int h ...
1043. Partition Array for Maximum Sum class Solution { public: int maxSumAfterPartitioning(vector<int>& arr, int k) { int len = arr.siz...