logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

LeetCode //C - 1313. Decompress Run-Length Encoded List

The problem involves decompressing a run-length encoded list where each pair of adjacent elements in the input array represents a frequency and value. The solution requires expanding these pairs into

文章图片
#leetcode#c语言#算法
LeetCode //C - 1305. All Elements in Two Binary Search Trees

This problem involves merging and sorting elements from two binary search trees (BSTs) into a single ascending list. The solution leverages the properties of BSTs, where an inorder traversal yields so

文章图片
#leetcode#c语言#算法
LeetCode //C - 1288. Remove Covered Intervals

This problem involves removing intervals that are completely covered by another interval in the list. The solution first sorts the intervals by ascending start and descending end points (if starts are

文章图片
#leetcode#c语言#算法
C++ //练习 1.20 在网站http://www.informit.com/title/0321714113上,第1章的代码目录中包含了头文件Sales_item.h。将它拷贝到你自己的工作

【代码】C++ //练习 1.20 在网站http://www.informit.com/title/0321714113上,第1章的代码目录中包含了头文件Sales_item.h。将它拷贝到你自己的工作。

文章图片
#c++#开发语言#算法
LeetCode //C - 145. Binary Tree Postorder Traversal

【代码】LeetCode //C - 145. Binary Tree Postorder Traversal。

文章图片
#leetcode#c语言#算法
C //习题 9.8 写一个函数insert,用来向一个动态链表插入结点。

习题 9.8 写一个函数insert,用来向一个动态链表插入结点。

文章图片
#c语言#链表#算法
C++ //习题 4.15 用条件编译方法实现以下功能:输入一行电报文字,可以任选两种输出,一为原文输出;一为将字母变成其下一字母。用#define命令来控制是否要译成密码。

【代码】C++ //习题 4.15 用条件编译方法实现以下功能:输入一行电报文字,可以任选两种输出,一为原文输出;一为将字母变成其下一字母。用#define命令来控制是否要译成密码。

文章图片
#算法
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语言#算法
    共 101 条
  • 1
  • 2
  • 3
  • 11
  • 请选择