Skip to content

Instantly share code, notes, and snippets.

@lbvf50mobile
lbvf50mobile / findMissingAndRepeatedValues.go
Last active March 6, 2025 17:21
Leetcode: 2965. Find Missing and Repeated Values
// Leetcode: 2965. Find Missing and Repeated Values
// https://leetcode.com/problems/find-missing-and-repeated-values/description/
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 1 ms Beats 82.81%
// Memory: 7.07 MB Beats 90.63%
// 2025.03.06 Daily Challenge.
@lbvf50mobile
lbvf50mobile / doesValidArrayExist.go
Created January 17, 2025 11:29
Leetcode: 2683. Neighboring Bitwise XOR
// Leetcode: 2683. Neighboring Bitwise XOR
// https://leetcode.com/problems/neighboring-bitwise-xor/description/
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 0 ms Beats 100.00%
// Memory: 13.31 MB Beats 11.11%
// 2025.01.17 Daily Challenge.
@lbvf50mobile
lbvf50mobile / xorAllNums.go
Created January 16, 2025 22:02
Leetcode: 2425. Bitwise XOR of All Pairings
// Leetcode: 2425. Bitwise XOR of All Pairings
// https://leetcode.com/problems/bitwise-xor-of-all-pairings/
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Memory: 38 ms Beats 4.17%
// Runtime: 14.28 MB Beats 16.67%
// 2025.01.16 Daily Challenge.
package main
@lbvf50mobile
lbvf50mobile / minimizeXor.go
Created January 15, 2025 20:54
Leetcode: 2429. Minimize XOR
// Leetcode: 2429. Minimize XOR
// https://leetcode.com/problems/minimize-xor/
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 0 ms Beats 100.00%
// Memory: 4.05 MB Beats 37.50%
// 2025.01.15 Daily Challange.
@lbvf50mobile
lbvf50mobile / findThePrefixCommonArray.go
Created January 14, 2025 15:09
Leetcode: 2657. Find the Prefix Common Array of Two Arrays
// Leetcode: 2657. Find the Prefix Common Array of Two Arrays
// https://leetcode.com/problems/find-the-prefix-common-array-of-two-arrays/description/?envType=daily-question&envId=2025-01-14
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 0 ms Beats 100.00%
// Memory: 7.94 MB Beats 84.81%
// 2025.01.14 Daily Challege.
@lbvf50mobile
lbvf50mobile / minimumLength.go
Last active January 13, 2025 20:58
Leetcode: 3223. Minimum Lenght of String Arter Operations
// Leetcode: 3223. Minimum Lenght of String Arter Operations
// https://leetcode.com/problems/minimum-length-of-string-after-operations/description/?envType=daily-question&envId=2025-01-13
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 11 ms Beats 77.78%
// Memory: 8.70 MB Beats 88.89%
// 2025.01.13 Daily Challenge.
@lbvf50mobile
lbvf50mobile / canBeValid.go
Created January 12, 2025 18:35
Leetcode: 2116. Check if a Parentheses String Can Be Valid
// Leetcode: 2116. Check if a Parentheses String Can Be Valid
// https://leetcode.com/problems/check-if-a-parentheses-string-can-be-valid/description
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 5 ms Beats 75.00%
// Memory: 8.81 MB Beats 75.00%
// 2025.01.12 Daily Challenge.
@lbvf50mobile
lbvf50mobile / canConstruct.go
Created January 11, 2025 09:16
Leetcode: 1400. Construct K Palindrome Strings
// Leetcode: 1400. Construct K Palindrome Strings
// https://leetcode.com/problems/construct-k-palindrome-strings/description/?envType=daily-question&envId=2025-01-11
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 0 ms Beats 100.00%
// Memory: 8.14 MB Beats 25.00%
// 2025.01.11 Daily Challenge.
@lbvf50mobile
lbvf50mobile / wordSubsets.go
Last active January 10, 2025 21:51
Leetcode: 916. Word Subset
// Leetcode: 916. Word Subset
// https://leetcode.com/problems/word-subsets/?envType=daily-question&envId=2025-01-10
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 47 ms Beats 14.29%
// Memory: 15.67 MB Beats 9.52%
// 2025.01.10 Daiy Challenge.
@lbvf50mobile
lbvf50mobile / prefixCount.go
Created January 9, 2025 07:35
Leetcode: 2185. Counting Words With a Given Prefix
// Leetcode: 2185. Counting Words With a Given Prefix
// https://leetcode.com/problems/counting-words-with-a-given-prefix/submissions/1502707677/?envType=daily-question&envId=2025-01-09
// = = = = = = = = = = = = = =
// Accepted.
// Thanks God, Jesus Christ!
// = = = = = = = = = = = = = =
// Runtime: 0 ms Beats 100.00%
// Memory: 5.45 MB Beats 42.37%
// 2025.01.09 Daily Challenge.