- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AI / Machine Learningโครงข่ายประสาท ML และ LLM ตั้งแต่ศูนย์ เรียน C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ เรียน C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET เรียน Matplotlibกราฟเส้น แท่ง กระจาย และวงกลม พร้อมตัวแสดงภาพแบบโต้ตอบ เรียน RustOwnership, trait, การจัดการข้อผิดพลาด และ thread เรียน GoSlice, interface, goroutine และ channel อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- ควิซใหม่
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
ควิซ Python: #gotchas
ควิซเกี่ยวกับ #gotchas 17 ชุด พร้อมคำอธิบายทุกคำตอบ
5
การแปลงชนิดข้อมูล
ปานกลาง
มาดูว่า
int(), float(), str() และ round() ทำให้คนเข้าใจผิดตรงไหนบ้าง
Python · พื้นฐาน Python
#casting#gotchas
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
การคัดลอกกับการอ้างอิง
ยาก
ดูว่าเมื่อไรสองชื่อใช้ลิสต์เดียวกัน และเมื่อไรที่คุณได้สำเนาจริง ๆ
Python · ลิสต์และทูเพิล
#mutability#gotchas#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
2
ค่าเริ่มต้นและอาร์กิวเมนต์แบบระบุชื่อ
ปานกลาง
ใช้ค่าเริ่มต้นและอาร์กิวเมนต์แบบระบุชื่อ พร้อมเลี่ยงกับดักค่าเริ่มต้นที่เป็น mutable
Python · ฟังก์ชัน
#arguments#gotchas
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
ขอบเขตตัวแปรและ global
ยาก
ชื่อแบบ local และ global, nonlocal, closure และกับดัก UnboundLocalError
Python · ฟังก์ชัน
#scope#closures#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
หาบั๊กให้เจอ
ยาก
จับจุดหลอกคลาสสิกของ Python ที่ซ่อนอยู่ในโค้ดซึ่งรันได้แต่ให้คำตอบผิด
Python · Error และการดีบัก
#debugging#gotchas#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
3
Tricky Python Questions
ยาก
Real Python gotchas that catch even experienced developers in interviews.
Python · Python Interview Questions
#gotchas#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
2
Sorting Gotchas
ปานกลาง
Learn why
[10, 1, 5].sort() surprises people and how to sort numbers, strings and objects correctly.
JavaScript · Arrays & Objects
#arrays#sorting#gotchas
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
2
Tricky JavaScript Questions
ยาก
The JavaScript gotchas that trip up even experienced developers in interviews.
JavaScript · JavaScript Interview Questions
#gotchas#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Autoboxing & Wrapper Classes
ยาก
Catch the Integer cache, null unboxing and other autoboxing traps before they reach production.
Java · Strings, Arrays & Wrappers
#wrappers#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Iterators & ConcurrentModificationException
ยาก
Remove elements while looping without ConcurrentModificationException, skipped items or surprises.
Java · Java Collections
#collections#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
3
Tricky Java Questions
ยาก
Real Java gotchas from interviews, each one a short program that does not do what it seems to.
Java · Java Interview Questions
#gotchas#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Type Casting & Integer Promotion
ปานกลาง
See how C converts between types, from explicit casts to the hidden promotions in every expression.
C · C Basics
#casting#gotchas
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
2
Tricky C Questions
ยาก
Real C gotchas from interviews, where the obvious answer is wrong.
C · C Interview Questions
#gotchas#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
4
Join Pitfalls
ยาก
Catch the join mistakes that silently duplicate rows, lose rows or inflate totals.
SQL · SQL Joins
#joins#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
2
SQL Output Prediction
ปานกลาง
Read short SQL queries and predict their exact output, including the classic interview traps.
SQL · SQL Interview Questions
#output-prediction#gotchas
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Tricky NULL Questions
ยาก
Master the NULL traps interviewers love, from NOT IN and three-valued logic to aggregates and sorting.
SQL · SQL Interview Questions
#null#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
3
Tricky CSS Questions
ยาก
Real CSS gotchas about stacking contexts, margins, percentages and sticky positioning.
HTML & CSS · HTML & CSS Interview Questions
#gotchas#css#stacking-context
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม