Array regularization method and device, terminal and readable medium
A regular and temporary number technology, applied in the computer field, can solve the problems of long operation time, low efficiency of array regularization, slow speed, etc., and achieve the effect of reducing time-consuming and improving the efficiency of array regularization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] figure 1 It is a flow chart of an array regularization method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of array regularization. The method can be implemented by a terminal, specifically by software and / or hardware in the terminal. see figure 1 , the array regularization method includes the following steps:
[0043] S110. Receive the regularization instruction, define the linked list object according to the regularization instruction, scan the start position to the end position of the target array sequentially, obtain the data information of the scanning position, and add the data information to the linked list object when it is judged that the data information is not empty middle.
[0044] Wherein, the regularization instruction may be an instruction generated by the user by pressing a physical button of the terminal or a virtual button on the terminal screen. Among them, the regularization instruction can also be g...
Embodiment 2
[0078] figure 2 It is a schematic structural diagram of an array regularization device provided in Embodiment 2 of the present invention, and this embodiment is applicable to array regularization.
[0079] see figure 2 , the array regularization device in this embodiment includes:
[0080] Data is added to the linked list object module 210, used to receive the regularization instruction, define the linked list object according to the regularization instruction, scan the starting position to the ending position of the target array in sequence, and obtain the data information of the scanning position, when it is judged that the data information is not empty , add data information to the linked list object;
[0081] The array memory management module 220 is used to clear the data information of the target array when the scan of the target array ends, and define a temporary array, wherein the array length of the temporary array is the same as the array length of the target arr...
Embodiment 3
[0104] This embodiment provides a terminal that can be used in the case of array regularization. image 3 It is a schematic structural diagram of a terminal provided in Embodiment 3 of the present invention. see image 3 , the terminal includes:
[0105] one or more processors 310;
[0106] memory 320, for storing one or more programs;
[0107] When the one or more programs are executed by the one or more processors 310, the one or more processors 310 implement the array regularization method as proposed in the first embodiment.
[0108] image 3 Take a processor 310 as an example; the processor 310 and the memory 320 can be connected through a bus or in other ways, image 3 Take connection via bus as an example.
[0109] As a computer-readable storage medium, the memory 320 can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the array regularization method in the embodiment of the presen...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


