Parents : ATLAS

ContextValue
Date and time note was created$= dv.current().file.ctime
Date and time note was modified$= dv.current().file.mtime

Note

Problem solving areas

Problem Solving In Computer Science

How to solve problems ??

Understand

Plan

  • Define what are its inputs and outputs are to the problem or sub-problems and also pre-requisites if any.

Write simpler steps to solve it

  • Write a Pseudocode describing steps needed for the problem.
  • Describe it in utmost clear manner in simpler terms.
  • If it is a UI-based problem break the problem such that it consists of the Minimal viable product features and draw diagrams and flow to achieve these features.

Break Down the problem/ Divide and conquer

  • The Bigger problem with all the inputs/outputs during the plan and pseudocode stage is broken down to smaller solvable problems.
  • For UI Based,we first found the Minimal Viable product(MVP) features in pseudocode, Now break each MVP feature into its own task-list of smaller problems.
  • When smaller problem is found then try to achieve it in a timebox explore manner and learn by doing it rather than just learning the concept and not applying it practically.
  • Now once the smaller problem is solved,see changes in the output and see if its correct or not if not re-solve by analysing what’s wrong and then review the outputs.(Debugging in JavaScript the problem is important)
    • To re-assess a problem when we go wrong we can try to debug the problem.
    • If stuck google the solution to the sub-problem not the bigger problem.
    • We can also wipe the slate clean and now think of the sub-problem from a beginner’s perspective
  • Move to the next smaller problem / or find the next smaller problem to solve.
  • Repeat the same for all the steps or MVP features in the problem.

Framework to solve a problem

Take the following into considerations

  • Constraints
  • Idea
  • Time and space
  • Test cases
  • Code

Ideation includes the following to be considered

  • Breakdown problem into simple portions
  • Think examples
  • Think of suitable data structures
  • Think about related problems that you know.(not always correct tho)

Areas

  1. Data Structures

  2. Algorithms

To practice the above I generally use Programming platforms

  • Don’t spend very long time in one question read the question design the canvas and put it into your diffused brain portion if it is not solvable right now it will solve later on idea

  • Write more code , break it , note down the learning in anki or obsidian and repeat the process until you are confident.

Coding Practice

I use platforms to promote Problem Solving In Computer Science and To make the knowledge stick

Leetcode

Questions #dataview

LIST
FROM #leetcode 
Resources
Roadmaps
Important links(arranged in priority)
Users

Codeforces

Development practice

  1. Create Personal Projects/Side Projects
  2. Interview: CSS questions
  3. Front-end coding challenges using a real-life workflow
  4. DevProjects: Learn programming by building projects
  5. Codewars - Achieve mastery through coding practice and developer mentorship
  6. CSSBattle
  7. Codewell | Improve your HTML, CSS, and JavaScript skills by practicing on real design templates.
  8. JavaScript 30 — Build 30 things with vanilla JS in 30 days with 30 tutorials
  9. Learn to Code — For Free — Coding Courses for Busy People
  10. DevChallenges.io | Real-life Coding Challenges to become a Software Engineer
  11. Frontend Mentor | Curated list of front-end resources
  12. Exercism

Javascript

Guides

Problem Solving In Real Life

Wheel-of-life#^2ff72a

Problems I am currently facing in my life

  • Procrastination
  • Loss of attention and focus
  • Inability to complete work
  • Inability to achieve anything that makes me happy not even able to todo the have-todos or the want-todos.(have-todos : todos that are necessary (things like career oriented stuff, necessary work oriented towards life), want-todos : tasks that are not important but are your wants in life)
  • Inability to leave bad habits and build good ones
ProblemSolution

Things I have observed happening to me

Paying close attention to my behavior i have realized that i take too much of comparisons in my life seriously.. which is a bad-habit of mine and shout be reduced.. with time , in dating too I compare her(~palak with me because she was beautiful and everyone (not everyone actually but it feels so..) just acts so shitty towards me as if i am non deserving of love) so i have learnt from a redditor’s comment that “Stop dating. When you’re in comparison mode it means you aren’t over her yet.” and would not date until i am ready to date again without comparing myself to others.

Don’t pay much attention in-house politics, don’t talk with parents or anyone in the house for say until they talk to you or you yourself need some thing (Bring about strong less interaction policy) Try to time your stress and not crying for more than 5-10 min if the anxiety spikes are existent.(mature the judgment phase and try to react less to your emotions)

one habit you should develop is of sitting for 10 min after a bad event and then judge with following questions - Did this affect my growth? - Will this affect what I have achieved so far? - Try to be open to thoughts listen more to yourself than others

Don’t let the other people(right now Palak, Shrey, Ishita, Raghav and mostly that have had bad impact in your life earlier) success hinder you from what you are doing and let that discourage you that you are doing something wrong embrace it , maybe life is sometimes easier when embraced and not forced

References