编程练习~~

1 基础练习

1.1 字符串

HJ1 字符串最后一个单词的长度
https://www.nowcoder.com/practice/8c949ea5f36f422594b306a2300315da?tpId=37&tqId=21224&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ2 计算某字符出现次数
https://www.nowcoder.com/practice/a35ce98431874e3a820dbe4b2d0508b1?tpId=37&tqId=21225&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ4 字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7?tpId=37&tqId=21227&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ5 进制转换
https://www.nowcoder.com/practice/8f3df50d2b9043208c5eed283d1d4da6?tpId=37&tqId=21228&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ14 字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723?tpId=37&tqId=21237&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

最长元音子串
https://blog.nowcoder.net/n/3a166f5826944c099ef4cc48ddbe42af

1.2 数组

HJ9 提取不重复的整数
https://www.nowcoder.com/practice/253986e66d114d378ae8de2e6c4577c1?tpId=37&tqId=21232&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ13 句子逆序
https://www.nowcoder.com/practice/48b3cb4e3c694d9da5526e6255bb73c3?tpId=37&tqId=21236&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ20 密码验证合格程序
https://www.nowcoder.com/practice/184edec193864f0985ad2684fbc86841?tpId=37&tqId=21243&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ35 蛇形矩阵
https://www.nowcoder.com/practice/649b210ef44446e3b1cd1be6fa4cab5e?tpId=37&tqId=21258&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

最长连续子序列
https://blog.nowcoder.net/n/dcfe044508fb4b3b8fa4a4ce900356d2

数组求和
https://blog.nowcoder.net/n/e0a9aa20e7de4f038c1c705259f71208

1.3 排序

HJ101 输入整型数组和排序标识,对其元素按照升序或降序
https://www.nowcoder.com/practice/dd0c6b26c9e541f5b935047ff4156309?tpId=37&tqId=21324&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ80 整型数组合并
https://www.nowcoder.com/practice/c4f11ea2c886429faf91decfaf6a310b?tpId=37&tqId=21303&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ6 质数因子
https://www.nowcoder.com/practice/196534628ca6490ebce2e336b47b3607?tpId=37&tqId=21229&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ14 字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723?tpId=37&tqId=21237&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

运维日志排序
https://blog.nowcoder.net/n/2b33f8e32daf44d88322a302c2ee9057

1.4 链表

HJ51 输出单向链表中倒数第k个结点
https://www.nowcoder.com/practice/54404a78aec1435a81150f15f899417d?tpId=37&tqId=21274&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

BM4 合并两个排序的链表
https://www.nowcoder.com/practice/d8b6b4358f774294a89de2a6ac4d9337?tpId=295&tqId=23267&ru=/exam/oj&qru=/ta/format-top101/question-ranking&sourceUrl=%2Fexam%2Foj

HJ48 从单向链表中删除指定值的节点
https://www.nowcoder.com/practice/f96cd47e812842269058d483a11ced4f?tpId=37&tqId=21271&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

TLV解码
https://blog.nowcoder.net/n/0f459f23560144ec812a043b313be238

2 进阶练习

2.1 DFS

HJ67 24点游戏算法
https://www.nowcoder.com/practice/fbc417f314f745b1978fc751a54ac8cb?tpId=37&tqId=21290&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

2.2 树

BM23 二叉树的前序遍历
https://www.nowcoder.com/practice/5e2135f4d2b14eb8a5b06fab4c938635?tpId=295&tqId=2291302&ru=/exam/oj&qru=/ta/format-top101/question-ranking&sourceUrl=%2Fexam%2Foj

Directory 删除
https://blog.nowcoder.net/n/fc101f5dea0c48bcbae32d9e1c60978a

2.3 动态规划

HJ61 放苹果
https://www.nowcoder.com/practice/bfd8234bb5e84be0b493656e390bdebf?tpId=37&tqId=21284&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

HJ75 公共子串计算
https://www.nowcoder.com/practice/98dc82c094e043ccb7e0570e5342dd1b?tpId=37&tqId=21298&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D37%26type%3D37&difficulty=undefined&judgeStatus=undefined&tags=&title=

#学习路径#
全部评论
牛啊。。。100多题我才刷了八十多= =、
1 回复 分享
发布于 2022-04-01 14:16
楼主厉害了,这些面试时常遇到啊
点赞 回复 分享
发布于 2022-03-04 17:59
点赞 回复 分享
发布于 2023-03-29 19:37 重庆
点赞 回复 分享
发布于 2023-03-29 19:38 北京

相关推荐

评论
点赞
44
分享
牛客网
牛客企业服务