Without being able to measure progress, it's difficult to formulate a strategy.
- Here there are some simple algorithms that may be useful to find analogies with real life situations.
Important
- Constrains: Unbreakable rules about the problem or the way in which the problem must be solved.
- Operations: Generic or parameterized actions that you can do to solved a problem.
- Analogy: An exploitable similarity betwen a solved problem and an unsolved problem.
- Always have a plan.
- Restate the problem.
- Divide the problem.
- Reduce the scope of the problem.
- Look for Analogies.
- Reflect the problem.
- Experiment.
- Counting Down by Counting Up.
- One Line Hash.
- Full Square Hash
- Half Square hash
- Sideways Triangle(The Elevator)
- Sum of Consecutive Integers
- Fibonacci
- Star Pattern
- Diamond Shape
- Inverted Triangle
- Temperature Convertor
- Convert a Number to Int
- Convert Char Digit to Int
- Binary/Decimal/Hex Convertor
- Base Converter
- Finding the Mode With Histogram
- Student Sorter
- Sales Agent Sorter
- Array Sorted Checker
- Substitution Cipher
- Substitution Cipher Random
- Find Mode With Unordered Map
- Find Grade Quartiles
- Find Highest Sales Filtered
- Variable-length String Manipulation
- Tracking An Unknow Quantity Of Student Records
- Finding the Mode in a Dynamically Allocated Array
- Student Sorter With Dynamic Array
- Linked List Strings
- Linked List Number
- Some of the code are exercises from the book "Thinking like a programmer" by V.Anton Spraul.
- If you find this interesting buy his book for a deepest cover over the topic.