logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

LeetCode //C - 948. Bag of Tokens

The problem involves maximizing a score by strategically playing tokens either face-up (spending power to gain score) or face-down (spending score to gain power). The solution involves sorting the tok

文章图片
#leetcode#c语言#算法
LeetCode //C - 944. Delete Columns to Make Sorted

Summary: The problem involves determining the number of columns to delete from a grid of strings to ensure all remaining columns are sorted lexicographically. The solution iterates through each column

文章图片
#leetcode#c语言#算法
LeetCode //C - 941. Valid Mountain Array

Summary: The problem checks if an array is a valid mountain array, which must: Have length ≥ 3 Strictly increase to a peak (not at the ends) Strictly decrease after the peak End at the last element Ap

文章图片
#leetcode#c语言#算法
LeetCode //C - 939. Minimum Area Rectangle

Abstract: Given a set of points on a plane, calculate the minimum area of ​​a rectangle formed by these points with sides parallel to the coordinate axes. If no such rectangle exists, return 0. Soluti

文章图片
#leetcode#c语言#算法
LeetCode //C - 937. Reorder Data in Log Files

This problem involves reordering log files based on specific criteria. The solution separates logs into letter-logs (containing letters after the identifier) and digit-logs (containing digits). Letter

文章图片
#leetcode#c语言#算法
LeetCode //C - 933. Number of Recent Calls

The problem involves tracking recent requests within a 3000-millisecond window. The solution uses a RecentCounter class with a dynamically expanding array to store request timestamps. The key optimiza

文章图片
#leetcode#c语言#算法
LeetCode //C - 929. Unique Email Addresses

This problem requires counting the number of distinct email addresses that actually received the emails. The processing rules include:The period ('.') in the locale name is ignored; for example, "alic

文章图片
#leetcode#c语言#算法
LeetCode //C - 928. Minimize Malware Spread II

Approach The problem involves minimizing the spread of malware in a network by removing one initially infected node. The solution involves simulating the removal of each infected node and calculating

文章图片
#leetcode#c语言#算法
LeetCode //C - 926. Flip String to Monotone Increasing

Summary: The problem requires converting a binary string into a monotone increasing sequence (all 0s followed by all 1s) with the minimum number of flips. The solution involves scanning the string whi

文章图片
#leetcode#c语言#算法
LeetCode //C - 920. Number of Music Playlists

This problem requires calculating the number of music playlists that meet certain conditions. Given n different songs, you need to create a playlist of length goal, where each song is played at least

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