腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
章鱼的慢慢技术路
专栏作者
举报
249
文章
395569
阅读量
49
订阅数
订阅专栏
申请加入专栏
全部文章
其他
编程算法
linux
存储
go
游戏
python
unity
opengl
数据结构
windows
人工智能
java
c++
git
shell
https
photoshop
函数
c 语言
github
二叉树
bash
ubuntu
图像处理
grep
安全
工具
单片机
数据库
sql
unix
http
tcp/ip
udp
机器人
nat
algorithm
for循环
int
shift
ios
node.js
html
汇编语言
嵌入式
access
ide
nginx
容器镜像服务
spring
文件存储
消息队列 CMQ 版
腾讯云测试服务
express
容器
网络安全
ssh
正则表达式
openstack
gcc
socket编程
数据处理
bezier
case
graphics
interface
leetcode
map
max
ode
row
scale
sort
vector
void
遍历
编译
编译器
脚本
快捷键
面试
排序
软件
数据类型
拖拽
异常
指针
字符串
搜索文章
搜索
搜索
关闭
剑指 Offer 03. 数组中重复的数字
编程算法
在一个长度为 n 的数组 nums 里的所有数字都在 0~n-1 的范围内。数组中某些数字是重复的,但不知道有几个数字重复了,也不知道每个数字重复了几次。请找出数组中任意一个重复的数字。
Zoctopus
2022-05-10
153
0
开始接学生的毕设课设了
编程算法
go
好久没更新博客文章了,因为自己的目标发生了变化,目前主要在自己搭建的博客以写作调身心和微信公众号写一写文章和对职场的感触。
Zoctopus
2021-08-06
1.5K
1
07. 重建二叉树
二叉树
node.js
编程算法
输入某二叉树的前序遍历和中序遍历的结果,请重建该二叉树。假设输入的前序遍历和中序遍历的结果中都不含重复的数字。
Zoctopus
2021-03-08
328
0
剑指 Offer 06. 从尾到头打印链表
编程算法
题目 力扣-剑指 Offer 05. 替换空格 请实现一个函数,把字符串 s 中的每个空格替换成"%20"。 示例 1: 输入:s = "We are happy." 输出:"We%20are%20happy." 限制: 0 <= s 的长度 <= 10000 题解 该题难度为简单。 解法一:两个for循环 1,先声明两个整型数组; 2,第一个for循环从头到尾记录链表的每个节点的值; 3,第二个for循环逆序记录链表的每个节点的值。 //Go /** * Definition for singly-
Zoctopus
2021-03-07
284
0
剑指 Offer 04.二维数组中的查找
编程算法
在一个 n * m 的二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个高效的函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。
Zoctopus
2021-03-05
228
0
LeetCode-38. Count and Say | 外观数列
编程算法
The count-and-say sequence is a sequence of digit strings defined by the recursive formula:
Zoctopus
2021-02-25
399
0
LeetCode-35. Search Insert Position | 搜索插入位置
编程算法
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
Zoctopus
2021-02-25
331
0
LeetCode-28. Implement strStr() | 实现 strStr()
编程算法
Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
Zoctopus
2021-02-25
365
0
LeetCode-26.Remove Duplicates from Sorted Array | 删除排序数组中的重复项
linux
编程算法
Given a sorted array nums, remove the duplicates in-place such that each element appears only once and returns the new length.
Zoctopus
2021-02-25
444
0
LeetCode-21.Merge Two Sorted Lists | 合并两个有序链表
编程算法
Merge two sorted linked lists and return it as a sorted list. The list should be made by splicing together the nodes of the first two lists.
Zoctopus
2021-02-25
216
0
LeetCode-20. Valid Parentheses | 有效的括号
linux
编程算法
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
Zoctopus
2021-02-25
371
0
LeetCode-14. Longest Common Prefix | 最长公共前缀
编程算法
Write a function to find the longest common prefix string amongst an array of strings.
Zoctopus
2021-02-25
374
0
LeetCode-9. Palindrome Number | 回文数
编程算法
Given an integer x, return true if x is palindrome integer.
Zoctopus
2021-02-22
335
0
LeetCode-7. Reverse Integer | 整数反转
go
编程算法
Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-231, 231 - 1], then return 0.
Zoctopus
2021-02-05
359
0
LeetCode-1-Two Sum | 两数之和
编程算法
简单题。常规解法(解法1),用两个for循环来做,第一个循环从数组nums下标为0开始遍历,第二个循环从数组下标1开始遍历,如果没找到两数之和的target值,就将两个循环的下标加1,继续循环,直到找到目标值,返回结果并退出。
Zoctopus
2021-01-05
288
0
Linux操作环境下配置MMIX环境
linux
编程算法
ubuntu
http
MMIX用途:高德纳写的《计算机程序设计艺术》,使用 MMIXAL 来编写代码,解释算法。
Zoctopus
2018-12-07
2.4K
0
华栖云科技图形图像视音频算法岗面试经验
编程算法
游戏
opengl
unity
go
注:此经验写于工作半个月后,主要为想从事图形图像算法岗的应届毕业生提供一些面试经验参考。
Zoctopus
2018-10-22
945
0
LeetCode_832. Flipping an Image_Solution
编程算法
题目所描述的意思是对每个数组先进行取反,并且对数组中的每个元素进行取反转换,所以一共要执行两个操作。
Zoctopus
2018-07-24
244
0
我的编程竞赛生涯
机器人
游戏
编程算法
记得第一次接触编程是上高一的时候,那时的我懵懂无知,但对周围充满着好奇,尤其是科技。当时学校的机器人兴趣小组招人,我稀里糊涂的就进去玩。当时我以为是焊板子连线路,谁知道刚一进教室就让我们开始学习C语言,用Turbo C写程序。当时白天上课,中午在实验室内做俯卧撑(因为一道题做错要做一百个俯卧撑,所以当时我中午基本都是在做俯卧撑度过的),晚上写作业兼用纸写程序。
Zoctopus
2018-07-24
453
0
Go指南练习_Stringer
编程算法
http
go
源地址 https://tour.go-zh.org/methods/18 一、题目描述 通过让 IPAddr 类型实现 fmt.Stringer 来打印点号分隔的地址。 例如,IPAddr{1, 2
Zoctopus
2018-06-29
598
0
点击加载更多
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
立即发文
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档