当前位置:网站首页>"Jianzhi offer" brush title classification
"Jianzhi offer" brush title classification
2022-08-04 21:32:00 【Rolandxxx】
The rhythm of writing questions: The sword refers to the offer->Leetcode dynamic programming->The sword refers to the offer again before the interview. The data structure and DP have a higher probability of handwriting code in the interview, and the question is completed.After understanding the ideas of each question, use a notebook to record it, and strive to brush it all together, that is, if you see a question that can be automatically classified into a certain area
Data structure topic
LinkedList
003-Print the linked list from end to head
014-The k-th last node in the linked list
015-Reverse the linked list
016-Merge twoOr k ordered linked lists
025-Replication of complex linked list
036-First common node of two linked lists
055-Entry node of ring in linked list
056-Delete duplication in linked listThe nodes of
Tree
004-rebuild the binary tree
017-substructure of the tree
018-mirror of the binary tree
022-print the binary tree from top to bottom
023-Post-order traversal sequence of binary search tree
024-A path that sums to a certain value in binary tree
026-Binary search tree and doubly linked list
038-Depth of binary tree
039-Balanced binary tree
057-Next node of binary tree
058-Symmetrical binary tree
059-Print binary tree in zigzag order
060-Print binary tree as multiple lines
061-Serialized binary tree
062-kth node of binary search tree
Stack & Queue
005-implement queue with two stacks
020-contain min functionThe stack
021-Push and pop sequence of stack
044- Flip word order column (stack)
064-Maximum value of sliding window (deque)
Heap
029-Minimum number of K
Hash Table
034-The first character that appears only once
Figure
065 - Path in Matrix (BFS)
066 - Robot's Range of Motion (DFS)
Specific algorithm topic
Fibonacci sequence
007-Fibonacci sequence
008-jump steps
009-abnormal jump steps
010-rectangle cover
Search Algorithms
001-2-dimensional array search
006-minimum number of rotated array (binary search)
037-number of occurrences of a number in sorted array (binary search)
Full permutation
027- permutation of strings
dynamic programming
030-maximum sum of consecutive subarrays
052-regular expressionFormula Matching (I use brute force)
Backtracking
065 - Path in Matrix (BFS)
066 - Robot's Range of Motion (DFS)
Ordering
035-reverse pairs in an array (merge sort)
029-minimum K counts (heapsort)
029-minimum K counts (quicksort)
Bit operations
011-Number of 1s in binary
012-Number of integer powers
040-Numbers that appear only once in an array
Other algorithms
002 - replace spaces
013 - reorder array so odd numbers come before even numbers
028 - numbers that occur more than half the times in the array
031 - the number of occurrences of 1 in an integer (from 1To the number of occurrences of 1 in n integers)
032- Arrange the array into the smallest number
033- Ugly number
041- Sum is a continuous sequence of positive numbers of S (sliding window idea)
042- Two numbers with sum as S (double pointer idea)
043 - Left rotation of string (matrix flip)
046 - Children's game - last remaining number in a circle (Joseph ring)
051-Constructing an array of products
Reference link: https://www.jianshu.com/p/53f6bf6f8d50
边栏推荐
- How to solve the problem that the alarm information cannot be transmitted after EasyGBS is connected to the latest version of Hikvision camera?
- 【CC3200AI 实验教程 1】疯壳·AI语音人脸识别(会议记录仪/人脸打卡机)-开发环境搭建
- 【uiautomation】微信好友列表获取(存储到txt中)
- Configure laravel queue method using fort app manager
- Pinduoduo open platform order information query interface [pdd.order.basic.list.get order basic information list query interface (according to transaction time)] code docking tutorial
- 知识分享|如何设计有效的帮助中心,不妨来看看以下几点
- LocalDate时间日期包的用法
- PyTorch Geometric (PyG) 安装教程
- Arduino 电机测速
- LayaBox---TypeScript---举例
猜你喜欢
【线性代数02】AX=b的2种解释和矩阵乘法的5种视角
Spss-系统聚类手算实操
8 年产品经验,我总结了这些持续高效研发实践经验 · 协同篇
proe和creo的区别有哪些
Hands-on Deep Learning_NiN
DGL安装教程
【2022牛客多校5 A题 Don‘t Starve】DP
PRIMAL: Pathfinding via Reinforcement and Imitation Multi-Agent Learning 代码解析
Spss-系统聚类软件实操
How to solve the problem that the alarm information cannot be transmitted after EasyGBS is connected to the latest version of Hikvision camera?
随机推荐
模拟对抗之红队免杀开发实践
ES6高级-Promise的用法
visual studio 2015 warning MSB3246
Ramnit感染型病毒分析与处置
Configure laravel queue method using fort app manager
驱动点云格式修改带来的效率提升
PowerCLi 导入License到vCenter 7
C language knowledge (1) - overview of C language, data types
Altium Designer 19.1.18 - 画多边形铜皮挖空时,针对光标胡乱捕获的解决方法
PRIMAL: Pathfinding via Reinforcement and Imitation Multi-Agent Learning 代码解析
boostrap多选PID查找端口 window
拼多多开放平台订单信息查询接口【pdd.order.basic.list.get订单基础信息列表查询接口(根据成交时间)】代码对接教程
AtCoder Beginner Contest 262 D - I Hate Non-integer Number
JdbcTemplate概述和测试
如何一键重装win7系统?重装win7系统详细教程
数电快速入门(五)(编码器的介绍以及通用编码器74LS148和74LS147的介绍)
js data type, throttling/anti-shake, click event delegation optimization, transition animation
[Teach you to use the serial port idle interrupt of the STM32HAL library]
EasyGBS接入最新版海康摄像头后无法传递告警信息该如何解决?
OD-Model【6】:YOLOv2