Java | 2020-05-15 Java Multithreading 9: Producer and consumer problem In this blog, producer/consumer problem will be discussed. The contents include: ...
Data Structure and Algorithms | 2020-05-14 Leetcode 200. Number of Islands Question Given a two-dimensional array, 1 as the land and 0 as the sea, connecting the land to fo ...
Java | 2020-05-13 Java Multithreading 8: Thread priority and daemon threads In this blog, we will introduce daemon threads and thread priorities. The contents include: Introdu ...
Data Structure and Algorithms | 2020-05-12 Leetcode 179: Largest Number Question Given an array, arrange the numbers arbitrarily to form a number with the largest value. ...
Data Structure and Algorithms | 2020-05-11 Leetcode 166. Fraction to Recurring Decimal Question Do arithmetic division, if it is a cyclic decimal, the part of the loop should be enclos ...
Java | 2020-05-08 Java Multithreading 7: Interrupt and end thread This blog will introduce the interrupt() method and termination of threads. The contents include: i ...
Data Structure and Algorithms | 2020-05-07 Leetcode 162. Find Peak Element Question Give an array, find any peak. The peak is larger than its left and right neighbors. Simi ...
Java | 2020-05-06 Java Multithreading 6: Join This blog will introduce the join() method in Thread. The content includes: Introduction to join() ...
Data Structure and Algorithms | 2020-05-05 Leetcode 153. Find Minimum in Rotated Sorted Array Question Given a rotated sorted array, find the smallest number. Similar Questions Medium - 33. S ...
Java | 2020-05-04 Java Multithreading 5: Sleep This blog will introduce the sleep() method in Thread. The content includes: Introduction to sleep( ...