Parents : ATLAS
| Context | Value |
|---|---|
| Date and time note was created | $= dv.current().file.ctime |
| Date and time note was modified | $= dv.current().file.mtime |
Note
- Remember that solving problems in any field takes time and consistency.
- A solution to the problem comes from learning we have had earlier i.e Knowledge is not created it is extracted from our own learning in the past.. idea
Problem solving areas
Problem Solving In Computer Science
How to solve problems ??
Understand
- Rephrase the problem to your understandable format.
- Use diagrams and other to help you break down the problem.
- Think on basis of first principles
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
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
-
- Use this as the road map for preparation of data-structures and algorithm as to what follows what.
Important links(arranged in priority)
-
- A complete guide to get a software development job use when required.
-
Collection of leetcode company tag problems. Periodically updating.
Users
Codeforces
Development practice
- Create Personal Projects/Side Projects
- Interview: CSS questions
- Front-end coding challenges using a real-life workflow
- DevProjects: Learn programming by building projects
- Codewars - Achieve mastery through coding practice and developer mentorship
- CSSBattle
- Codewell | Improve your HTML, CSS, and JavaScript skills by practicing on real design templates.
- JavaScript 30 — Build 30 things with vanilla JS in 30 days with 30 tutorials
- Learn to Code — For Free — Coding Courses for Busy People
- DevChallenges.io | Real-life Coding Challenges to become a Software Engineer
- Frontend Mentor | Curated list of front-end resources
- Exercism
Javascript
- Good practice site for doing frontend questions
- Front-end Job Theoretical Interview Questions
- A Vault of questions to check for ability to code some frontend from sketch like map() array function
- A collection of JavaScript modern interview code challenges for beginners to experts
- Some UI Challenges to practice before Machine coding interview round. Built on Vanilla JS
- Interview-Questions: Help the front End community to rock interview
- JS Is Weird: A simple JavaScript quiz
- front end Interview
- Currying - Interview Questions. So what is currying? | by Pranjali Roy | Medium
- GUI-challenges: Components from the YouTube show GUI Challenges: accessible, responsive, adaptive and cross browser components.
- Devtools.tech | Invest in Yourself | Advance Your Career
Guides
- How to learn effectively as a developer
- How to think like a programmer — lessons in problem solving
- How to Plan and Build a Programming Project – A Legitimate Guide for Beginners : r/learnprogramming : Can be applied to any field
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
| Problem | Solution |
|---|---|
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