Brute force O(n^2) but with some optimizations that are likely not worth it given the limited size of n.
leetcode.com/problems/cou...
#Doodles #Code #Programming #CodeKitty
Brute force O(n^2) but with some optimizations that are likely not worth it given the limited size of n.
leetcode.com/problems/cou...
#Doodles #Code #Programming #CodeKitty
Made #CodeKitty cry.
#Code #Programming #Doodles.
Made #CodeKitty cry.
#Code #Programming #Doodles.
Pretty simple after identifying that this is a problem of creating ranges and combining them.
#Code #Programming #CodeKitty
Pretty simple after identifying that this is a problem of creating ranges and combining them.
#Code #Programming #CodeKitty
#Graph Building, #Dijkstra's Algorithm and Path Counting.
I would never put an applicant through this.
leetcode.com/problems/num...
#CodeKitty #Programming #Dijkstra
#Graph Building, #Dijkstra's Algorithm and Path Counting.
I would never put an applicant through this.
leetcode.com/problems/num...
#CodeKitty #Programming #Dijkstra
I looked and the editorial solution says to use Depth First Search and I disagree with that solution.
#Programming #Code #CodeKitty
I looked and the editorial solution says to use Depth First Search and I disagree with that solution.
#Programming #Code #CodeKitty
It is an expansion of yesterday's problem.
I was thinking yesterday was way too easy.
#Code #Programming #CodeKitty
leetcode.com/problems/max...
It is an expansion of yesterday's problem.
I was thinking yesterday was way too easy.
#Code #Programming #CodeKitty
leetcode.com/problems/max...
Pretty easy one today. Just be careful of any corner cases!
#CodeKitty #Programming
leetcode.com/problems/cou...
Pretty easy one today. Just be careful of any corner cases!
#CodeKitty #Programming
leetcode.com/problems/cou...
#CodeKitty #Programming
leetcode.com/problems/cou...
#CodeKitty #Programming
leetcode.com/problems/cou...
Helpful if you have a #Math background.
Probably other ways to solve but the math way is always the prettiest.
#Code #CodeKitty #Programming
leetcode.com/problems/cou...
Helpful if you have a #Math background.
Probably other ways to solve but the math way is always the prettiest.
#Code #CodeKitty #Programming
leetcode.com/problems/cou...
#Code #CodeKitty
leetcode.com/problems/max...
#Code #CodeKitty
leetcode.com/problems/max...
#DynamicProgramming #Code #Programming #CodeKitty
#DynamicProgramming #Code #Programming #CodeKitty
#CodeKitty had to go Super Code Kitty Stage 99 to solve.
Please don't do this to interviewees.
leetcode.com/problems/max...
#Code #Programming
#CodeKitty had to go Super Code Kitty Stage 99 to solve.
Please don't do this to interviewees.
leetcode.com/problems/max...
#Code #Programming
#Leetcode 3/27/2025 daily #code
leetcode.com/problems/min...
#CodeKitty #Programming
#Leetcode 3/27/2025 daily #code
leetcode.com/problems/min...
#CodeKitty #Programming
#Leetcode 3/25/2025 daily #code explanation with cute cats and bright pens.
leetcode.com/problems/min...
#CodeKitty #Programming
#Leetcode 3/25/2025 daily #code explanation with cute cats and bright pens.
leetcode.com/problems/min...
#CodeKitty #Programming
Super easy one today, esp if you did yesterday's.
leetcode.com/problems/che...
#Programming #CodeKitty
Super easy one today, esp if you did yesterday's.
leetcode.com/problems/che...
#Programming #CodeKitty
Don't be fooled into building a Graph and doing #DFS or #BFS!
Also, can someone tell me if this is Inverse #Ackermann?
leetcode.com/problems/cou...
#CodeKitty
Don't be fooled into building a Graph and doing #DFS or #BFS!
Also, can someone tell me if this is Inverse #Ackermann?
leetcode.com/problems/cou...
#CodeKitty
There are a few ways to do this but this is what I chose.
#Code #Programming #CodeKitty
There are a few ways to do this but this is what I chose.
#Code #Programming #CodeKitty
#Code #Programming
#Immigrants Are Welcome Here! (USA)
#CodeKitty
leetcode.com/problems/div...
#Code #Programming
#Immigrants Are Welcome Here! (USA)
#CodeKitty
leetcode.com/problems/div...