当前位置:网站首页>"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
边栏推荐
猜你喜欢
[Teach you to use the serial port idle interrupt of the STM32HAL library]
SPSS-System Clustering Hand Calculation Practice
[2022 Hangzhou Electric Power Multi-School 5 1012 Questions Buy Figurines] Application of STL
【SQL之降龙十八掌】01——亢龙有悔:入门10题
unity2D横版游戏教程9-对话框dialog
2022年江苏省大学生电子设计竞赛(TI杯)B题 飞机 省级一等奖记录 “一个摆烂人的独白”
Win11如何设置软件快捷方式?
Altium Designer 19.1.18 - 保护锁定的对象
强网杯2022——WEB
1319_STM32F103串口BootLoader移植
随机推荐
[Teach you to use the serial port idle interrupt of the STM32HAL library]
中大型商业银行堡垒机升级改造方案!必看!
PCBA方案设计——厨房语音秤芯片方案
国际项目管理师PMP证书,值得考嘛?
LayaBox---TypeScript---Example
【uiautomation】微信好友列表获取(存储到txt中)
如何一键重装Win11系统 一键重装系统方法
多个平台显示IP属地,必须大力推行互联网实名制
dotnet 启动 JIT 多核心编译提升启动性能
Unknown point cloud structure file conversion requirements
信创是什么意思?涉及哪些行业?为什么要发展信创?
stm32mp157系统移植 | 移植ST官方5.10内核到小熊派开发板
【CC3200AI 实验教程 1】疯壳·AI语音人脸识别(会议记录仪/人脸打卡机)-开发环境搭建
Altium Designer 19.1.18 - 保护锁定的对象
UDP通信
数据仓库(1)什么是数据仓库,数仓有什么特点
如何为Web3.0世界启动完美的DAO
经验分享|盘点企业进行知识管理时的困惑类型
立即升级!WPS Office 出现 0day 高危安全漏洞:可完全接管系统,官方推出紧急更新
DSPE-PEG-Aldehyde,DSPE-PEG-CHO,磷脂-聚乙二醇-醛基一种疏水18碳磷脂