惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
V
Visual Studio Blog
雷峰网
雷峰网
J
Java Code Geeks
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog RSS Feed
C
Check Point Blog
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
V2EX
D
Docker
IT之家
IT之家
博客园 - 聂微东
腾讯CDC
U
Unit 42
Microsoft Security Blog
Microsoft Security Blog
The Cloudflare Blog

peijie's wiki

怎么抢高铁票 - peijie's wiki 两日游背包收纳 - peijie's wiki 什么是 AI,什么是大语言模型,缺点分析,以及使用技法和技巧总结 - peijie's wiki macOS 里关于“名字”的那些事 - peijie's wiki 将 CapsLock 映射为 Escape,对于macos - peijie's wiki 拔智齿后的食谱 - peijie's wiki 拔智齿后的食谱 - peijie's wiki proxy搭建稳如老狗的原理(老白版) - peijie's wiki 混音原理,Linux混音实操,有线麦克风录音+混录系统BGM+耳返监听 - peijie's wiki Linux 搜索最佳实践【入门版】 - peijie's wiki 线材库存 - peijie's wiki 药品库存 - peijie's wiki pacman - peijie's wiki chinese-input-method-setup - peijie's wiki Programming Foundations with CSS - peijie's wiki Programming Foundations with HTML - peijie's wiki 如何高效地学习一门编程语言 - peijie's wiki 低卡火锅蘸料 - peijie's wiki 使用键盘组合键启动iTerm - peijie's wiki 中餐厨艺课 - peijie's wiki liupj.top
Programming Concepts and Algorithms/Solutions - peijie's ...
lpj · 2025-04-05 · via peijie's wiki

(The type of thinking that enables you to write computer programs) are called Computational Thinking

Programming is great for solving problems that have a lot of computation or repetition in them.


Computers only work with numbers => so Everything is a Number

Hardware: bits(0, 1), can only do math.

Do not need to worry about bits due to a wonderful principle called abstraction.

Abstraction: Separation of interface(what-it-does/how-you-use-it) & implementation(how-it-does-it/how-it-works).

Abstraction often comes in layers, and what layer you need to work at depends on what you need to do.


Importance of Everything is a Number

  • Can expose numeric properities(eg: Math with letters can be Cryptography)
  • Interpretation of numbers/How to operate on numbers => Types
    • eg:
      • “1” + “1” = “11”
      • 1 + 1 = 2
  • Whenever you have data you want to work with, you need to represent it as numbers.
    • You may be able to use existing types such as strings, which already represent information as numbers, to help you out.

The Green Screen Problem(Developing an Algorithm)