我如何学习算法? [英] How do I learn algorithms?

查看:98
本文介绍了我如何学习算法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简史:刚高中毕业,学到了一点Python和C ++的,有在所有任何有用的电脑知识没有朋友。出任何人我在学校几年遇到了我可能是最大的书呆子,但没有人真正知道。我认为我自己有知识,计算机和技术的大量再普通人。建/固定万吨电脑,并排除pretty的能力大大任何问题,我碰到。

Brief History: Just graduated high school, learned a bit of python and C++, have no friends with any helpful computer knowledge at all. Out of anyone i met in my school years I was probably the biggest nerd, but no one really knew. I consider my self to have a vast amount of knowledge on computers and tech then the average person. built/fixed tons of computers, and ability to troubleshoot pretty much any problem I came across.

现在的高中结束了,我已经真的一直在想我的职业生涯。爱,生活的电脑过去13年我的生活,我决定把我的能力的,并尝试去学习电脑编程,我为什么不早,我不知道开始,似乎是大错在我的部分...

Now that high school is over, Ive really been thinking about my career. Loving, living computers for the past 13 years of my life I decided to take my ability's and try to learn computer programming, why I didn't start earlier I don't know, seems to be big mistake on my part...

做一些研究,我得出的结论是Python的是第一个编程语言,我应该学习,因为它是高层次,更容易理解那么C ++和Java。我也知道,以我做什么我需要知道更多的则只有2或3种语言,这似乎并不像一个大问题,考虑到一旦我学会了Python的工作方式变好,主要是语法变化,其余的会来自然。我看到一对夫妇的YouTube视频,下载了一些书PDF年代和探听周围的一些教程在这里和那里得到什么就做什么的窍门。

Doing some research I concluded that Python was the first programming language I should learn, since it was high level and easier to understand then C++ and Java. I also knew that to become good at what I did I needed to know more then just 2 or 3 languages, which didn't seem like a big problem considering once I learned the way Python worked, mainly syntax changed, and the rest would come naturally. I watched a couple of youtube videos, downloaded some book pdf's and snooped around from some tutorials here and there to get the hang of what to do.

一个整整两个星期过去了试图来理解语法,创建一个使用的基本功能,并了解它是如何工作的小程序,我想我已经得到了它的窍门。它分解成什么香港专业教育学院一直在处理这一切的时候(虽然我有点知道)是,输入,输出,循环功能和其他的东西来自于0和1的存储数据和回想起来,等。 (一个非常基本的想法)。我一直能够创建小程序,刽子手,文件存储,温度转换,Caeser密码去code /编码,Fibonacci序列多,我可以创建和了解各项工作。

A two solid weeks had passed of trying to understand the syntax, create small programs that used the basic functions and understanding how it worked, I think i have got the hang of it. It breaks down into what ive been dealing with all this time (although i kinda knew) is that, input,output, loops, functions and other things derived from 0's and 1's storing data and recalling it, ect. (A VERY BASIC IDEA). Ive been able to create small programs, Hangman, file storing, temperature conversion, Caeser Cipher decode/encoding, Fibonacci Sequence and more, which i can create and understand how each work.

为2星期到这一点,我已经学到了很多东西。什么都没有相比,现在我应该是李尔 宁在未来的日子里,如果我得到什么我做了抓地力。虽然做这些节目我不会停止,直到我做了一本书,这embarresing足以将带我几个小时,这取决于它的复杂性做一个实践问题。我是绝对不会放下,直到它完成,它是非常排水的挑战,香港专业教育学院尝试了大多数问题没有作弊,达到成功,这让我感到非常自豪我自己的多次反复试验后完成的东西后。

Being 2 weeks into this, I have learned alot. Nothing at all compared to what i should be lear ning in the years to come if i get a grip on what I'm doing. While doing these programs I wont stop untill I've done doing a practice problem on a book, which embarresing enough will take me a couple hour depending on the complexity of it. I absolutly will not put aside the challenge until its complete, WHICH CAN BE EXTREMELY DRAINING, ive tried most problems without cheating and reached success, which makes me feel extremely proud of my self after completing something after much trial and error.

这一切后我遇到了恶魔,alogrithm的这似乎是关键effiecent code。我似乎无法说唱我的头周围的一些计算机codeS人们把在那里使用数字,有时连基本的功能,我已经能够经过一段时间去了解他们,但我知道有很多更复杂的东西来,考虑到我自己的智能,需要复杂codeS的功能,实际上伤害了我的大脑。从来都没有在生活伤害了我的脑.......在高中甚至没有数学课,试图了解一些东西,人们把在那里让我觉得我有心理劣势大声笑...我仍然向前走,虽然,穿越我的手指的理解会随着时间的推移。

After all this I have met the demon, alogrithm's which seem to be key to effiecent code. I cant seem to rap my head around some of the computer codes people put out there using numbers, and sometimes even basic functions, I have been able to understand them after a while but i know there are alot more complex things to come, considering my self smart, functions that require complex codes, actually hurt my brain. NOTHING EVER IN LIFE HURT MY BRAIN....... not even math classes in highschool, trying to understand some of the stuff people put out there makes me feel like i have a mental disadvantage lol... i still walk forward though, crossing my fingers that the understanding will come with time.

很抱歉,如果这是漫长的,我只是想回答我的问题,当有人需要这些东西考虑进去。甚至通过所有这些缺点即时通讯通过仍然推动并继续尝试,并获得不错的,在此,我知道看完这些教程不会让我有什么好处,除非我能成为勇于创新,使我自己,了解其他民族的程序,所以这导致我的简单的问题,我可以要求在开始的时候.....

Sorry if is this is long i just wish someone takes all these things into consideration when answering my question. even through all these downsides im still pushing through and continuing to try and get good at this, i know reading these tutorials wont make me any good unless i can become creative and make my own, understand other peoples programs, so this leads me to the simple question i could have asked in the beginning.....

在世界何处开始? 我一直试图找出如何理解一些开源项目,我怎么能与experianced codeRS工作,向他们学习,并帮助他们的,但我不认为多数民众赞成甚至有可能的方式远人的知识如何比较对我来说,我没有freinds谁我可以借鉴,有人可以帮助我,引导我正确的方向..我有一个巨大的动力得到良好的编码,什么信息是非常有帮助的。

WHERE IN THE WORLD DO I START ? Ive been trying to find out how to understand some of the open source projects, how i can work with experianced coders to learn from them and help them, but i dont think thats even possible by the way how far people's knowledge is compared to me, i have no freinds who i can learn from, can someone help me and guide me into the right direction.. i have a huge motivation to get good at coding, anything information would be extremely helpful

推荐答案

首先......我想你应该给自己一些时间。 不要因为一次学习编程吸入很多事情可能是一个漫长的过程。 作为第一步,我建议学习的编程语言(像你已经做在python),以及学习编程的概念(OO,递归,循环,函数,变量等)一样好,就可以了。

作为第二步,你应该尝试回答这个问题:究竟是什么我想要做编程?这当然是最重要的,真的是不同的,当你做图形,当你这样做的DSP应用,当你做一般的网页development.So学习算法不具有特定目标可以是很无奈的时候。

所以,最重要的因素可能是耐心和备受重视,毕竟罗马不是一天建成的? 好运气

First of all...I think you should give yourself some time. Don't get drawn in many things at once learning programming can be a long process. As a first step I would recommend to study the a programming language(like you already do in python), and learn the concepts of programming (oo, recursion, loops, functions , variables etc) as good as you can.

As a second step you should try to answer the question "what exactly do I wanna do with programming?" and this is of course the most important ,it is really different when you do graphics , when you do DSP applications and when you do web development.So learning algorithms in general without having a specific target can be really frustrating sometimes.

So the most important elements can be patience and being focused, after all Rome wasn't built in a day... good luck

这篇关于我如何学习算法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆