- published: 05 Sep 2016
- views: 20556
FREE COURSE - 7 Reasons You're Underpaid as a Software Developer http://vid.io/xoue SUBSCRIBE TO THIS CHANNEL: http://bit.ly/subscribesp Visit: http://simpleprogrammer.com/ SUPPORT THIS YOUTUBE CHANNEL: https://www.patreon.com/simpleprogrammer Solving Problems, Breaking it Down: https://simpleprogrammer.com/2011/01/08/solving-problems-breaking-it-down/ Preparing For a Job Interview John Sonmez: https://www.pluralsight.com/courses/developer-job-interviews Cracking The Coding Interview Book: https://simpleprogrammer.com/codinginterview So You Want to Become a Better Programmer? (TopCoder): https://simpleprogrammer.com/2010/04/02/so-you-want-to-become-a-better-programmer-topcoder/ Hate Something..? Do More Of It!: https://www.youtube.com/watch?v=_h6AUFgZZww&index=83&list=PLjwWT1Xy3c4XRTEK79UX...
View full lesson: http://ed.ted.com/lessons/your-brain-can-solve-algorithms-david-j-malan An algorithm is a mathematical method of solving problems both big and small. Though computers run algorithms constantly, humans can also solve problems with algorithms. David J. Malan explains how algorithms can be used in seemingly simple situations and also complex ones. Lesson by David J. Malan, animation by enjoyanimation.
Watch me code the quicksort algorithm live in Python, explaining it as I go along. This is my first attempt at an algorithm video, and I'd appreciate suggestions on improving my next attempt. I'm coding in Python because it's a popular language that has a command line interpreter that involves no complicated setup steps. I chose the quicksort algorithm to start with because it is ubiquitous and has a fairly simple implementation. The comic strip in the beginning of the video can be found here: https://xkcd.com/1185/
We go over how the huffman coding algorithm works, and uses a greedy algorithm to determine the codes!
Ge the Code Here: http://goo.gl/R6R1F To finish off my Java Algorithm tutorial, I thought it would be interesting to cover solving programming problems in general. So, in this tutorial I'll answer the question I've been getting, which is how to print a tree data structure. On our journey to better understand how to solve problems I will first solve the basic problem. Then in the next part of the tutorial I will perfect printing any type of tree. The code above will better explain the process of solving this problem.
In Part 2 of this A* Algorithm Coding Challenge, I focus on adding obstacles (walls) to the grid as well as functionality for moving diagonally. Part 1: https://youtu.be/aKYlikFAV4k Part 3: https://youtu.be/jwRT4PCT6RU Online demo: https://codingtrain.github.io/AStar/ Code: https://github.com/CodingTrain/AStar To see the whole unedited version of this challenge: https://www.youtube.com/watch?v=S4yQYiAECnM&t=34m50s Support this channel on Patreon: https://patreon.com/codingtrain Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics Contact: https://twitter.com/shiffman Links discussed in this video: A* Algorithm on Wikipedia: https://en.wikipedia.org/wiki/A*_search_algorithm Artificial Intelligence: A Modern Approach: http://aima.cs.berkeley.ed...
Question 1.1 from the Arrays and Strings chapter of Cracking the Coding Interview 6th edition. Is Unique: Implement an algorithm to determine if a string has all unique characters. Text editor used: http://www.atom.io Code: https://github.com/Conorbro/CTCI_Python_Solutions
Follow along as we dive into the problem of creating a permutation generator using C++. We'll walk through an efficient, in-place solution that leverages lexicographic ordering and incrementation. A full text version of the code is available here: http://jg.gg/permutation-generator-coding-interview-question/