Comments (13)
思路挺清晰的,最开始只能想到暴力解法,后面那些不容易想到
from algorithm007-class02.
多看高手的解法,不仅仅是学习他们的解法,更是要学习他们的思维
from algorithm007-class02.
三次反转真是神仙操作
from algorithm007-class02.
多看高手的解法,不仅仅是学习他们的解法,更是要学习他们的思维
对的,一开始不会的话还是先理解解法,不要直接死记代码,代码多写几遍就熟悉了但是解题思路还是要理解
from algorithm007-class02.
我怎么觉得三次反转跟暴力没什么本质区别
from algorithm007-class02.
三次反转**比较牛逼,时间复杂度和循环替换一样相当于对数组进行了2个2分遍历所以是o(n)
from algorithm007-class02.
三次反转是最直观和最好理解的。
from algorithm007-class02.
环状替换和三次反转时间复杂度都是O(n), 感觉环状替换要优于三次反转,环状替换要比三次反转交换的次数要少
from algorithm007-class02.
666 每种都实现一波
from algorithm007-class02.
三次反转这个思路好棒,整体的思路都很清晰
from algorithm007-class02.
思路清晰,整理到位👍
from algorithm007-class02.
很好很详细,学习了
from algorithm007-class02.
思路写的很清晰,学到了
from algorithm007-class02.
Related Issues (20)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from algorithm007-class02.