C++ Exercises: Data Structure I

Exercises: 448. Find All Numbers Disappeared in an Array Given an array nums of n integers where nums[i] is in the range [1, n], return an array of all the integers in the range [1, n] that do not appear in nums. Solution: use set to record all numbers had showed and find the the rest disappeared numbers. #include <iostream> #include <set> Read more…

Chinese Huangdi

Huangdi, the Yellow Emperor, is a Chinese ancestor and culture hero. It’s said that he has two possible last names, Gongsun or Ji, both have the style of Chinese dynasty Zhou. According to the record, the man could speak after dozens of days of birth, he was smart, charismatic, brave Read more…

3D Model Viewer: add grid plane and convex hull.

X
A prohibited operation