View on GitHub

reading-notes-401

Prep: Engineering Topics

By Abdallah obaid

NAME URL
Home Home.
Prep Prep: Engineering Topics.
Read 01 Node Ecosystem, TDD, CI/CD.
Read 02 Classes, Inheritance, Functional.
Read 03 Data Modeling & NoSQL Databases.
Read 04 Advanced Mongo/Mongoose.
Read 05 Linked Lists.
Read 06 HTTP and REST.
Read 07 Express.
Read 08 Express Routing & Connected API.
Read 09 API Server.
Read 10 Stacks and Queues.
Read 11 Authentication.
Read 12 OAuth.
Read 13 Bearer Authorization.
Read 14 Access Control (ACL).
Read 15 Trees.
Read 16 Event Driven Applications.

A simple set of steps in solving algorithmic problems:-


  1. Read the problem completely twice.
    • “measure twice and cut once,”.
    • If you don’t understand the problem, you cannot solve it.
  2. Solve the problem manually with 3 sets of sample data.
    • Use a Mathematical Induction approach if possible. Using this approach you might try and solve for 1 first, then for 2, then for n.
  3. Optimize the manual steps.
    • It’s well worth the effort to try and optimize the actual solution or simplify it when it is still in the most easily malleable state.
    • Is there is another way you can solve the problem easier? or if there are some steps you can cut our or simplify.
  4. Write the manual steps as comments or pseudo-code.
    • This step is for beginners.
  5. Replace the comments or pseudo-code with real code.
    • 1-1 line change from pseudo-comments to real code.
  1. Optimize the real code.
    • Taking a look at your code and figuring out if you can cut out a few lines or do something simpler.
    • All your variables are should be named with long meaningful names.

Act like you make $1000/hr:-



How to think like a programmer?


Sloving-problems