Yeah, whenever I think of challenges for myself, I don't learn anything new.
Here's one thing I've been using, but it's not organised by difficulty, but by types of challenges: https://github.com/karan/Projects
edit: also http://coderbyte.com/CodingArea/Challenges/
Coderbyte - Once you have basic syntax down I would recommend doing the challenges on coderbyte since it actually teaches you how to apply code practically and is a lot more fun. I found i also learnt a lot faster this way I just google any specific problems i come across.
You'll need to practice what you learned. If you don't have a project or can't think of one, check the FAQ linked on the sidebar for project ideas.
If you still can't come up with one, I'd still recommend to keep practicing python by doing programming challenges from sites like Codewars, Project Euler, Coderbyte, etc. in order to enforce what you learned.
Well your in luck there are a ton of resources for learning programing. I like to use coderbyte(http://coderbyte.com/CodingArea/Challenges/) to try my skills and to learn about the language and syntax I use code academy( http://www.codecademy.com). These sites let you learn and choose whatever programming language you want.
Are you looking to do it all online? bloc.io and learn.co are online programs that are well worth the effort. I've only heard good things about the learn.co/flatiron school curriculum.
You also have fullstack academy, dev bootcamp, and the flat iron school in NYC that are in-person coding bootcamps that are all very good and help set you up with a job afterwards. You can also check out http://coderbyte.com for some preparation material for these bootcamps.
Just look for general coding challenges from sites like Codebyte or similiar.
Or implementing algorithms you already know in the new language with as many features of that language as you can squeeze in. (I'm currently doing this for C# :D)
So, first thing you want to do is look at the Focuses. Url and parameter tampering. Then look at the url. http://coderbyte.com/coderbit/challenge/practice/index.php?user=Guest
User=Guest? And you want Admin? Go ahead and change that to http://coderbyte.com/coderbit/challenge/practice/index.php?user=Admin.
From there you can see the passwords of a bunch of Base64 encoded passwords. Throw those into a Base64 decoder (I used https://www.base64decode.org/). But you still don't have the Admin password!
If you click the (...), an alert box opens, asking for your favourite galaxy. No idea what that is, but if you right click the ... and inspect the element, you can see that it's a link with a parameter of "showPass=false". I simply changed that false to true, clicked it, hit cancel on the alert, and it showed me the base64 encoded admin password. Just decode that, using the link above, and you're done!
Hey man, I'm in a similar situation. I'm a Business Analyst/Project Manager looking transition into development (looking into learning web dev with javascript and applying to Hack Reactor). I finished the codeacademy course and definitely thought it was lacking -- especially once I got at some of the easy problems on http://coderbyte.com/. Looking into codeschool as well. I've read the first 4 chapters of Eloquent Javascript and it was an immense help.
http://coderbyte.com/
It doesn't teach you JS. It is a series of challenges that tests to see if you have done more than just memorize JS syntax. Try some of them and see what you think. Honestly, I found them difficult.
As other have said practice is the best way to learn. Come up with a simple project that you will find fun to work on. As an example back when I first started learning to code I wrote a program to solve sudoku puzzles.
I also recommend you try working your way through the challenges on coderbyte.com
I'd try to complete as many CoderByte problems as possible to mimic potential toy interview problems in JS.
Review HTML / CSS basics and try to articulate how they work. I have a hard time explaining things I know how to do so it's helpful for me to "ELI5" out loud.
Read about the MVC and what Angular does so you are at least aware of it if you're not already.
This post does a good job of explaining Node on a basic level and is worth reading in case it comes up.
http://www.codewars.com or http://coderbyte.com/ ?
Here is a stack exchange comment with tons of resources: link
Learn computer programming. Same basic reasons as learning some math - exercises lots of parts of the brain a associated with problem solving without requiring a real life crisis.
It's probably because you are doing Es.length
in your second loop which is undefined. Es
is an integer, so you can just say j < Es
without the "length" part.
However, this won't make your code correctly return the n (or actually Es
in your code) smallest values. Think about what will happen if your input is ["3", "2", "1", "E"].
I also think you may be misunderstanding the assignment. It is not to return the smallest n values, but rather: whenever you encounter an E, move the smallest value in list
to smallList
. This is why the answer in their example is 4,1,5 and not 1,2,3.
Finally, I recommend that you use curly braces for the first for loop as well. Your indentation suggests that maybe you think the second loop is nested inside the first one, but this is currently not the case.
Learning any new language (be it a coding or a spoken language) is going to be tough at first. It'll take time and requires you work on it daily. How long have you been working on it and how often? If you're working on it for a year daily and you're still struggling with chapter 4, yeah, maybe you should pick a different path. But if you're just a few weeks in, don't be discouraged. You don't need to be a JS expert yet, just need to be really comfortable with all of the basics, and be good at problem solving. That's what'll get you into HackReactor.
CoderBytes are a great practicing tool for the sorts of interview questions you might see in both bootcamp interviews and future job interviews.
Let me know if you have any questions about the whole process (learning, applying, etc) as I attended a bootcamp in NYC about a year ago and now am happily employed.
hey i would recommend going through the easy problems on coderbye in javascript to get a sense of the language. http://coderbyte.com/CodingArea/Challenges/#easyChals
also, jquery is essential to learn in my opinion and i think its pretty easy to pick up if you are making web sites.
as far as games go, that is where math really comes into play and i struggle with that sometimes. I did make snake and asteroids which you can look at the codebase for if you want http://maxpleaner.github.io/snake http://maxpleaner.github.io/asteroids
If you want to collaborate i think making a git repo is a good way to go
Oh if the link doesn't work you could go on here: http://coderbyte.com/CodingArea/Challenges/
The challenge is called "Prime Checker."
I considered doing something with recursion but I couldn't grasp my mind on how I would implement it.
I second Codewars and also recommend Coderbyte. Project Euler WAS a good site but unfortunately they're down due to security issues, possibly for good but who knows.
http://coderbyte.com/ Coderbyte is an awesome way to learn programming by giving you real-world challenges that you can solve by coding in a browser editor. It's still a work in progress, but is quite functional.