Hi, I am a SDE , at one of the Fortune 50 companies!!

The intent of this channel is to motivate the community to code everyday, and also to make their coding rounds-during interview, a bit easier !! :)

Every question has a 1)brute-force approach 2)optimized approach, and the language used is simple English

I try my best to keep my solutions beginner friendly and simple to understand.

thanks for your support!! :)


Let us code

🔥Thrilled to share that I achieved a perfect 4/4 in LeetCode Biweekly Contest 169! 🚀

www.linkedin.com/posts/darshan-k-489226201_leetcod…

2 months ago | [YT] | 1

Let us code

Day-21 Leetcode question, is great when you try for O(1) space solution!!
Let me know, if you need video for this!!

8 months ago | [YT] | 5

Let us code

Leetcode Day-17 MAY
Let me know, if you want video explanation

8 months ago | [YT] | 3

Let us code

#day-24 April | today's question is very good, try to solve it in 15-20 mins.

pasting the solution, here for your reference:

#O(n)
class Solution:
def countCompleteSubarrays(self, nums: List[int]) -> int:
n=len(nums)
f=defaultdict(int)
x=len(set(nums))
#print(x)
r=-1
ans=0
log=False
for i in range(n):
log and print(f"i={i} and nums[i]={nums[i]}")
while(len(f.keys())!=x and r+1<n):
r+=1
f[nums[r]]+=1
log and print(f"r={r} f={f}")
if(len(f.keys())==x):
ans+=(n-r)
log and print(f"ans={ans}")
elif(r+1==n):
log and print(f"r+1==n;break")
break

f[nums[i]]-=1
if(f[nums[i]]==0):
f.pop(nums[i])
return ans

8 months ago | [YT] | 1

Let us code

hi Team,
for day-3 April Challenge, I have already shown its solution in day-2 video itself. Please go through it.

9 months ago | [YT] | 0

Let us code

hi Team,
I am not feeing well, please expect delay in uploading video for march-23 question.
I am also, preparing contest solutions, for today's weekly contest.

BTW, what's your opinion on Q3 in today's challenge😅😂

What I see is that, now everyone is using Gen AI models during contests, since its impossible to solve all the 4 questions in 2 mins.( see leadership board)

10 months ago | [YT] | 1

Let us code

I completed 150 days streak in LC!!

please expect a delay in uploading video for day-21 challenge.

10 months ago | [YT] | 0

Let us code

wow , what a question!! truly a FAANG level que!!
so much to learn, from this question.

10 months ago | [YT] | 1

Let us code

there will be a slight delay in uploading explanation video for Feb-16 LC question.

Please give the question a try, meanwhile.

11 months ago | [YT] | 2

Let us code

there will be delay in uploading video for LC FEB day-7 question.

meanwhile, Please give the question a try.

11 months ago | [YT] | 1