Skip to content

JAVA的数据结构和算法库(dsaa=Data Structures and Algorithms)

License

Notifications You must be signed in to change notification settings

magicdam/magic-dsaa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magic-dsaa

JAVA的数据结构和算法库(dsaa=Data Structures and Algorithms)

排序算法(升序)

包含冒泡排序、插入排序、选择排序、堆排序、归并排序、快速排序。
可直接用于byte、char、short、int、long、各种封装类型、List的排序。
示例:
int array[]={3,2,1};
Sort sort=Sort.getBubbleSort();
sort.sort(array);
System.out.println(Arrays.toString(array));

About

JAVA的数据结构和算法库(dsaa=Data Structures and Algorithms)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages