From 7cd946888b95423ed1de6c7ab8e4f2b19af89125 Mon Sep 17 00:00:00 2001 From: Limit <2326709846@qq.com> Date: Mon, 15 Apr 2024 15:18:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=92=E5=BA=8F=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dxy18882636878/15895507.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dxy18882636878/15895507.java diff --git a/dxy18882636878/15895507.java b/dxy18882636878/15895507.java new file mode 100644 index 0000000000..ce045dc0ec --- /dev/null +++ b/dxy18882636878/15895507.java @@ -0,0 +1,11 @@ +public static void bubbleSort(int []a,int n){ + for(int i=0;ia[j+1]){ + int temp = a[j]; + a[j]=a[j+1]; + a[j+1]=temp; + } + } + } +} -- Gitee