Skip to content

Commit 5c918a7

Browse files
authored
Updated readme
1 parent abda8fc commit 5c918a7

File tree

32 files changed

+275
-270
lines changed

32 files changed

+275
-270
lines changed

README.md

Lines changed: 139 additions & 139 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.github.javadev</groupId>
66
<artifactId>leetcode-in-all</artifactId>
77
<packaging>jar</packaging>
8-
<version>1.8</version>
8+
<version>1.10</version>
99
<name>leetcode-in-all</name>
1010
<description>104 LeetCode algorithm problem solutions</description>
1111
<url>https://github.com/javadev/LeetCode-in-All</url>
@@ -147,6 +147,36 @@
147147
</execution>
148148
</executions>
149149
</plugin>
150+
<plugin>
151+
<groupId>org.apache.maven.plugins</groupId>
152+
<artifactId>maven-antrun-plugin</artifactId>
153+
<version>3.1.0</version>
154+
<executions>
155+
<execution>
156+
<id>generate-checksums</id>
157+
<phase>verify</phase>
158+
<configuration>
159+
<target>
160+
<checksum fileext=".md5" algorithm="MD5">
161+
<fileset dir="${project.build.directory}">
162+
<include name="*.jar"/>
163+
<include name="*.pom"/>
164+
</fileset>
165+
</checksum>
166+
<checksum fileext=".sha1" algorithm="SHA-1">
167+
<fileset dir="${project.build.directory}">
168+
<include name="*.jar"/>
169+
<include name="*.pom"/>
170+
</fileset>
171+
</checksum>
172+
</target>
173+
</configuration>
174+
<goals>
175+
<goal>run</goal>
176+
</goals>
177+
</execution>
178+
</executions>
179+
</plugin>
150180
</plugins>
151181
</build>
152182
</project>

src/main/cpp/g0101_0200/s0142_linked_list_cycle_ii/Solution.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
// #Data_Structure_II_Day_10_Linked_List #Level_1_Day_4_Linked_List #Udemy_Linked_List
33
// #Big_O_Time_O(N)_Space_O(1) #2024_05_27_Time_9_ms_(47.48%)_Space_10.2_MB_(18.65%)
44

5+
/**
6+
* Definition for singly-linked list.
7+
* struct ListNode {
8+
* int val;
9+
* ListNode *next;
10+
* ListNode() : val(0), next(nullptr) {}
11+
* ListNode(int x) : val(x), next(nullptr) {}
12+
* ListNode(int x, ListNode *next) : val(x), next(next) {}
13+
* };
14+
*/
515
class Solution {
616
public:
717
ListNode* detectCycle(ListNode* head) {

src/main/cpp/g0101_0200/s0148_sort_list/Solution.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
// #Divide_and_Conquer #Merge_Sort #Level_2_Day_4_Linked_List #Top_Interview_150_Divide_and_Conquer
33
// #Big_O_Time_O(log(N))_Space_O(log(N)) #2024_05_27_Time_130_ms_(50.49%)_Space_73.5_MB_(37.52%)
44

5+
/**
6+
* Definition for singly-linked list.
7+
* struct ListNode {
8+
* int val;
9+
* ListNode *next;
10+
* ListNode() : val(0), next(nullptr) {}
11+
* ListNode(int x) : val(x), next(nullptr) {}
12+
* ListNode(int x, ListNode *next) : val(x), next(next) {}
13+
* };
14+
*/
515
class Solution {
616
public:
717
ListNode* sortList(ListNode* head) {

src/main/csharp/g0001_0100/s0006_zigzag_conversion/Solution.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0006_zigzag_conversion {
22

3-
// #Medium #String #Top_Interview_150_Array/String
3+
// #Medium #String #Top_Interview_150_Array/String #Big_O_Time_O(n)_Space_O(n)
44
// #2025_06_12_Time_3_ms_(95.39%)_Space_46.59_MB_(85.85%)
55

66
using System.Text;

src/main/csharp/g0001_0100/s0007_reverse_integer/Solution.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0007_reverse_integer {
22

3-
// #Medium #Top_Interview_Questions #Math #Udemy_Integers
3+
// #Medium #Top_Interview_Questions #Math #Udemy_Integers #Big_O_Time_O(log10(x))_Space_O(1)
44
// #2025_06_12_Time_14_ms_(99.26%)_Space_29.02_MB_(67.56%)
55

66
public class Solution {

src/main/csharp/g0001_0100/s0008_string_to_integer_atoi/Solution.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
namespace LeetCodeNet.G0001_0100.S0008_string_to_integer_atoi {
22

3-
// #Medium #Top_Interview_Questions #String #2025_06_12_Time_0_ms_(100.00%)_Space_41.82_MB_(46.21%)
3+
// #Medium #Top_Interview_Questions #String #Big_O_Time_O(n)_Space_O(n)
4+
// #2025_06_12_Time_0_ms_(100.00%)_Space_41.82_MB_(46.21%)
45

56
public class Solution {
67
public int MyAtoi(string str) {

src/main/csharp/g0001_0100/s0009_palindrome_number/Solution.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0009_palindrome_number {
22

3-
// #Easy #Math #Udemy_Integers #Top_Interview_150_Math
3+
// #Easy #Math #Udemy_Integers #Top_Interview_150_Math #Big_O_Time_O(log10(x))_Space_O(1)
44
// #2025_06_12_Time_1_ms_(99.90%)_Space_34.74_MB_(67.61%)
55

66
public class Solution {

src/main/csharp/g0401_0500/s0437_path_sum_iii/Solution.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
namespace LeetCodeNet.G0401_0500.S0437_path_sum_iii {
22

3-
// #Medium #Depth_First_Search #Tree #Binary_Tree #LeetCode_75_Binary_Tree/DFS #Level_2_Day_7_Tree
4-
// #Big_O_Time_O(n)_Space_O(n) #2025_06_16_Time_10_ms_(66.33%)_Space_44.34_MB_(85.37%)
3+
// #Medium #Top_100_Liked_Questions #Depth_First_Search #Tree #Binary_Tree
4+
// #LeetCode_75_Binary_Tree/DFS #Level_2_Day_7_Tree #Big_O_Time_O(n)_Space_O(n)
5+
// #2025_06_16_Time_10_ms_(66.33%)_Space_44.34_MB_(85.37%)
56

67
using LeetCodeNet.Com_github_leetcode;
78

src/main/csharp/g0701_0800/s0763_partition_labels/Solution.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
namespace LeetCodeNet.G0701_0800.S0763_partition_labels {
22

3-
// #Medium #String #Hash_Table #Greedy #Two_Pointers #Data_Structure_II_Day_7_String
4-
// #Big_O_Time_O(n)_Space_O(1) #2025_06_16_Time_2_ms_(86.67%)_Space_46.51_MB_(87.11%)
3+
// #Medium #Top_100_Liked_Questions #String #Hash_Table #Greedy #Two_Pointers
4+
// #Data_Structure_II_Day_7_String #Big_O_Time_O(n)_Space_O(1)
5+
// #2025_06_16_Time_2_ms_(86.67%)_Space_46.51_MB_(87.11%)
56

67
using System.Collections.Generic;
78

0 commit comments

Comments
 (0)