LeetCode vs HackerRank

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Oh God I just got invited for my on-site I don't know anything how to study for technical interview study for second one of you okay okay ultimate God ultimate guide to acing okay okay okay good websites for practice good websites for coding practice problems okay what the hell there's so many what are all of these what if how do i what is that what do I use I use all of these this is stressful I'm just gonna cancel the interview no thank you no I'm not coming alright but seriously guys the main ones that we're dealing with here hourly code and hacker rank although I do promote per amp a lot it's still not the main one we're dealing with leak code and a crank a lot of people like these websites but which one is better there's a lot of arguments that go on people treat this like it's mortal combat okay maybe it is Mortal Kombat but I think the best way for us to finally end this debate is to just go through both of the platforms piece by piece and do some comparisons here so these are the respective landing pages when you first log into the sites of course you have to create an account I just log in with my github account on both of them it's very simple to sign up and make an account that's no problem so the first thing we'll notice on the code landing page is the posts right these catch our eyes so these are just trending posts if we scroll down we have some news it's pretty intuitive user interface it's very nice very neat there's nothing really spamming us ad wise and it's also intuitive to find the problems and the other features and we have our profile everything is very simple as for hacker ranks landing page it's pretty similar we also have the profile up here but instead of the posts and news from leak code we actually have just the stuff we were previously working on as well as how completed it is so like percentage of completion I definitely like this a little bit better since I don't really read the post too often the posts can be useful sometimes but just being taken to what you were last working on if you're struggling with something that you couldn't complete and just having easy access to that sometimes you forget what you were working on last time so this is really nice I actually really like this about hacker ink so let's navigate to the problems on leak code so this is the problem list on leak code it's just a single problems in a bunch of filters where you could search the individual problems now a knackering gets set up a little bit differently we don't have these filters up here we actually have it filtering down here using buttons instead we can enter tracks and there's actually different sections compared to just algorithms data structures problems its algorithms data structures mathematics you can learn specific languages it's a lot more built out instead of just a technical interviews platform you can actually practice skills just related to programming you don't even have to be studying for technical interviews so that's really awesome there's also some tutorials down here which I've done a few of and they're pretty cool so if we were to compare the number of problems it looks like leet code is at twelve hundred and eighty five problems holy crap that's a lot but we do have to account for the fact that premium is gonna knock off probably around a third of those problems so on hacker Inc we actually don't know how many total problems there are there's definitely quite a few but we're lee code is geared towards mostly algorithms data structures technical interview study guide prep and has 1285 hacker rank has the interview preparation kit with sixty nine problems so that's really nothing compared to twelve eighty five but we do have to account for these algorithms and data structures filters which is going to be similar to these types of problems and it can be used to study for your interviews so we don't know how many problems there are but there's definitely a bit more I would say Lee code overall has much more technical interview prep of material than hacker ink in general but we can account for the fact that hacker rank also has just regular programming skills here and also just some tutorials down at the bottom so we're Lee code can't really on ramp you to a programming language that well it has a tough time like unwrapping you to get prepared for these problems you could kind of start off with some easier stuff here on a crank and move into the technical interview problems to study so let's take a look at what a problem actually looks like so here on Lee code we have the problem to some it looks like we get a like ratio people that like it we could favorite it we could share the problem to a few places the description is pretty short here and we get a nice little test case right here some hints and here's the editor right on the right side we have a bunch of languages look at that all the languages you need on Hacker rank we can look at a problem and what do we have well we have the difficulty right over here on the right side is compared to the left with leak code the author discussion editorial submission that's all up here as well you can rate the challenge using stars so there's no likes I think likes are better because you could see the sheer amount of people that actually liked it compared to disliked it where stars doesn't really tell you that much it didn't even look like the stars were actually filled in as well so that was interesting now the description is super long and the way that they break it up on Hacker rank it's kind of confusing compared to leak code leak codes very straightforward it tells you what to do it gives you some notes and then it gives you an example or some test cases on hacker rank it tells you what to do it tells you a function description input format constraints it can get really confusing really fast with all these different sections here the output format sample I put 0 simple input one explanation 0 I don't know it just gets a little bit confusing the difference between leak code and hacker Inc as far as the editor goes is the fact that hacker Inc is going to leave this chunk of code where it's reading in the input stream and then it's gonna have the method for you sometimes it'll even force you to take input and do stuff with it whereas leak code is very clean it's just gonna have the one method set up for you super nice and ready to go no input reading no junk code down there that can confuse you it's just super nice look at that it's just a few lines hacker ranks look at that it's kind of messy and I'd say the editor is even just a little bit nicer over here it's just cleaner than the hacker Inc now we do have support for all of the languages it looks like there's even more support for different languages on hacker Inc than there is on leak code but it's not that big of a deal because most people it covers all the popular ones right I guess it would suck if you were you know doing Erlang or D or something like that but who's really using those so here's a really important part of both platforms is the editorial now the editorials on Hacker rank are definitely a little bit more confusing I would say than leet code I mean look at this like what is all this it's not that neat I mean look at this code it's not like I don't know it's just not that good if we look at the editorial on leet code look how nice this is I mean look at this like you got the pro the fact that they have different approaches in the solutions they have the code highlighted and ready to copy over with the language you could just copy it like that the space and time complexity analysis for each approach they break it up and they put that you have clear separations look how nice the user interfaces we're on hacker Inc look you got one guy one editorial dude writing code no color coding it's just look out jumbled up this is I mean you could say that I picked a bad example but I just picked a random example so okay here is the time complexity I guess I didn't notice that but okay what is this oh of absolute value of s cubed what is that I mean come on where I'm trying to deal with Alvin big o-notation event I don't want mathematical analysis I want Big O notation with OA Fenton please thank you now we can also see that Lee code has a bunch of nice simple comments out here people comment their solutions there's likes and dislikes on them if we look down here there's nothing so that's kind of sucks already now if we go to the discussion so let's check out the discussion now so the discussion in hacker Inc you can sort by recency and votes and if you go to the discussion in leet code you can do most recent you there's a few more filters but really the only ones you're gonna want to look at is most votes anyway or most posts maybe now most votes is fun so LICO does a few more filters that's fine it doesn't really matter this is just kind of whack compared to Lee codes Lee codes just user interfaces just so much nicer look at this it's just way better so we do have likes on hacker rank for the comments in the disc discussion which is nice but no color-coded code and it's kind of like a tree structure where you have to actually scroll to the right this isn't even taking up the full page for some reason it's just making me scroll so I don't know what's up with that okay now there's color coding I don't know it's just so messy like looking at all of this stuff in all the comments like this whereas in leaked code look at that it's just broken down into these like one little whatever it's almost like a table or some kind of structure like that with all these rows and then look at that you get the solution and then you get comments on the solution this is amazing all of the most voted or top liked posts in the LICO discussion for the code are usually optimal solutions and usually super readable and really good almost as good as just the regular solution and most of the time if you go to the discussion and you look to look at some of the top voted ones they're going to be just as good if not better than the actual solution and there's gonna be some really helpful people explaining in the comments below so it's super nice the discussion on lis code I would say is way better way way way better than hacker ranks so hacker rank is definitely taking the Eldar so yeah there's missing solution on a bunch of the problems and not even that there's problems where they're going to ask you to join premium and more and more problems they're doing this where they ask you to join premium to see the solution but it isn't a big deal because like I said in the discussion just go to the most voted you're going to get a solution that is just as good as the see you're gonna have to pay sometimes but if you go to this if you go to discussion and you look at the most voted you're gonna get one of the best solutions anyway and you're gonna be able to figure it out so it's not that bad alright the video is getting a little bit long here so I think it's time to wrap this up in the end I'd say that Lee code is overall the better platform right now just because it has much more material to study from the user interface is a lot nicer the community's just a little bit better the solutions the discussion as far as everything else it's just easier to understand and the stuff on Hacker rank everything's set up a lot nicer the editor and just it's all set up it's a lot it's just easy it's just easy for you to learn and get going on these algorithm problems really the only two positives the hacker rank has overly code is just a landing page is nice because of having this percentage completion stuff right here and besides that that's pretty much it besides these tracks that LICO doesn't have it would be really nice if you Lee code could organize tracks maybe four types of algorithm problems or even add these skills and we are seeing them doing some kind of stuff like that in the explore page if you go down to the bottom they have these little learned things I'm not a fan of these I bought the Premium Membership and they seem to be kind of arbitrary and just grouping of questions but these are okay and if Lee code started grouping the questions by topic mmm who knows they could probably get something going and just become the best platform altogether and hacker rank would be pretty much useless if they just you know transferred the best stuff from here over into here so if you're trying to learn a language or get comfortable language hacker ranks definitely still good I definitely think that this interview preparation kit was really good too so there's still stuff to do on a crank and who says you can't use both but in the end I gotta give the W delete code here you know that's why most the problems I do on my channel are leak code they're just easier to do honestly it takes way less time to do those than these because I don't even understand like some of the instructions half the time for some of these problems so that's it I'm given the wind to leak code here let me know you guys think let me know what your favorite platform is once again this doesn't mean I don't like hacker Inc just means I think leak codes a little bit better right now for studying for interviews I appreciate you guys for watching please leave a like and subscribe so the channel will grow and yeah that's pretty much it Thanks and I'll see you in the next video
Info
Channel: Nick White
Views: 25,595
Rating: 4.8291607 out of 5
Keywords: leetcode vs hackerrank, hackerrank vs leetcode, leetcode, hacker rank, cracking the coding interview, coding, programming, computer science, technology, math, science, education, tutorial, how to, python, java, web development, software engineering, algorithms, data structures, interview, technical interview, coding questions, hackerrank
Id: s5KI4BegUYw
Channel Id: undefined
Length: 14min 35sec (875 seconds)
Published: Mon Dec 16 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.