Cosine's Landing o7

Blog of coding, TCG's and whatever else I'm doing.

View My GitHub Profile

Account links

Coding Questions

25/05/2025

Leetcode question 2131. Longest Palindrome by Concatenating Two Letter Words

24/05/2025

Leetcode question 2942. Find Words Containing Character

23/05/2025

Leetcode question 3068. Find the Maximum Sum of Node Values

22/05/2025

Leetcode question 3362. Zero Array Transformation III

21/05/2025

Leetcode question 73. Set Matrix Zeroes

20/05/2025

Leetcode question 3355. Zero Array Transformation I

19/05/2025

Leetcode question 3024. Type of Triangle

Codeforces Contest 2109

18/05/2025

Leetcode question 1931. Painting a Grid With Three Different Colors

17/05/2025

Leetcode question 75. Sort Colors

16/05/2025

Leetcode question 2901. Longest Unequal Adjacent Groups Subsequence II

15/05/2025

Leetcode question 2900. Longest Unequal Adjacent Groups Subsequence I

13/05/2025

Leetcode question 3335. Total Characters in String After Transformations I

12/05/2025

Leetcode question 2094. Finding 3-Digit Even Numbers

11/05/2025

Leetcode question 1550. Three Consecutive Odds

Codeforces Contest 2102

8/05/2025

Leetcode question 3342. Find Minimum Time to Reach Last Room II

7/05/2025

Leetcode question 3341. Find Minimum Time to Reach Last Room I

6/05/2025

Leetcode question 1920. Build Array from Permutation

5/05/2025

Leetcode question 790. Domino and Tromino Tiling

4/05/2025

Leetcode question 1128. Number of Equivalent Domino Pairs

Codeforces Contest 2103

3/05/2025

Leetcode question 1007. Minimum Domino Rotations For Equal Row

2/05/2025

Leetcode question 838. Push Dominoes

30/04/2025

Leetcode question 1295. Find Numbers with Even Number of Digits

27/04/2025

Leetcode question 3392. Count Subarrays of Length Three With a Condition

23/04/2025

Leetcode question 1399. Count Largest Group

21/04/2025

Leetcode question 2145. Count the Hidden Sequences

Codeforces Contest 2103

20/04/2025

Leetcode question 781. Rabbits in Forest

Codeforces Contest 2096

17/04/2025

Leetcode question 2176. Count Equal and Divisible Pairs in an Array

14/04/2025

Leetcode question 1534. Count Good Triplets

13/04/2025

Leetcode question 1922. Count Good Numbers

Codeforces Contest 2093

9/04/2025

Leetcode question 3375. Minimum Operations to Make Array Values Equal to K

8/04/2025

Leetcode question 3396. Minimum Number of Operations to Make Elements in Array Distinct

2/04/2025

Leetcode question 2873. Maximum Value of an Ordered Triplet I

1/04/2025

Leetcode question 2140. Solving Questions With Brainpower

20/03/2025

Leetcode question 3108. Minimum Cost Walk in Weighted Graph

19/03/2025

Leetcode question 3191. Minimum Operations to Make Binary Array Elements Equal to One I

17/03/2025

Leetcode question 2206. Divide Array Into Equal Pairs

16/03/2025

Leetcode question 2594. Minimum Time to Repair Cars

15/03/2025

Leetcode question 2560. House Robber IV

14/03/2025

Leetcode question 2226. Maximum Candies Allocated to K Children

13/03/2025

Leetcode question 3356. Zero Array Transformation II

12/03/2025

Leetcode question 2529. Maximum Count of Positive Integer and Negative Integer

11/03/2025

Leetcode question 1358. Number of Substrings Containing All Three Characters

Codeforces Contest 2074

05/03/2025

Leetcode question 2579. Count Total Number of Colored Cells

04/03/2025

Leetcode question 1780. Check if Number is a Sum of Powers of Three

Codeforces Contest 2067

13/02/2025

Leetcode question 3066. Minimum Operations to Exceed Threshold Value II

11, 12: Preparation for IMC contest and participation in CPMSOC contest

10/02/2025

Leetcode question 3174. Clear Digits

09/02/2025

Leetcode question 2364. Count Number of Bad Pairs

Codeforces Contest 2063

08/02/2025

Leetcode question 1249. Minimum Remove to Make Valid Parentheses

Leetcode question 2349. Design a Number Container System

07/02/2025

Leetcode question 3160. Find the Number of Distinct Colors Among the Balls

06/02/2025

Leetcode question 1726. Tuple with Same Product

Codeforces Contest 2062

05/02/2025

Leetcode question 1790. Check if One String Swap Can Make Strings Equal

04/02/2025

Leetcode question 1800. Maximum Ascending Subarray Sum

03/02/2025

Leetcode question 3105. Longest Strictly Increasing or Strictly Decreasing Subarray

Codeforces Contest 2059

02/02/2025

Leetcode question 1752. Check if Array Is Sorted and Rotated

15/1/2025

Leetcode question 2429. Minimize XOR

14/1/2025

Leetcode question 2657. Find the Prefix Common Array of Two Arrays

13/1/2025

Leetcode question 3223. Minimum Length of String After Operations

12/1/2025

Leetcode question 2116. Check if a Parentheses String Can Be Valid

11/1/2025

Leetcode question 1400. Construct K Palindrome Strings

10/1/2025

Leetcode question 916. Word Subsets

9/1/2025

Leetcode question 2185. Counting Words With a Given Prefix

Codeforces Contest 2057

8/1/2025

Leetcode question 3042. Count Prefix and Suffix Pairs I

7/1/2025

Leetcode question 1408. String Matching in an Array

6/1/2025

Leetcode question 1769. Minimum Number of Operations to Move All Balls to Each Box

Codeforces Contest 2057

5/1/2025

Leetcode question 2381. Shifting Letters II

4/1/2025

Leetcode question 1930. Unique Length-3 Palindromic Subsequences

3/1/2025

Leetcode question 2270. Number of Ways to Split Array

Codeforces Contest 2024-2025 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred)

2/1/2025

Leetcode question 2559. Count Vowel Strings in Ranges

30/12/2024

Leetcode question 2466. Count Ways To Build Good Strings

27/12/2024

Leetcode question 1014. Best Sightseeing Pair

26/12/2024

Leetcode question 494. Target Sum

25/12/2024

Leetcode question 515. Find Largest Value in Each Tree Row

23/12/2024

Advent Of Code Day 4

22/12/2024

Advent Of Code Day 3

21/12/2024

Leetcode question 2872. Maximum Number of K-Divisible Components

20/12/2024

Advent Of Code Day 19

Advent Of Code Day 1

Advent Of Code Day 2

19/12/2024

Leetcode question 769. Max Chunks To Make Sorted

17/12/2024

Leetcode question 3264. Final Array State After K Multiplication Operations I

12/12/2024

Leetcode question 2558 - Take Gifts From the Richest Pile

Advent Of Code Day 12

10/12/2024

Leetcode question 2981 - Find Longest Special Substring That Occurs Thrice II

09/12/2024

Leetcode question 3152 - Special Array II

Codeforces Contest 992

08/12/2024

Leetcode question 2054 - Two Best Non-Overlapping Events