Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "algorithms"
-
Found this site today and want to share it. Algorithms explained Ikea style.
https://idea-instructions.com11 -
This guy is the best coworker ever. He analyzes my algorithms, advises me when to eat or take breaks, and reminds me not to take life too seriously. He's pretty helpful with debugging too.11
-
If you like Google algorithms better, you can always just precede your duckduckgo search with !Google
Returns an encrypted Google search8 -
Was recently phone interviewed by a recruiter that asked "So do you know data structures and algorithms?" I replied "That's like asking someone if they know Mathematics - can you be a bit more specific?"7
-
Our Algorithms and Data Structures lecturer would have died on the spot if you showed him code like that...15
-
Protip: appending ", dammit" to your Google searches tells their NLP algorithms that you need more relevant results6
-
"They used coding AND algorithms"
Wow I didn't know that you can use those together!
Source: reddit4 -
Oh man !! Computational Geometry Algorithms Library (CGAL) !! I feel like I'm flying whenever I'm coding geometry !!
Feels so goooooood !!5 -
Me: Browsing the security of a website.
Tell the website developer that they are using the SHA-1 hashing algorithm for encrypting the credentials of it's registered users.
Them: Yeah, so what?
Me: You shouldn't be using an algorithm which was exploited years ago in the age of 2016.
Them: Don't worry, nothing will happen.
Me: *facepalm*6 -
By learning the basis of things instead of just using them.
for example I learn cryptographic algorithms behind ssl instead of just using it.6 -
This is simply beautiful. Visualized sorting algorithms using colors.
Just discovered it on twitter (@galka_max)
If you have capped mobile data, search for WiFi first. Could be pretty much data...
Watch them here:
https://m.imgur.com/gallery/voutF
The videos and gifs pretty much disable any compression technique.
Attached is their merge sort example heavily compressed from 16 to 5 megabytes to fit devRant's limits...3 -
I want to thank every Indian computer scientist on Youtube. Because of these guys I passed my Algorithms and Data Structures Exam.13
-
when you screw up at a coding interview because you couldn't remember an algorithm you havent used in 7 years.4
-
Come to a festival they said.. .. It'll be fun they said.. Here I'm ranting and reading machine learning algorithms under a tree, while others party. Omg.7
-
Just read that EU may planning regulating Algorithms...
What the fuck? WHAT THE FUCK?
They want that programmers make their Algorithms public accessible for transparency and say what algorithms are allowed to do, because people are scared of them?!
MY BRAIN HURTS AFTER THAT FUCKING GENERAL DATA PROTECTION BULLSHIT THEY WANT TO REGULATE HOW OUR PROGRAMS SHOULD WORK?!
AHDHSHSJSDHJABDJS SHDNSBDBSNSN *RAGEQUIT*28 -
Crowdsource let's you improve Google's algorithms by manually identifying items. I helped the world today by making sure "sex" = "sex"4
-
Einstein :" Insanity: doing the same thing over and over
again and expecting different results.
Me: O yeah? Try nondeterministic algorithms3 -
Algorithms strike again :D
By the way I really much agree on both rants. People asking questions that they not even once typed into Google. Disturbing my workflow every 5 minutes...1 -
Me saying programming is fun and how much I love to deal with challenges algorithmically
Also me at 3 am:3 -
Can anyone recommend good books for coding algorithms?
Any tips and tricks would also be helpful. Thanks.12 -
The index to Sedgewick's Algorithms book says:
recursion, 35
see also base case,
see also recursion1 -
Computer science students and data scientists rejoice, "All algorithms" implemented in many common languages:
https://github.com/TheAlgorithms16 -
My Data Structures and Algorithms sample midterm exam's instructions mentions "No Morse Code allowed"2
-
What does sorting and sex have in common? In both cases we hope for a great Big O.
I'll see myself out 😅2 -
'Yay!! My program runs and is giving expected output.'
** Professor gives large input file **
Segmentation fault (core dumped)
'FML'
(My story in every algorithms lab)5 -
After solving a lot of problems in codeforces and participating in ACM to make my code the most optimised..
* In my first real job. *
Client: Your program run so fast!! I can't feel if it's doing something or not. Please make a delay of 1 second in your program! 😇
Me: 🙂🙂🙂🙂4 -
Could you imagine a guy who takes A4 paper with encrypted text using modern algorithms and decrypts it in 20 minutes which pen and his mind?5
-
After 3 days of pain, I finally got my first genetic algorithm and physics engine to work
MP4 version: https://chat.is-going-to-rickroll.me/...11 -
So I just completed reading this book and it was pretty awesome. Can anyone recommend me similar books? Which are not language specific but cover computer science concepts & is fun to read.10
-
This is documentation at a noob-program level. We had this one teacher, who shall remain unnamed, who used single letter variable names everywhere, who couldn't understand his own programs when they were shown to him.
PS - The picture attached is supposed to be an implementation of Kruskal's algorithm. Don't ask me what the variables mean.14 -
Had to hand in as assigment for my algorithms & data structure course and really put alot of work into it, commented code, easy to understand and all.
"Why are you showing me copied code from the internet?" was the professors answer...
I did not copy any code and some algorithms often look the same...6 -
And there you go...\(◎o◎)/rant linkedin amarite joke/meme algorithms what? what the fuck datastructures wtf? linkedin linkedin is shit3
-
I did a pretty nasty derivation of third order approximation for first derivative by hand. I got all the nasty Newton coefficients right, and was very precise until THE VERY LAST LINE, where I butchered simple math operations.
I wonder if there is a name for my particular brand of stupidity.17 -
Diving into genetic algorithms right now (its 4 am), am i just a rare specimen or is this not hard at all?2
-
When you find out you passed the exam in which you guessed half of the answers ! 🎆🎉🎊
The algorithms of my brain seem to work well 🤣
This is now my second best module and I didn't study a lot hahaha4 -
Had my algorithms and data structures lab this week... 6pm-9pm
No one sat next to me or talked to me... probably cause I’m the only girl in the class :/10 -
Don't you hate it when politicians and newscasters talk about Google's, Facebook's, whatever's algorithms without really knowing what the word "algorithm" means?
A few years ago, only few people knew the word existed, and now you find people going around, saying things like:
"I don't know why YouTube recommended that video to me. 'Their algorithm' must be mad."14 -
My last successful project was a small project I did together with my gf in javascript. She needed to make some algorithms for school for transfering
freight containers and picking them up. I made some visuals and buttons for her to press. And she added a file with algorithms based on the helper functions I created. such as: GetFirstEmptyPosition() or PlaceContainerAt(x, y)
She learned a bit of programming. And I learned a bit of javascript.5 -
Learning neural network algorithms and feeling very accomplished........
.......then checks out OpenCV and flips desk.4 -
Do you often doubt your abilities?
For example, you can't start solving a problem because you think you don't have enough knowledge.22 -
OpenSSH 8.2 is out. This release removes support for the ssh-rsa key algorithm. The better alternatives include:
1. RSA SHA-2 signature algorithms rsa-sha2-256/512. These algorithms have the advantage of using the same key type as "ssh-rsa" but use the safe SHA-2 hash algorithms (now used by default if the client and server support them).
2. The ssh-ed25519 signature algorithm.
3. ECDSA algorithms: ecdsa-sha2-nistp256/384/521.
In this release, support for FIDO/U2F hardware tokens. Also noteworthy, a future release of OpenSSH will enable UpdateHostKeys by default to allow the client to automatically migrate to better algorithms.19 -
At the University, Algorithms class, exercises lesson..the assistant explaining the results of an assignment:
"Because here..if we use a classic 'if-else' loop..."
😳1 -
That feeling when recursion finally "clicks", and you begin instantly identifying candidates in your code for recursive solutions.20
-
Me trying to impress my girlfriend with the light painting.
Motivated me to develop my own algorithm for the effect.joke/meme algorithms camera light light painting algorithm image algorithms painting love images image google4 -
We all make Blue Prism the receving end of our jokes and that's actually very unfair, they even developed their own sorting algorithms, fuckYouSort, and that's something I want to acknowledge.2
-
So just finished my last algorithms and data structures class frequency, feeling pretty confident about the grade, today it'll be all weed, pizza and sex. Life is good :')2
-
Can someone recommend me some good js readings ( algorithms / pure js / no framework related ) ? I just discovered this website: http://www.thatjsdude.com/ and I want more ...4
-
I was all happy using and applying Machine Learning algorithms until I came to do a Research Internship and now I'm sitting in the lab studying Linear Algebra, Probability and Statistics the whole day just to cope up with the guys who are improving and developing algorithms here!11
-
So in my last post I was angry that I didnt know many algorithms or how to make one, so you guys inspired me to learn about them and I found a course I'm gonna take about algorithms and such. I'm incorporating it into my learning schedule so let's hope this leads to me not being stupid.3
-
I was absolutely angry, my ego had been wounded. I had built the entire product from scratch, while my bosses just clinged onto one feature that i had not done.
It wasn't even going to be used i knew that and hence was slack. It also required a lot of algo writing.
Post the discussion i decided I'm gonna take out my hurt ego's anger on this algo. I drank whole night and coded. Damn fucking one of the most complex logics i had ever written. It was done and tested while the sun rose. And i slept, next day was a Sunday. I couldn't get hungover.
I was wrong, the logic was used and is one of the core logics of the product. Something that we boast of. 😁rant whiskey algo strikes again algorithm ego wk116 drunk coding algorithms egoistic-devs egotistical -
For starters this is my first post, found devrant the other day you're all hilarious.
I hate math, I hate proofs. I'm in a class "Analysis of Algorithms" and I have understood and do understand the importance of optimizing algorithms and data structures and I understand the algorithms and data structures themselves. That being said, I'm fucking sick of math and proofs and all this bullshit that is probably pretty important but ugggghh, I guess I just have to push through, but writing this out helped.18 -
I always feel inspired by programming when I create some algorithms or programs which I can use when I need to.
Small utilities and command line programs r what I make at times... and I also enjoy trying to implement them awesome algorithms 😍
However, most inspiration I get is from looking at C code though ( especially the Linux kernel... that code is SO clean 😍😍 )2 -
I just wrote unit tests for like the first time in my life (didn't find it useful in university, someone else handing in the project always did that). It cut my coding time by a factor of 3! You should try this one if haven't already, it really saved me a lot of headache right now.2
-
Been watching some videos on Algorithms and my mind bleeds. Do people who know this stuff really calculate complexities for each method they write?6
-
Trying to switch my job. Applied for a well known company. Gave an interview today. I don't fucking get the obsession of these developer recruiters so fixated on data structures and algorithms. I know it's a massive part of computer science but guess there is no fucking room left to innovate in there. There are legitimate researcher teams working for implementation of these barebones inside system foundations. No general software developer gives a fuck about this piece of shit discipline of study. You wanna know why they propagate this as the panacea to test people because it's fucking easy. Give a project to somebody as interview procedure, it'll take time to bring out an interesting problem and an interesting solution to that. Sorry to say but all these data structure enthusiasts are nothing better than board game enthusiasts.
Also why can't you refer existing solutions to create your solution. I've seen some good problems which actually require you to think. But again those are heavy and can't be tested so you're left with reversing a fucking linked list with O(1) auxillary space. Fuck me ig.
Moreover, what the fuck is wrong with the moral policing internet crowd. Its so sad. I've hardly seen anybody rant about this piece of shit system put in place to push the absolute dead-end nutcases up the ladder. Every other search for it returns a Quora link with some Indian guy complaining about his interviews and in the comments you have the same scholars sitting in their data structure throne imparting knowledge about how data structure holds the fabric of reality together.
I don't hate data structures and algorithms as a subject. It is cool and quite extensive but once you try to make that as a metric of all the knowledge in the world, you've lost my drift. Maybe I'm just angry with the state of things. Maybe I'm just angry with token Quora crowd.4 -
http://ai-junkie.com is a brilliant website - it's finally allowed me to understand neural networks and genetic algorithms properly!4
-
I quickly realized that I'm awful at drawing strange enough polygons to test all the cases in my geometric algorithms class. So instead of stupidly glaring at pseudo code, I'm writing everything in C++, and testing with a random polygon generator.
Here's my repository -
https://github.com/FullMetalNicky/...5 -
Holy shit man...
I know its supposed to be hard but I cant ignore how much I want to give up right now.
I've been learning JS for months now, doing daily algorithm challenges, going strong on my freecodecamp dev map and still, I feel like I might no be cut out for this.
It's been more than a week now trying to implement a minimax algorithm into my tic tac toe game. I can't, for the life of me its just getting more frustrating by the day and its driving me crazy! How the fuck am I supposed to ever get a junior webdev job if I can't do something as simple as this!, And I keep reading and reading the theory but I cant implement it into my code! It just makes me want to quit (again)!
I really need to work on my attitude...1 -
I haven't touched algorithms for many months but needed to create a matching algorithm today.
It has to match using variations of the original key and output the keys that can't be matched.
The feeling in my head felt like I was turning rusty gears n sort of just stumbling through...
I used an N^2 approach but afterwards it just felt wrong... And it took me like an hour of hacking to do it....
Actually I just realized it's an N approach! because all possible matches would be hit by iterating from one of the lists of possible names!
I suddenly feel so proud of my subsconcious...
But still something doesn't feel right...1 -
I hate when theres simple problems I cant solve. Legit pisses me off. I cant even program a simple number sorting algorithm. 🤬9
-
Fellow Deviants, I need your help in understanding the importance of C++
Okay, I need to clarify a few things:
I am not a beginner or a newbie who has just entered this community...
I have been using C++ for some time and in fact, it was the language which introduced me to the world of programming... Before, I switched to Java, since I found it much better for application development...
I already know about the obvious arguments given in favour of C/C++ like how it is a much more faster and memory efficient than other languages...
But, at the same time, C/C++ exposes us and doesn't protect us from ourselves.. I hope that you understand what I mean to say..
And, I guess that it is a fair tradeoff for the kind of power and control that these languages (C/C++) provide us..
And, I also agree with the fact that it is an language that ideally suits our need, if we wish to deal with compilers, graphics, OS, etc, in the future...
But, what I really want to ask here is:
In this age and times, when hardware has advanced so much, where technically, memory efficiency or execution speeds no longer is the topmost priority... These were the reasons for which C/C++ was initially created...
In today's time, human concept of time matters more and hence, syntactical less complicated languages like Java or Python are much more preferred, especially for domains like application development or data sciences...
So, is continuing with C++, an endeavour worth sticking with in the future or is it not required...
I am talking about this issue since I am in a dilemma about the use of C++ in the future...
I would be grateful if we could talk about keeping AI, Machine Learning or Algorithms Optimisation in mind... Since, these are the fields in which I am interested in...
I know that my question could have been posted in a better way.. But, considering the chaos that is present in my mind, regarding this question doesn't allow me to do so...
Any kind of suggestion or thoughts would be welcome and much appreciated...
P.S: I currently use C++ only for competitive programming or challenges...28 -
Due to the constant change in accuracy of my keyboards' predictive algorithms, I now find myself switching between SwiftKey and GBoard... 😢😔
Anyone else feel the same?6 -
When you show the client the comprehensive administration system they ordered but their young female HR leader is "more into pictures than tables".
-
I’m stressing out man. I can look at let’s just say a sorting algorithm for now. I can look at that insertion sort and I can understand what’s happening, but if you were to tell me I was supposed to be able to write that just based off a description I couldn’t. I need to be able to design and understand algorithms but I don’t know where or how to start. There was some course I was gonna try and see what that does. I put aside JS completely to focus on C# but I’m just stressing out over here. I learned the basics of C# although I feel like I’m learning it wrong but I’m moving on to SQLite and it’s my first Database experience and it’s confusing me and I also don’t know how I’m going to be able to use it for my future applications yet I’m just expecting too much out of me idk I love programming but sometimes it’s a cruel mistress13
-
I am wondering how a #FunctionalProgramming based implementation of a Binary Search Tree would look like?
Has anyone tried it?11 -
Just implemented A* and Dijkstra to get into pathfinding with graphs. Really hyped about this! TIL that Dijkstra is perfect to find the quickest subway route in my city 😏2
-
To the one who did a degree:
How mush do you use the algorithms you've learnt in the college/University?14 -
I have a problem to solve but I just can't come up with any working algorithm or idea to solve it. I feel really fucking stupid right now
-
For now on I am just going to say I am a Psychologist... for computers. And my algorithms are what shape the behavior (:
-
Yesterday, while I was studying for an algorithm exam, I realized I used induction on trees in a wrong way for six months.1
-
Do you think one may become a good programmer or coder without excellent knowledge of mathematics or algorithms?5
-
Algorithms teacher: I don't know how to work this thing. (computer) ... Students constantly have to go up front and help him do basic computer stuff. Even worse, he types with two fingers! Why education system must you suck so bad???6
-
Anyone else think all this stock market volatility is just a whole bunch of algorithms going crazy?22
-
~learn react enough to make a full-stack web app
~learn Flutter
~get good enough at data structures and algorithms to pass a fucking coding skills test -
Class about to end, instructor announces quiz. Looks at friend, sees him opening up algo app on his phone playing all algorithms in simulation mode 😂
-
Me(the first day fo spring semester): Data Structures and Algorithms shouldn't be too hard of a class! This will be interesting!
Me(a couple days into class): I don't understand anything she's saying and the programming problems are in some pretty rough English...why me?!?2 -
Fuck this algorithms course. How the fuck do you expect me to populate a 2d array of N^2 elements with data in linear time if you won't fucking let me write to more than one element at a time???
Dear CS department,
Make sure your homework makes fucking sense before shipping it off to students.
Regards,
A pissed off student
And before anyone comes at me with this "But you can technically do that if there's k*N elements and it would still be linear time" shit, fuck off; there's a worst case of needing to write to half the elements in the 2d array so it's still N^2 no matter how you try to "but technically" your way though it.5 -
What do you guys think about people who call themselves programmers after learning few technologies from Onlinecourse’s . I don’t want to call someone programmer who doesn’t know very important and useful concepts called data structures and algorithms.2
-
In an algorithm class, professor introduced us to some simple search algorithms (bubble sort, selection sort, insertion sort, shell sort). He did a quite decent job and most of the students were able to grasp the code and understand the differences in those algorithms. But then he spoiled his whole lecture with one additional slide. There he proposed an optimization: Instead of using a temporary swap variable, we just could use the first array element (or the zeroth element, respectively: the one ad index 0) for doing all the swapping. We just had to document that, so that the caller would "leave the first position of the array empty", resulting in "cleaner code". And he did that in the same class where he used Big-O notation to argue about runtime complexity. But having the caller to resize the array and to shift all the elements by one position did not matter to him at all, because it was "not part of the actual algorithm".2
-
I will have to present some algorithms at our school festival next week.
Any idea for a good real world example to demonstrate how breadth first search works?3 -
Anyone else like... REALLY bad at algorithms and logic stuff?
I just hate them so much.
Tell me to build something and gg done. But all these tests for jobs freak me out.
Like. It probably ends up being something simple and when it's explained I know what to do but at first I just instantly shut down and can't think.5 -
Do you guys also feel difficulty when you try to write algorithms in the new language? I feel like I am stupid cause I don’t event know the methods for coding the algorithms which can be easy with the language I already know5
-
Got rejected in an interview today, because I lack knowledge in Data Structures and Algorithms. 😔😞
I guess I'll have to bursh up my Algo skills again.3 -
Just downloaded a thesis template with a title "Improved algorithms for the cultivation of lettuce on the coastal plane"
-
Reading CLRS ~> Spend half hour reading how to cut rods to profit the most... I love Algorithms 😍😍😍😍
-
https://en.wikipedia.org/wiki/...
Is probably one of my all time favorite algorithms. It's really beautiful.
Whats your favorite or 'most beautiful' algorithm?11 -
A music server where people can login and add their own music to channels, with request lists and priority lists algorithms. Welp atleast the streaming part is done4
-
What could possibly be wrong with me if I had to look at almost every single answer of the Basic Algorithm Scripting exercises on FreeCodeCamp? I spend days tying to solve some of them and just couldn’t. Had to look at the answers. Then I try few days after and maybe remember half of the answer. How can I change this?3
-
Data Structures professor enters class, today's topic being RBTs. He opens slides, forgot to redact the name and university from where he blatantly copied it from. Continues anyways. *Facepalm*6
-
What do i do?
I worry about problems that don't exists yet. Look for breaches that are not made. And am pissed off at things that are slow but I've never used them. -
anybody ever work with ProjectQ or QISKit? I'm doing a project for my algorithms class on Shor's algorithm, and I'm trying to find a guide for an implementation.
-
My first series... now off to work. Let me know your thoughts and if I'm right... or way off
“What I Learned From Studying Algorithms and Data Structures (AlgoDS 1)”
https://medium.com/@allanx2000/...3 -
Wish me luck, I'm returning back to Uni after a months long hiatus. Algorithms, Node and rest API awaits me 😓2
-
Guys I heard a rumor that you like riddles, I'm stuck on my theory project and I'd like to throw a bone:
Say you have a list p = [7,6,2,3,4,5,1,0] and you want to order it, i.e. change it to [0,1,2,3,4,5,6,7], by swapping adjacent elements. Provide an algorithm to do this optimally, when:
a. (Warm-up) each swap costs 1
b. Swaps weight is [4,3,2,1,2,3,4], i.e. if you want to swap position 0 with 1 it'd cost 4, position 3 with 4 will cost 1 and so on.
The optimal overall cost for b is 50 (I did an exhaustive search), however you need to find a general approach which is able to order every list with minimal overall cost (no time constraints as long as the solution is not exponential in the list length), using the provided weight function.
(you get a credit if the solution goes to a paper or anything 😉 it's actually a computer science open problem, but seems possible to me)17 -
I made a serious mistake that is to start directly a programming language without mastering the algorithms, because finally, without a good knowledge of Algorithms we will never be innovative in this field, that's why I reinitialize myself and I take a step backwards to start the algorithms right and master them well.
Your advices please. -
I know how to code. I am good at coding, algorithms, datastructures. I have also been using linux since 4 years.
But still I am not a programmer. I work on excel in office.1 -
Who are you going to hire in web dev position?
1. Algorithm master but new to web development.
2. Full fledged with cutting edge web dev technologies but don’t know much about algorithms12 -
Heyy friends :-) Milo here once again, i hope everyone is having an absolutely amazing day as always and I really hope the upcoming week ahead brings everyone the best ☺️.
So I have finally managed to hand in all my major projects for my semester last Friday (yay less stress 😅) but tomorrow i have a final presentation to do (wish me luck 😅) ... boy am I nervous, but as of right now I’m just going over my slides ahah 😄.
So in my free time over the next couple of weeks I’m really planning on gaining a better understanding of algorithms , I’d love some input from
Anyone and any advice I’d highly appreciate!, currently i have a book called introduction to algorithms third addition sitting on my desktop and I’ve been reading some of that 😃..
So ladies and gents, once again thank you for taking the time to read my
Rambling and long post.. i just have a habit of rambling on 😄.. my bad , once again - thank you!
Milo 😃❤️13 -
Competed in my first Competitive Coding contest on Codeforces. I could barely solve 1 question, and even in that I couldn’t got error in some pretexts. Still I was satisfied that I got the algorithm right.
But how the fuck are the top coders reading the problem and submitting the solution within 3 minutes !4 -
I just realized my male brain is horrible at multithreading. ++ to all womens and their amazing algorithms and capabilities 😘9
-
What do you guys think about competitive programming, how does it impacts your programming in the long run?
I feel depressed when I take more than enough time to complete a competitive programming challenge marked as "Easy". 😥1 -
"Oh, you only know 10% of how these algorithms work? You're now the subject matter expert, so you get to write the code"
-
https://youtu.be/kPRA0W1kECg
Sorting algorithms visualized & represented by audio. You definitely need to watch this!4 -
i wish i had no university classes (or at least, only programming classes) so that i could learn more about different technologies and had more time to code :(3
-
I recently read that great programmers care more about algorithms than code. I hope I can find more time to devote to learning algorithms than spending it on yet another framework. #springboot.js1
-
Respect to all women in CS. They are in fact better when it comes to clean code and concept.
Prof. Kamala Krithivasan, is teaching some hardest shit in CS.
Turning Machine;
https://youtube.com/watch/...3 -
Just bombed my first quiz in Data structures & algorithms on induction. Fuck.
And the midterm is a week from today.3 -
I just learned C and I have created some projects like Parking System and Library Management System. My problem is I don't know mathematics and I want to learn DataStructures & Algorithms and become pro in it. In the whole September I will still be focusing on C and create more projects. I have started learning Mathematics today from High School level to College level. I thik maths will take 1 year to complete. After September in the October I want to start learning C++ and finish C++ till the end of Dec 2019. I want to know that do I have to first finish my maths learning which will take 1 year then I should start learning Data Structures and Algorithms? As I said I want to become a professional in Algorithms. I think its not possible to learn DS&A yet I have to wait 1 year till I finish learning my Maths. I can't do more with C & C++ without knwoing DS&A? If I started learning DS&A with C++ in the future then I can't become good at algorithms? I want to do competitive programming and be at Top 1 of Hacker Rank and other sites like this.7
-
I am preparing for InoI( Indian informatics Olympiad ). Any tip would be helpful. I am gonna use Java. What algorithms and data structures should I focus on ?5
-
At an interview, interviewer keep on hitting me with theoretical questions, why python don't have switch cases, what is default sorting in java etc... I told him I don't bother about theory, then this conversation happened.
I(Interviewer)
I: do you know time complexities?
me: Yes
I: okay, tell me a few sorting or searching algorithms which have logarithmic complexity?
me: binary search (with loud and confident voice)
I: he told, in worst case it will have O(n) tell me any other
me: *thinking*
I: what are you thinking? what is time complexity of merge sort
me: O(nlogn)
i: it's logarithmic.... -
As a project for our computational fabrication course, I implemented a paper with a peer. We did it in python because I didn't want him to suffer with lower level stuff, but then it runs sooo slow.
And I'm just itching, dying to OpenCL/CUDA the shit out of this code, because it's so parallelizable it's a sin not to do it.
But it's really out of the scope for the course, not worth the effort, and I have tons of other stuff to do now.
I miss being paid to make these sort of algorithms efficient 😭
https://youtube.com/watch/... -
What's devRant getting into this weekend?
I think I'm going to jump back on algorithms review and finish this deep dive into docker.3 -
I remember when I first heard about the general concept of a stack, I wasn't quite sure how you would use it.
Now im learning about stacks in java algorithms class as well as learning about how the memory stack works in assembly class. This probably seems small to you pro devs, but ngl, it kinda blew my mind how useful this structure can be.1 -
I have an exam of DAA (Design and analysis of algorithm) today. There are so many algorithms to remember. My head is about to explode.9
-
So I had an interesting problem... Let's say I have X lights which will turn on or off after I pull a lever. I know the probability of each one of them turning on, but they are all different. I want to know what is the probability of at least half of them being on after I pull the lever.
I wrote this shit show to do it: https://jsbin.com/jizocohebo/edit/...
Can you do better?8 -
Oh god, here comes another math post! I can feel it coming on, like werewolfism during the full moon.
I'm only passingly familiar with logarithms, so this, like everything I've stumbled on, has probably already been discovered, but
n/(1/((n^(1/n))-1))
Is a pretty good approximation (within a couple percentage points, or three or more digits) of the natural logarithm for all the numbers I've checked it on.
For example if
n = 690841693
ln(n) = 20.35342125707679
while our estimate using the above formula comes out to:
n/(1/((n**(1/n))-1)) = 20.353421612948146
Am I missing something obvious here, and if so, what?
Am I doing the idiot savant thing again, or am I just being an idiot again?10 -
I don't know about you, but ever since I joined devrant I started learning JavaScript frameworks (because everyone talks about it) but I gotta tell you I am not a fan: I prefer programming algorithms and solve ctfs(deep into this). Who's with me?1
-
So many meet-up groups discussing "cool" technologies when I really need is a data structure and algorithms support group.
-
I was watching a video by Karl Smallwood about the size of Superman's package when I noticed the YouTube algorithm decided that only three videos were similar.
It just seemed strange6 -
Floating point numbers! 😖
Writing geometric algorithms for CNC machining... you'll find those 10th decimal place inconsistencies real quick!1 -
Scientists make theories and engineers make devices but computer scientists make algorithms which are both theories and devices...
-
I was thinking to read some books on algorithm and mathematics required in programming, especially for CP. After some searching I got across some books that are considered great in the field. Among the books, 'Introduction to Programming by CLRS', 'Algorithms Design Manual by Steven Skiena', 'Concrete Mathematics by Donald E. Knuth' and 'The Art of Programming by Donald E. Knuth', in which order should I read them? I've already started reading CLRS as it would be required in my college course too.5
-
Did you read Sophie’s World? Feels like it’s the introduction to Steven skeina’s Algorithms.
Just why is the question and answer.1 -
Submitted my first ever assignment for Computing today 🎉🎉 I'll admit I am surprised how little written code assignments I have on the Programming module though...
-
I love the logic that underlies algorithm. But nowadays I fear that this is almost disappeared, now programming a software is 5% logic and 95% read system specificactions, documentation, implement third part solutions, think about who developed the system thought it had to be and rant because you don't understand it. I like to solve math problems using algorithms rather than deal with user interactivity, for example. Yes, all this is pointless, but sometimes I miss the exercises that I did at school or in "IT Olympiad"
-
I saw this headline today: "Trending Technology - Google's new AI tool could help decode the mysterious algorithms that decide everything"
Basically, an AI tool to decode how other AI algorithms work...
Congratulations humanity... you done well.2 -
How do you know ML and AI has gone too far? You rely on the algorithm instead of the obvious.
Google will translate comments, etc. At times when you click on an English video to language around your location. This is so obvious, if I didn't understand English if would not have clicked on the video!!
#BringBackThePreMLdevs -
I hate data structures. I try to work out their algorithms in my head but they're completely counterintuitive. lol.7
-
Studying trees prior to a technical interview tomorrow.
It's so daunting as I'm only recently delving into fundamentals of computer science - I studied something quite unrelated. I wish I could just sit down and build an Angular project...2 -
i thought of a way to implement a stack using two queues, but then i searched on the internet and, as always, found a better version there - using a single queue... will there ever be a day when i can actually think and write those efficient algorithms myself, without looking on the internet? :(2
-
What should I do if I can't get a Leetcode answer?
Should I just keep hammering along and stress myself out until I get the answer, or look at the answer and try to learn from that?
I'm trying to find a new job and am pretty shit at algorithms.5 -
Not a rant, just a quick question. If I very little interest in studying algorithms, will I ever be allowed into a tech shop?2
-
DEVIANTS!! NEED ADVICE...
I have been focusing on learning and implementing data structures and algorithms through participating in competitive programming sites...
Whenever I face an issue and struggle to find an answer (which is more often than not), I ask the forum about the fundamental principles involved in the question...
I avoid looking at the solution, as much as possible.. And, when I do look at them, I still question the author of the code about the reasoning behind a particular section of code which I don't understand...
I don't wish to copy and paste code, but sometimes, I wait for days on end, but I don't use the code until I receive an answer...
Is this the right way or are there any other way which I could implement to strengthen my algorithmic thinking??10 -
Does anyone know any algorithms for generating crop circles?
I would Google it but "crop circle codes" doesn't exactly give me what i want.13 -
So sort of following up on my previous post. Career-wise, when do you switch from Exploring (accelerating) to Exploiting (the you got off the pedal and just cruise along)?
Yes I read that book maybe a year or so ago... Perhaps it finally clicked...
Anyone else have any read it, have any thoughts on it?3 -
If your manager asks you to write a raw algorithm based on raw data in order to properly structure, sort and filter that data, how long do you take on average to complete said task?
Example:
Here's a text file with a bunch of continuous data like: john doe 5555 my street 123 karen wiscott 12347 her street 22 peter wright
..and then you first have to start identifying boundaries for each data entry (which is a task on its own, with comparators and shit), solve its bugs.. then you have to make sure it's properly getting sorted.. sort those bugs.. Yeah, it just takes a long time for me to figure all that out.
It takes me 4-5 days on average since I'm a junior but managers expect it to only take 1-4 hours.. madness..4 -
Checkout https://github.com/inf3cti0n95/...
Or visit https://sidekik.js.org
I am looking for people looking for open source contribution. For the project.
I am making an Typescript based open source library for Basic Data Structures like Trees, Lists etc. Lodash for Data structures. So that I can be used in projects. I am making it in Typescript. If you are interested in learning and coding data structures, Typescript. Then hop on. Send a PR or Add Issues.3 -
So, to improve my programming I’m going to work or implementing some algorithms in several languages.
For example, Luhns algorithm in c, c++, and c#.
Can anyone suggest a good place to read up on some common algorithms etc that I can try out?1 -
While programming is imperative (how to x) rather than declarative (x = y) (mathematics), it deceives me from the idea that I won't have to touch a lot of math.
To my dismay, I now realize that in order for the imperative process to be correct, I have to do immense amounts of declarative thinking (algorithms, proofs,..). That which is written has to work.3 -
Writing my 2. exam tomorrow (1. one just slightly missed minimum of points)
in Algorithms and Data Structures... really want to succeed!
cuddling with my cat to reduce stress😌
wish me luck😅😓1 -
I have my algorithms exam a day after so I'm on Hackerearth trying to solve some questions and many questions there explicitly require you to consider arrays to be 1 indexed. I'm like dude wtf? why?2
-
This app is amazing for learning/refreshing your knowledge on algorithms: https://play.google.com/store/apps/...
-
I had a conversation with a friend.
I : since most modern programming languages handle most of the algorithms like sorting algorithms for arrays / dictionary or finding shortest path algorithms for path location. Do you think it is still important to learn to algorithms and design since most modern programming languages handle those for you.
Friend : Nope, since it’s already available for you why should you care of how they works since they are already embedded in the programming language itself. If you are a computer scientist yes, you must learn those stuff, but if you are an IT graduate or a mere developer you dont need to learn those stuff. That’s why I am confuse in my college days why did we need to learn algorithm and design.
What is your opinion guys? Quite disappointed with his answer.4 -
Do you think having a basic knowledge and understanding of algorithms can help you in web development. A friend of mine thinks algorithms will not make you a better developer.4
-
recently i discovered edmonds-karp implementation of ford-fulkersion method (to solve my coursework problem) and i can't get over how beautifully it works!
-
So, I spend quite some time on YT because I obviously have too much time. Anyways...
Was casually watching some random vid on the app and I got a popup:
Please rate how good this video is as recommendation, so we can improve our algorithms. It was not the one I was watching it was some random video.
So, I tried to watch it. Error message showed up: No, you can only watch it after telling us if its a good recommendation for you.
???!!!?!?!?!
So, how exactly did that feature make it live? Maybe someone could explain to me :^)1 -
1. I love using it for automation and creation of new stuff
2. I'm a visual thinker and working with abstract things. The process of thinking about a program and developing it is especially rewarding and exciting for me
3. I especially like using it in relation with Maths for algorithms and scheduling, which is tightly related to (2), but also to the fact that I love Maths -
Can anyone help me understand how can I identify Dynamic Programming problem and general framework to solve the problem using DP?
-
Study algorithms, redo my personal website, start a few side projects, learn some basic DevOps . . .
And so begins the job search, sigh -
The struggle when you use fscanf and once you used & many times and this one time you forgot & and the whole program gets Access Violation :(
&tab[i] instead of tab[i] -
Anyone know of algorithms i cam check out to generate a scene with rooms ect. I think the random walk algo is one example but are there more i should consider having a look into?
Thanks in advance1 -
https://brilliant.org/wiki/...
Is a fascinating breakdown for anyone interested in complex numbers but intimidated by complex *math*.
They really go over it step by step. Take a look -
How come when implementing merge sort the mid doesn't need to deal with odd/even division?
I know int will always go down if there is decimal but how will it cover the whole array?
Full code:
https://gist.github.com/allanx2000/...
I guess in general, array indexing that involves dynamic cutoffs always confuse me.
How do you think about them without having to try things out on paper?7 -
Just started reading Cracking the Coding Interview and I just can't help but think this whole thing is a joke. The author can't even give a convincing argument why learning algorithm is important for interview. She simply states word for word: it is what it is.
I google her a bit and find that she started her venture Careercup.com and the website is such a joke. How can you even call yourself a software engineer with a website like that. I am pretty sure she using some kind of wordpress engine.
I can't imagine how many people that work at FANG companies that think like her..8 -
Apparently my superpower is writing exponential time algorithms to solve puzzles and games. If you need someone to write a recursive DFS to solve your shitty word search, hit me up.
-
I never finished it, but before I was working in the industry, I was coding through a book called Build Your Own AngularJS. My intent was to have piecemeal instruction/example in TDD and code way above the level of complexity I was used to. You essentially build the core of AngularJS in about 900 unit tests with total coverage. 1000pages long, its no walk in the park.
I gave it up when my time was short, and focused on higher level concepts: building apps, learning tools of the trade.
Now that I am getting plenty of exposure to that level, I am thinking my free learning hours may be better spent going down into the complex worlds shown in this book. A couple of things I found there really stayed with me and shaped how I think about problems. It was also very illuminating to see how complex algorithms work “in the wild”. I cant stand learning algorithms in isolation, generally speaking.
Has anyone seen this book? I know the framework itself is older now, but I don’t think that is much relevant for this learning use case.
I only know of one student who completed this. Took him a few months. He is an absolute machine. -
Do all devs know how to write these Goolgle/Amazonesq algorithms off the top of their heads? ex: build singly linked list from scratch / pre or post binary tree traversals etc..5
-
Should i go for learning algorithms & data structures before jumping into learning angular... Please suggest I am a beginner2
-
Crush is lyk theoretical algorithms. Just good to thing about. But implementation ... U knw rest of it.
-
Hey guys, i'v been working in a company for almost 1 year as a web developer. I only know the basic data structures and algorithms even after this year and also my co workers didn't seem to know graph,trees and other algos like dijikstra and all those advanced algo types. I'm searching for a job with better salary should I have to learn all these to get paid well ? Where even I can apply these things in my job? Is it worth ?11
-
Is there any way to sort an array in such a way that picking 3 numbers a,b,c randomly from the array and performing a cyclic right shift then place them back in the array??10
-
What is your favorite programming language to implement algorithms and data structure?
Or to be more specific, if you write interpreter and compiler, what is your choice of tool?6 -
I don't wanna get bored self studying and learning. Looking for a companion.
Anyone is planning on learning React.js? Or learning algorithms and data structures using any language?
Let's start together at the moment. -
Can you guys please recommend books that made you cry?
My Answer:
Data Structures and Algorithms in Java5 -
To all the Indians in here, who is participating in TechGig CodeGladiators 2020 ? I could solve both the problems but in some test cases my runtime got exceeded #PythonProblems. I didn’t give a damn about it tbh, as my solution was correct.
-
!Rant
How does one who has simple knowledge data structures and algorithms prepare for a Google internship interview scheduled for next week.1 -
Is studying math logical algorithms worth it for an aspiring front end developer? I was wondering how much do you guys use it in your day to day work?3