l©一颗斯特拉【注】1.标有❤️的是值得多做的题2.参考书:①C++谭浩强②C++数据结构与算法 (第4版) 89...[作者空间]
题目 给定一个数组,它的第 i 个元素是一支给定股票第 i 天的价格。 如果你最多只允许完成一笔交易(即买入和卖出...[作者空间]
题目 设计一个支持 push,pop,top 操作,并能在常数时间内检索到最小元素的栈。 push(x) -- 将...[作者空间]
题目 翻转一棵二叉树。 备注:这个问题是受到 Max Howell 的 原问题 启发的 : 谷歌:我们90%的工程...[作者空间]
题目 给定一个大小为 n 的数组,找到其中的多数元素。多数元素是指在数组中出现次数大于 ⌊ n/2 ⌋ 的元素。 ...[作者空间]
question:给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。Examples: 文末彩蛋:老...[作者空间]
问题描述:You're given strings J representing the types of sto...[作者空间]
问题描述Given a binary tree, find its maximum depth.The maxim...[作者空间]
问题描述International Morse Code defines a standard encoding ...[作者空间]
问题描述Given two strings A and B, find the minimum number of...[作者空间]
问题描述Given two strings representing twocomplex numbers.You...[作者空间]
问题描述:Count the number of segments in a string, where a se...[作者空间]
You need to construct a string consists of parenthesis an...[作者空间]
问题描述You are given a string representing an attendance rec...[作者空间]
问题描述Given a string, you need to reverse the order of char...[作者空间]
问题描述Initially, there is a Robot at position (0, 0). Given...[作者空间]
问题描述Given a string and an integer k, you need to reverse ...[作者空间]
问题描述Given a non-negative integer c, your task is to decid...[作者空间]
问题描述Write a program to check whether a given number is an...[作者空间]
问题描述We define the Perfect Number is a positive integer th...[作者空间]