Interview - Basic Concepts of Computer Programming

 

    Brief description:
It mainly records some basic concepts required for computer programming, in order to better understand other concepts used in programming.
For example, to understand the hashmap data structure, it is necessary to have a basic understanding of data, linked lists, modulo, and bit operations.
 
content:
 
    1: take the modulo, take the remainder
 
1.1 The modulo is similar to the remainder. When the two values ​​of the modulo are the same, the modulo and the remainder will get the same value; otherwise, the opposite is true.
1.2 What is the significance of taking the modulo?
 
    2. Array
2.1 The array provided in the Java language is used to store elements of the same type of fixed size
2.2 The biggest advantage of arrays is that they can automatically number the stored elements
    
    3. Linked list
    Quote: https://blog.csdn.net/jianyuerensheng/article/details/51200274
3.1     A linked list is a data structure, at the same level as an array
3.2     A single-item list is a linear list that actually consists of nodes.
  •     node: stored object + reference to next node
 
    4. Thread-safe and non-thread-safe
    
 
    java data structure:
 
https://www.cnblogs.com/ysocean/p/7889153.html

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324769958&siteId=291194637