上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: 计算两个整数的和 import java.util.Scanner; public class SumOfTwoNumbers { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); S 阅读全文
posted @ 2025-02-10 23:43 吉尼泰梅 阅读(16) 评论(0) 推荐(0)
摘要: 队列 import java.util.LinkedList; import java.util.Queue; public class QueueExample { public static void main(String[] args) { Queue queue = new LinkedL 阅读全文
posted @ 2025-02-10 23:42 吉尼泰梅 阅读(12) 评论(0) 推荐(0)
摘要: 栈 import java.util.Stack; public class StackExample { public static void main(String[] args) { Stack stack = new Stack<>(); // 入栈操作 stack.push(10); st 阅读全文
posted @ 2025-02-08 21:58 吉尼泰梅 阅读(8) 评论(0) 推荐(0)
摘要: 数组 public class ArrayExample { public static void main(String[] args) { // 声明并初始化一个包含 5 个整数的数组 int[] array = new int[5]; // 给数组元素赋值 array[0] = 10; arr 阅读全文
posted @ 2025-02-08 21:57 吉尼泰梅 阅读(11) 评论(0) 推荐(0)
摘要: 链表 // 定义链表节点类 class Node { int data; Node next; public Node(int data) { this.data = data; this.next = null; } } // 定义链表类 class LinkedList { private No 阅读全文
posted @ 2025-02-08 21:57 吉尼泰梅 阅读(12) 评论(0) 推荐(0)
摘要: 《人月神话》作为软件工程领域的经典之作,自1975年首次出版以来,便以其深邃的洞察力和丰富的实践经验,为无数软件开发者提供了宝贵的指导。在阅读这本书的过程中,我深受启发,对软件开发过程中的项目管理、团队协作以及设计完整性等方面有了更为深刻的理解。 书中最为震撼我的观点是关于项目管理与人员增加的关系。 阅读全文
posted @ 2025-01-28 19:25 吉尼泰梅 阅读(19) 评论(0) 推荐(0)
摘要: 数据结构 - 栈 import java.util.Stack; public class StackExample { public static void main(String[] args) { Stack stack = new Stack<>(); // 入栈操作 stack.push( 阅读全文
posted @ 2025-01-27 20:48 吉尼泰梅 阅读(11) 评论(0) 推荐(0)
摘要: 数据结构 - 队列 import java.util.LinkedList; import java.util.Queue; public class QueueExample { public static void main(String[] args) { Queue queue = new 阅读全文
posted @ 2025-01-27 20:48 吉尼泰梅 阅读(14) 评论(0) 推荐(0)
摘要: 排序算法 - 冒泡排序 public class BubbleSort { public static void bubbleSort(int[] arr) { int n = arr.length; for (int i = 0; i < n - 1; i++) { for (int j = 0; 阅读全文
posted @ 2025-01-27 20:47 吉尼泰梅 阅读(10) 评论(0) 推荐(0)
摘要: 搜索算法 - 二分搜索 public class BinarySearch { public static int binarySearch(int[] arr, int target) { int left = 0; int right = arr.length - 1; while (left 阅读全文
posted @ 2025-01-27 20:47 吉尼泰梅 阅读(10) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 下一页