ProgrammerPlus
2.31K subscribers
180 photos
3 videos
1 file
31 links
💡 Get More Insight

👉 *The* Programmer Community

📍 Redefined Quality for Developers & Geeks
Download Telegram
Merry Christmas 🎄🎉
What Is Critical Thinking?

Critical thinking is the ability to think clearly and rationally about what to do or what to believe. It includes the ability to engage in reflective and independent thinking. Someone with critical thinking skills is able to do the following :

- understand the logical connections between ideas
- identify, construct and evaluate arguments
- detect inconsistencies and common mistakes in reasoning
- solve problems systematically
- identify the relevance and importance of ideas
- reflect on the justification of one's own beliefs and values

Critical thinking is not a matter of accumulating information. A person with a good memory and who knows a lot of facts is not necessarily good at critical thinking. A critical thinker is able to deduce consequences from what he knows, and he knows how to make use of information to solve problems, and to seek relevant sources of information to inform himself.
How To Write Efficient Algorithms?

- Improving time complexity
- Improving space complexity

The lesser time your algorithm takes to give result for bigger values the lesser is the time complexity and the same thing applies to space complexity too.

- Use efficient data structure according to problem statement
- Make use of hash tables
- Make use of memoization techniques
- Use dynamic programming
- Avoid recursion in general
- Avoid repetitive calculation of results for subproblems, rather store them once calculated
- Use bitwise operations
- Operate on bit level rather than byte level to save space wherever possible