当前位置:网站首页>暑期总结2
暑期总结2
2022-07-25 05:35:00 【buyizhu021】
本周做了一些题目,题型比较杂,有搜索,dp,也有二分等。二分算法之前没有接触,做题遇到就看书学了学,当数据量很大时适合用这种方法。用二分法查找时,数据需要是排好序的,首先找到有序数组最中间的一个数据,然后将所要查找的数据与其比对,如果该数据大于数组最中间的数,那就在数组大于中间数据后半部分查找,小于就在前半部分查找,依次类推,直到找到所需数据为止。比起遍历所有数据以找到所需数据的方法,二分要省时省力的多,这也是本周的一个小收获。
另外,我发现做题时的灵感想法或看题解之后的感悟一定要手写记下来,做一个简单的整理,不然记忆不好真的转头就忘。记下来,时不时一回顾,记起当时思考的过程,那时的感悟就会更加深刻。这周做到了几道搜索题,比较开心的是,我对搜索渐渐有感觉了,思路简单的搜索题也能试着A掉了,但一旦和其他算法一结合,我就写不出来,看来还是要继续积累,一点点攻克他。
总的来说做题速度没有明显提升,我对于第一遍读题就能想出思路的题做的顺利,但是那些我题意没读懂或读了一遍没思路的题,我就不容易做出来,写起代码来磕磕绊绊,一运行还发现许多错误,几个小时都A不了。尤其随着难度的增大,这种情况越来越明显。感觉解决方法在于多多训练,所谓见多识广,见得到,会的越多,多积累题多做题,相信慢慢能克服的。
下周再接再厉,加油,坚持!
边栏推荐
- SystemVerilog中interface(接口)介绍
- Thesis reading | which is the best multilingual pre training technology for machine translation? See the latest progress!
- How to carry out the function test with simple appearance and complex interior?
- 项目管理工具——阿里云Projex介绍与实战
- Sword finger offer special shock edition day 9
- Leetcode 202. 快乐数(一点都不快乐)
- LeetCode第302场周赛
- AirServer 7.3.0中文版手机设备无线传送电脑屏幕工具
- Realsense d435i depth map optimization_ High precision mode
- ThreadLocal
猜你喜欢

Realsense D435i 深度图优化_高精度模式

QT qtextedit setting qscrollbar style sheet does not take effect solution

Implement is by yourself_ class

1310_ Implementation analysis of a printf

Application of hard coding and streaming integration scheme based on spice protocol in cloud games

Leetcode 204. 计数质数(太妙了)

微服务 - 远程调用(Feign组件)

Unity接入ChartAndGraph图表插件

C100: smallest hevc visual IOT MCU

剑指 Offer 05. 替换空格
随机推荐
LCP plug-in creates peer-to-peer 802.1ad interface
Realsense D435i 深度图优化_高精度模式
传输线理论之相速、相位等的概念
05. Libavformat Library of ffmpeg
obj文件格式与.mtl文件格式
background
Microservice configuration center Nacos
Base64 (conversion between string and Base64 string)
自己实现is_base_of
Leetcode 202. 快乐数(一点都不快乐)
idea常用10个快捷键
Introduction summary of using unirx in unity
What are the ways to realize web digital visualization?
Guanghetong and Intel released the global version of 5g communication module
聊聊 Redis 是如何进行请求处理
Obj file format and.Mtl file format
TCL shows a number of folding screen mobile phones: the screen and hinge are independently developed!
单点登录(一处登录,处处可用)
LeetCode 15:三数之和
The global shipment of glory 8x series exceeded 10million units, and the glory V20 exceeded 1.5 million units!