-
-
2萌新问一下 leetcode怎么样能用上C++的string函数呢,比如strlen
-
1本人即将研究生入学,想从现在开始打好算法基础,有意的小伙伴一起来吧,💪 QQ群号:1128432625
-
5leetcode简单题有些都不会写 我是不是**啊
-
2本人是一名理科学校硕士 最近在准备秋招 找个一起刷题的小伙伴 每天刷5道左右 从基础开始 我用的是Python 你可以用Python 或者c++ 但是java我就看不懂了 没啥要求只是一起交流相互督促哈 有意向的可以联系我或者加我微信sun89874580 这两个月 冲冲冲!!!
-
1为什么有时候做完题submit了之后的结果不一致呀?有时候beat90%多,有的时候又20%多。没懂就,是每次比对的sample不一样吗
-
0海外的说未激活 中文的说密码错误... 这是leetcode网站有**ug导致账号报废了吗
-
1leetcode打卡活动瓜分1000现金助力2021秋招 注意非官方活动,欢迎各位报名,活动本周三开始,抓紧时间报名啦 http://leetcodeking.mikecrm.com/aAThHyO
-
2
-
2
-
16有一起组队刷题的嘛,互相学习监督
-
17想找一个用Python刷Leetcode的题友…大约一天刷5道左右,按类别刷,刷完互相交流算法,扩展思路,有小伙伴想一起刷题的么?
-
1
-
5一天只能刷两三道了……往后越来越难……
-
1
-
0我t m今天第二题写了个BFS,***咋想的
-
16被DDoS了?504呢?崩溃10分钟了~~
-
2工作地点:浙江-杭州 工作年限:2021应届毕业(2021.1.1 - 2021.12.31) 学历要求:本科及以上 职位类别:Java开发工程师 薪资范围:面议 招聘人数:10 截止日期:2020-04-30 职位描述: 数字供应链是DT时代的云供应链。我们是数字供应链基础技术团队,致力于打造多区域多租户的saa平台,支撑全球最大体量的供应链业务。 加入我们你有机会: 一起重构产业,改变世界,你也会成为更好的自己 掌握最新的云原声相关技术,领略最佳架构设计方法,参与最优
-
4
-
3我的联系方式2890Q3997Q90 (为防止被删,加了字母Q)
-
8有小伙伴一起刷题吗 昨天开始刷的第一题 以前没刷过 尽量每天一道题
-
0FF
-
3
-
0
-
5一道中等难度。读完就有思路结果做了一天。 In a special ranking system, each voter gives a rank from highest to lowest to all teams participated in the competition. The ordering of teams is decided by who received the most position-one votes. If two or more teams tie in the first position, we consider the second position to resolve the conflict, if they tie again, we continue this process until the ties are resolved. If two or more teams are still tied after considering all positions, we rank them alphabetically based on their team letter. Given an array of strings votes whic
-
3求助一下大神,leetcode200题 卡在了[["1"],["1"]]这个数据上 麻烦帮我看下代码哪里有问题 class Solution { public: int dx[4] = {0,0,1,-1},dy[4] = {1,-1,0,0}; void dfs(vector<vector<char>>& grid,int i,int j){ int n = grid.size(),m = grid.size(); grid[i][j] = '0'; for(int k = 0;k < 4; k++){ int xx = i + dx[k], yy = j + dy[k]; if(xx >= 0 && xx < n && yy >= 0 && yy < m && grid[xx][yy] == '1'){ dfs(grid,xx,yy); } } } int numIslands(vector<vector<char>>& grid) { if(grid.size() =
-
6一个由于数字组成的数组,里面的数字除了一个都出现了两次。找到那个只有一个的数字。 Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: 你的算法应该是线性的,你可以不用额外的内存就实现吗? Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory? Example 1: Input: [2,2,1]Output: 1 Example 2: Input: [4,1,2,1,2]Output: 4 我想象就像打扑克牌,排序一样。从里面找相同的放在一起。换位置。于是写了如
-
5两个月前做过提交了 7遍都超时了。这次回去再试试看,结果还提交了两次错误答案。最后回归超时。 Create a timebased key-value store class TimeMap, that supports two operations. 创造一个类TimeMap 用来基于时间的键值对,并且构建两个方法 1. set(string key, string value, int timestamp) Stores the key and value, along with the given timestamp. Set赋值,存储key, value, timestamp 时间戳 2. get(string key, int timestamp) Get 取值,根据key和时间戳timestamp Returns a value such that set(key, value, timestamp_prev) was called p
-
4我想管理这个贴吧 为什么不通过很烦?
-
14
-
6状哉我大中华,leetcode上刷了半年,感觉思路活络了,头也不肿胀了。
-
6
-
2第一次4题通过 然后被周日的题虐了
-
6新人,才开始刷
-
2发帖回帖显示待短信验证会员无法发帖,但是根本找不到地方验证这个短信……有一个红色的“绑定手机验证”点了以后是账号设置,我都把那个页面每个字符都看过一遍了,是真的没有验证短信的入口
-
5刷力扣上的题有什么用
-
9You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the coins, return -1. 给你一个数组 里面放的数字代表 钱币有多少种面额。 再给一个 金额。 写一个函数,算出最少需要几枚钱币能得到给出的金额。 如果凑不出给定的金额就返回 -1 Note: You may assume that you have an infinite number of each kind of coin. 你可以假定所有面额的钱币都有无限
-
5
-
2给的函数括号里的几个变量是啥,他的要求又是啥意思啊 用数组返回size
-
8判断链表 LinkList 是否带循环。 Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the position (0-indexed) in the linked list where tail connects to. If pos is -1, then there is no cycle in the linked list. Example 1: Input: head = [3,2,0,-4], pos = 1 Output: true Explanation: There is a cycle in the linked list, where tail connects to the second node. Example 2: Input: head = [1,2], pos = 0 Output: true Explanation: There is a cycle in the linked list, where tail connects to the first node. Ex
-
5大家刷LeetCode都是因为在参加比赛吗???本人大二,好迷茫,当初没有进学校的acm队,现在开始刷LeetCode有必要吗??求救各位大佬了