DMITRII’s Substack

DMITRII’s Substack

Home
Archive
About
# 28.06.2025 [2099. Find Subsequence of Length K With the Largest Sum]
Subsequence of k largest #easy #sort
4 hrs ago • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 28.06.2025 [2099. Find Subsequence of Length K With the Largest Sum]
# 27.06.2025 [2014. Longest Subsequence Repeated k Times]
Longest k-repeating subsequence #hard #backtracking
Jun 27 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 27.06.2025 [2014. Longest Subsequence Repeated k Times]
# 26.06.2025 [2311. Longest Binary Subsequence Less Than or Equal to K]
Longest binary subsequence less than K #medium
Jun 26 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 26.06.2025 [2311. Longest Binary Subsequence Less Than or Equal to K]
# 25.06.2025 [2040. Kth Smallest Product of Two Sorted Arrays]
K-th increasing product from two arrays #hard #binary_search
Jun 25 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 25.06.2025 [2040. Kth Smallest Product of Two Sorted Arrays]
# 24.06.2025 [2200. Find All K-Distant Indices in an Array]
Indices k-distant to key #easy
Jun 24 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 24.06.2025 [2200. Find All K-Distant Indices in an Array]
# 23.06.2025 [2081. Sum of k-Mirror Numbers]
n palindromes in both 10 and k-base #hard #math
Jun 23 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 23.06.2025 [2081. Sum of k-Mirror Numbers]
# 22.06.2025 [2138. Divide a String Into Groups of Size k]
k-chunked string, filled tail #easy
Jun 22 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 22.06.2025 [2138. Divide a String Into Groups of Size k]
# 21.06.2025 [3085. Minimum Deletions to Make String K-Special]
Min remove to make frequencies k-narrow #medium
Jun 21 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 21.06.2025 [3085. Minimum Deletions to Make String K-Special]
# 20.06.2025 [3443. Maximum Manhattan Distance After K Changes]
Max distance after k flips #medium
Jun 20 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 20.06.2025 [3443. Maximum Manhattan Distance After K Changes]
# 19.06.2025 [2294. Partition Array Such That Maximum Difference Is K]
k-narrow subsequences #medium #sort
Jun 19 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 19.06.2025 [2294. Partition Array Such That Maximum Difference Is K]
# 18.06.2025 [2966. Divide Array Into Arrays With Max Difference]
List of k-narrow tripplets #medium
Jun 18 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 18.06.2025 [2966. Divide Array Into Arrays With Max Difference]
# 17.06.2025 [3405. Count the Number of Arrays with K Matching Adjacent Elements]
Combinations k equal siblings 1..m in [n] array #hard #combinatorics #math
Jun 17 • 
DMITRII SAMOILENKO

Share this post

DMITRII’s Substack
DMITRII’s Substack
# 17.06.2025 [3405. Count the Number of Arrays with K Matching Adjacent Elements]
© 2025 DMITRII SAMOILENKO
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share