This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.Random; | |
| public class Sort{ | |
| static int z = 1; | |
| // 冒泡排序 | |
| public static void BubbleSort(int array[]){ | |
| int i,j; | |
| int len = array.length; | |
| int tmp; | |
| for ( i = 0; i< len - 1 ; ++i ) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.Random; | |
| public class QuickSort{ | |
| public static void qSort(int arr[], int left, int right){ | |
| if (left >= right) // 递归的出口 | |
| return; | |
| int i = left; | |
| int j = right; | |
| int pivot = arr[left]; // 选择数组的第一个元素做为基准数, arr[left] 即 arr[i]做为第一个坑 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.Random; | |
| public class HeapSort { | |
| /** | |
| * 堆筛选,除了start之外,start~end均满足大顶堆的定义。 | |
| * 调整之后start~end称为一个大顶堆。 | |
| * @param arr 待调整数组 | |
| * @param start 起始指针 | |
| * @param end 结束指针 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [{"FINGERPRINT":"google/oriole_beta/oriole:16/BP41.250916.012/14330257:user/release-keys","MANUFACTURER":"Google","MODEL":"Pixel 6","SECURITY_PATCH":"2025-09-05"},{"FINGERPRINT":"google/raven_beta/raven:16/BP41.250916.012/14330257:user/release-keys","MANUFACTURER":"Google","MODEL":"Pixel 6 Pro","SECURITY_PATCH":"2025-09-05"},{"FINGERPRINT":"google/bluejay_beta/bluejay:16/BP41.250916.012/14330257:user/release-keys","MANUFACTURER":"Google","MODEL":"Pixel 6a","SECURITY_PATCH":"2025-09-05"},{"FINGERPRINT":"google/panther_beta/panther:16/BP41.250916.012.A1/14330953:user/release-keys","MANUFACTURER":"Google","MODEL":"Pixel 7","SECURITY_PATCH":"2025-10-05"},{"FINGERPRINT":"google/cheetah_beta/cheetah:16/BP41.250916.012.A1/14330953:user/release-keys","MANUFACTURER":"Google","MODEL":"Pixel 7 Pro","SECURITY_PATCH":"2025-10-05"},{"FINGERPRINT":"google/lynx_beta/lynx:16/BP41.250916.012.A1/14330953:user/release-keys","MANUFACTURER":"Google","MODEL":"Pixel 7a","SECURITY_PATCH":"2025-10-05"},{"FINGERPRINT":"google/felix_bet |