This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Leetcode: 237. Delete Node in a Linked List. | |
// https://leetcode.com/problems/delete-node-in-a-linked-list/ | |
// = = = = = = = = = = = = = = | |
// Accepted. | |
// Thanks God, Jesus Christ! | |
// = = = = = = = = = = = = = = | |
// Runtime: 3 ms, faster than 73.24% of Go online submissions for Delete Node | |
// in a Linked List. | |
// Memory Usage: 2.9 MB, less than 58.80% of Go online submissions for Delete | |
// Node in a Linked List. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Leetcode: 881. Boats to Save People. | |
// https://leetcode.com/problems/boats-to-save-people/ | |
// = = = = = = = = = = = = = = | |
// Accepted. | |
// Thank God, Jesus Christ! | |
// = = = = = = = = = = = = = = | |
// Runtime: 54 ms, faster than 80.23% of Go online submissions for Boats to | |
// Save People. | |
// Memory Usage: 7.1 MB, less than 63.95% of Go online submissions for Boats | |
// to Save People. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Leetcode: 165. Compare Version Numbers. | |
// https://leetcode.com/problems/compare-version-numbers/ | |
// = = = = = = = = = = = = = = | |
// Accepted. | |
// Thanks God, Jesus Christ! | |
// = = = = = = = = = = = = = = | |
// Runtime: 1 ms, faster than 78.95% of Go online submissions for Compare | |
// Version Numbers. | |
// Memory Usage: 2.2 MB, less than 21.05% of Go online submissions for Compare | |
// Version Numbers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Leetcode: 2441. Largest Positive Integer That Exists With Its Negative. | |
// https://leetcode.com/problems/largest-positive-integer-that-exists-with-its-negative/ | |
// = = = = = = = = = = = = = = | |
// Accepted. | |
// Thanks God, Jesus Christ! | |
// = = = = = = = = = = = = = = | |
// Runtime: 3 ms, faster than 100.00% of Go online submissions for Largest | |
// Positive Integer That Exists With Its Negative. | |
// Memory Usage: 5.1 MB, less than 88.46% of Go online submissions for Largest | |
// Positive Integer That Exists With Its Negative. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Leetcode: 2000. Reverse Prefix of Word. | |
// https://leetcode.com/problems/reverse-prefix-of-word/ | |
// = = = = = = = = = = = = = = | |
// Accepted. | |
// Thanks God, Jesus Christ! | |
// = = = = = = = = = = = = = = | |
// Runtime: 1 ms, faster than 76.52% of Go online submissions for Reverse | |
// Prefix of Word. | |
// Memory Usage: 2.3 MB, less than 74.78% of Go online submissions for Reverse | |
// Prefix of Word. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Leetcode: 1915. Number of Wonderful Substrings. | |
// https://leetcode.com/problems/number-of-wonderful-substrings/ | |
// = = = = = = = = = = = = = = | |
// Accepted. | |
// Thanks God, Jesus Christ! | |
// = = = = = = = = = = = = = = | |
// Runtime: 256 ms, faster than 100.00% of Go online submissions for Number of | |
// Wonderful Substrings. | |
// Memory Usage: 6.7 MB, less than 100.00% of Go online submissions for Number | |
// of Wonderful Substrings. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Leetcode: 2997. Minimum Number of Operations to Make Array XOR Equal to K. | |
// https://leetcode.com/problems/minimum-number-of-operations-to-make-array-xor-equal-to-k/ | |
// = = = = = = = = = = = = = = | |
// Accepted. | |
// Thanks God, Jesus Christ! | |
// = = = = = = = = = = = = = = | |
// Runtime: 87 ms, faster than 69.23% of Go online submissions for Minimum | |
// Number of Operations to Make Array XOR Equal to K. | |
// Memory Usage: 8 MB, less than 76.92% of Go online submissions for Minimum | |
// Number of Operations to Make Array XOR Equal to K. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Leetcode: 834. Sum of Distances in Tree. | |
// https://leetcode.com/problems/sum-of-distances-in-tree/ | |
// = = = = = = = = = = = = = = | |
// Accepted. | |
// Thanks God, Jesus Christ! | |
// = = = = = = = = = = = = = = | |
// Runtime: 286 ms, faster than 14.29% of Go online submissions for Sum of | |
// Distances in Tree. | |
// Memory Usage: 25 MB, less than 7.14% of Go online submissions for Sum of | |
// Distances in Tree. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Leetcode: 514. Freedom Trail. | |
# https://leetcode.com/problems/freedom-trail/ | |
# = = = = = = = = = = = = = = | |
# Accepted. | |
# Thanks God, Jesus Christ! | |
# = = = = = = = = = = = = = = | |
# Runtime: 254 ms, faster than 24.70% of Python3 online submissions for | |
# Freedom Trail. | |
# Memory Usage: 17.4 MB, less than 33.33% of Python3 online submissions for | |
# Freedom Trail. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Leetcode: 1289. Minimum Falling Path Sum II. | |
# https://leetcode.com/problems/minimum-falling-path-sum-ii/ | |
# = = = = = = = = = = = = = = | |
# Accepted. | |
# Thanks God, Jesus Christ! | |
# = = = = = = = = = = = = = = | |
# Runtime: 213 ms, faster than 96.90% of Python3 online submissions for | |
# Minimum Falling Path Sum II. | |
# Memory Usage: 20.1 MB, less than 65.04% of Python3 online submissions for | |
# Minimum Falling Path Sum II. |
NewerOlder