logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

LeetCode //C - 884. Uncommon Words from Two Sentences

Summary: This solution identifies uncommon words between two sentences, where a word is considered uncommon if it appears exactly once in one sentence and not in the other. The approach involves: Toke

文章图片
#leetcode#c语言#算法
LeetCode //C - 914. X of a Kind in a Deck of Cards

Summary: The problem checks if a deck of cards can be partitioned into groups where each group has the same number of cards (x > 1) and all cards in a group have the same value. Key Insight: The gr

文章图片
#leetcode#c语言#算法
LeetCode //C - 950. Reveal Cards In Increasing Order

Abstract: The problem requires sorting a deck of cards with unique integer numbers such that, when flipped in sequence according to a specific step (each time the top card is flipped and the next top

文章图片
#leetcode#c语言#算法
LeetCode //C - 1160. Find Words That Can Be Formed by Characters

Summary: The problem involves determining which words from a given list can be formed using characters from a specified string (each character can be used only once per word). The solution involves co

文章图片
#leetcode#c语言#算法
LeetCode //C - 1178. Number of Valid Words for Each Puzzle

Abstract: This problem requires calculating the number of valid words corresponding to each puzzle string. A valid word must satisfy two conditions: 1) it contains the puzzle's starting letter; and 2)

文章图片
#leetcode#c语言#哈希算法
LeetCode //C - 1208. Get Equal Substrings Within Budget

Summary: The problem requires finding the maximum length of a substring in string s that can be converted to the corresponding substring in t with a total cost not exceeding maxCost. The cost is calcu

文章图片
#leetcode#c语言#算法
LeetCode //C - 1203. Sort Items by Groups Respecting Dependencies

This problem involves sorting items with group constraints and dependency relations. The key steps are: Assign unique groups to items with no group (-1) Build dependency graphs for both items and grou

文章图片
#leetcode#c语言#算法
LeetCode //C - 1200. Minimum Absolute Difference

Abstract: The problem asks to find all pairs of elements with the smallest absolute difference in an array containing distinct integers and return these pairs in ascending order. The solution involves

文章图片
#leetcode#c语言#算法
LeetCode //C - 1195. Fizz Buzz Multithreaded

Abstract This problem requires implementing concurrent output of a Fizz Buzz game across four different threads. Each thread is responsible for printing a specific type of output ("fizz", "buzz", "fiz

文章图片
#leetcode#c语言#算法
LeetCode //C - 1190. Reverse Substrings Between Each Pair of Parentheses

This problem involves reversing substrings enclosed in parentheses, starting from the innermost pairs. The solution uses a stack to process characters, reversing the substring when encountering a clos

文章图片
#leetcode#c语言#算法
    共 94 条
  • 1
  • 2
  • 3
  • 10
  • 请选择