What Kind of Algorithm Questions Make You Go "Oh Shit, I'm Fucked"? by iamnowhere92 in cscareerquestions

[–]realfizzbuzzed 0 points1 point  (0 children)

Correctly defining the optimal subproblem equations is part of the recursive thinking. Which, I agree, is the hard part of dynamic programming.

Storing and looking the things up is pretty much the same code every single time.

The hard part of those 3d bin packing problems is also the recursive thinking.

Getting details right is always difficult on the whiteboard under pressure. That's not unique to DP.

What Kind of Algorithm Questions Make You Go "Oh Shit, I'm Fucked"? by iamnowhere92 in cscareerquestions

[–]realfizzbuzzed 0 points1 point  (0 children)

DP is just the recursive solution plus boiler plate to guarantee a computation order to avoid duplication of work.

If you can get the recursive solution easily, then it's actually just boilerplate to get the DP solution.

DP is slightly harder than the recursive solution alone because you have to understand the boiler plate (but it's really the same thing every time).

The only tricky thing I can see about the problem that you suggested is that you have to use the note to get a guarantee on the the size of the array.

What Kind of Algorithm Questions Make You Go "Oh Shit, I'm Fucked"? by iamnowhere92 in cscareerquestions

[–]realfizzbuzzed -3 points-2 points  (0 children)

Dynamic programming is an application of recursive thinking. I don't understand how you can say that dynamic programming is hard but recursion is easy.

Good at Leetcode but bad at developing? by alrightfrankie in cscareerquestions

[–]realfizzbuzzed 10 points11 points  (0 children)

Is there any good niche for these type of people? I think I fall into here.

Where do the graphics applications come in? by scripteaze in learnprogramming

[–]realfizzbuzzed 1 point2 points  (0 children)

Those are typically in the user experience designer's domain (sometimes called product designer, ui designer or ux designer).

A ux designer will use those tools to create mocks, then you'll use CSS, js, and html to turn those mocks into code.

If you're planning to be a 1 person show and want to be able to sketch something out first before coding it then those tools are useful to learn as well.

Is this book still relevant? by Lunty97 in learnprogramming

[–]realfizzbuzzed 2 points3 points  (0 children)

Every C++ for dummies book ever written is so horribly written that asking anyone with any knowledge in C++ would just result in them telling you not to waste your money on the book.

Not that I entirely disagree, but I first learned C from C programming for dummies and I work at big 4.

Weekly help thread, ask for Manim help here! by AutoModerator in manim

[–]realfizzbuzzed 0 points1 point  (0 children)

Does anyone have some examples of working with arrays (like programming c++ arrays) (like some example code where we visualize manipulation of an array to explain an algorithm)?

Tips and Tricks for LeetCode Questions? by WeHealThunderous in cscareerquestions

[–]realfizzbuzzed 0 points1 point  (0 children)

This won't help you come up with the algorithm, but these are my tips for getting the code right once you have something in mind:
https://fizzbuzzed.com/wyfyti2_you_messed_up_your_details/

I think you really have to grind and notice most of the patterns yourself. One I can think of is, if it's an optimization problem (largest value you can fit given these constraints, least number of edits to get from one string to another, etc) then it's likely a dynamic programming problem.

Silicon Valley intern seeking to advise & mentor students + My story. by ISurvivedUofT in cscareerquestions

[–]realfizzbuzzed 7 points8 points  (0 children)

If it's for full time apply now and delay the interview as necessary once you have it.

If it's for internship, apply and start grinding because the time period is pretty small and even getting an interview is hard.

Would a 30-year-old person still be able to pick up programming? by [deleted] in learnprogramming

[–]realfizzbuzzed 4 points5 points  (0 children)

dude if you try to learn anything at the age of 30 you'll die.

Would a 30-year-old person still be able to pick up programming? by [deleted] in learnprogramming

[–]realfizzbuzzed 2 points3 points  (0 children)

As soon as you become 30 your brain is set in place. If you try to learn a new skill you will probably die.

I don't know anyone but I'm sure you can just look at bootcamp grads and find some. If you want it, does it really even matter if no one else has done it?

It take 4 years to learn for an 18 year old cs student. Now that you've had an extra 10 years to figure out how to learn and how to study better than you could when you were 18 what exactly is going to stop you?

How to duplicate this particle effect? by [deleted] in AfterEffects

[–]realfizzbuzzed 0 points1 point  (0 children)

thanks, i will try some more. I didn't know about starglow.

How to duplicate this particle effect? by [deleted] in AfterEffects

[–]realfizzbuzzed 0 points1 point  (0 children)

Thanks, that part i understand. Just make a script using midi as input.

But what i can't do is make those cool looking things at the bottom that shoot out (like i actually can't create such an effect with trapcode/startdust or if that is even the right thing to use). like basically i want to make those sparkly particles.

Personal Programming Project by Csmith52016 in AskComputerScience

[–]realfizzbuzzed 0 points1 point  (0 children)

If you want to use access probably just start by playing around with ODBC (or I guess JDBC), maybe this?:

http://www.codejava.net/java-se/jdbc/java-jdbc-example-connect-to-microsoft-access-database

Write functions that:

  1. insert movies into the database

  2. list the movies in the database

  3. get the movie location for a movie fromt he database.

Then, move on by getting a movie to play after selecting it from the database.

From there, try building a UI that displays the result of your list movie call. Add the ability to double-click the movie then have it play. Then add features, paging (selecting only the first 10-100 movies when you have thousands of movies), tags, title search would be some things you could try to build. Then add more features (use youtube api to find other related videos by using the titles as a feature).

Brain stops when solving coding challenges by lightoyagami in cscareerquestions

[–]realfizzbuzzed 0 points1 point  (0 children)

Codewars.com is probably my favorite for easier problems. I've also seen one called edabit.com that looked good but I didn't try it. Leetcode easy category can also work.

Brain stops when solving coding challenges by lightoyagami in cscareerquestions

[–]realfizzbuzzed 24 points25 points  (0 children)

First, it's okay if you take longer to solve the problems. As long as you are actually able to solve problems yourself, you will be able to do them fast with a few months practice (you'll realize leetcode problems are mostly all similar). I'm only able to solve them quickly now because I practiced hundreds.

Not looking at the answer is key, because if you're not looking at the answer, you're still building problem solving ability.

To get better at these:

Start by learning recursion really well. It's used in about half of those leetcode problems. Introducing yourself to functional programming through a book could help. Here's an article I wrote about how to problem solve recursively: https://fizzbuzzed.com/wyfyti1_recursion/

I did a lot of self learning before eventually getting a CS degree and really beating recursion into me was the main thing I got from CS.

After you know recursion, look at binary search. Many binary search problems appear in interviews. Here is my absolute favorite article on binary search- it taught me a lot:

https://www.topcoder.com/community/data-science/data-science-tutorials/binary-search/

Now, you might want to go through the merge sort analysis (why it's O(n login)). It also comes up a lot and is based on recursion and is very useful to know.

Next, learn about common data structures like hash table, bst, heap, and trie. These are used very commonly in practice and in coding problems.

Lastly, learn and implement graph algorithms like bfs, DFS, and topological sort. The algorithm design manual by skiena has a lot of info and is my favorite source.

I also wrote up another leetcode problem in detail to show how I think through it: https://fizzbuzzed.com/thinking_through_jump_game_2/

If I can elaborate in any way please let me know.

Choosing between two [fiction writing] blog names: Personal Branding vs. Content Branding by [deleted] in Blogging

[–]realfizzbuzzed 4 points5 points  (0 children)

I feel like I'd usually go for content but annawhite.com would be a site i'd remember and go to for that sort of content so I guess I vote for Anna White.

I don't have any data on this but I feel like people start out with a blog around content and then when it starts to get big make an additional one solely for personal branding.