anran758’s blog

02331 – Data Structures

Original link: https://anran758.github.io/blog/2022/05/18/note-02331/ Make a brief review of the content that needs to be assessed in the self-examination practice. sort selection sort Basic idea: Select the record with the smallest keyword among the records to be sorted each time, and store it at the end of the sorted record sequence until all the sorting is …

02331 – Data Structures Read More »

C++ implements Vector vector

Original link: https://anran758.github.io/blog/2022/05/21/note-04737/ This article is mainly about self-examination practice exercises. Title description: There are vectors X=(x1, x2,…, xn) and Y=(y1, y2,…, yn), where x1, x2,…, xn, y1, y2,…, yn Both are integer types, and n is a natural number. Addition, subtraction and multiplication between vectors X and Y are: X + Y = (x1+y1, …

C++ implements Vector vector Read More »