Siddhant

154 posts

Siddhant

Siddhant

@Siddhant_code

building stuff | CSE'2028| dsa and ML | Gen ai

参加日 Mayıs 2025
64 フォロー中10 フォロワー
Harshit
Harshit@rrrautela·
I think I studied the wrong dsa 🫪
Harshit tweet media
English
14
0
48
7K
Siddhant
Siddhant@Siddhant_code·
#SDESheetChallenge @striver_79 @takeUforward_ day 3 1. merging sorted lists a very brute approach would have been to use two pointer make a third array start iterating copying smaller or larger elements then copying it to the nums1 while we can also do the other way of specifying larger elements to end of nums1 using two pointers.. 2.merge intervals sort them and check if the extremes overlap if they do take the max 3.rotate array by 90 transpose and reverse every row
Siddhant tweet mediaSiddhant tweet mediaSiddhant tweet media
English
1
0
3
16
Aditya Pandey
Aditya Pandey@AdityaP92697804·
Day 2 of the #SDESheetChallenge@takeUforward_ Today's progress:Kadane's algo (max subarray sum), Sort an Array of 0's, 1's and 2's and Stock Buy and Sell Day 2 focused on array optimization techniques and greedy thinking,while also revised sorting algos.
Aditya Pandey tweet media
English
1
0
1
24
Siddhant
Siddhant@Siddhant_code·
#SDESheetChallenge @striver_79 @takeUforward_ DAY-2 brute force - O(n^2) check all subarrays and get rejected optimal - whenever the sum gets less than 0 make sum 0 and also before that check max condition Buy and sell stock brute - O(n^2) bekaar try to sell on minimum and sell when profit is max Sort 0s 1s and 2s use any sorting algo would fetch us at best O(nlog n) so we use a three pointer method which we call dutch national flag algo
Siddhant tweet mediaSiddhant tweet mediaSiddhant tweet media
English
0
0
2
26
Siddhant
Siddhant@Siddhant_code·
#SDESheetChallenge @striver_79 @takeUforward_ SET MATRIX ZERO when u first look at the problem you know every zero in the original array makes every column every row zero … here comes the brute force approach store the row and the column corresponding to evry zero in seperate arrays… and zero the rows and columns complexity - O(mxn +z) z is small so O(m X n ) and space complexity is (m + n) two arrays for rows and columns . now to optimise this we can approach it using the first row and first column …it does a similar work which the two arrays did in the brute approach ..now instead of making two different arrays we can just use the first row and first column to mark rows and columns that need to be zeros also … check if the first rows or columns contains zeros … Pascal Triangle… simple you know you know kind of question where we just find ncr(r-1,c-1) Next permutation if brute ….generate all permutations and the interviewer will not be happy optimal idea is to find the smaller number followed by a larger number when iterated ulta now find the first number greater than number at the index when we come ulta swap and reverse the subarray
Siddhant tweet mediaSiddhant tweet mediaSiddhant tweet media
English
1
0
1
35
PurposePaglu
PurposePaglu@Kcodess·
@Siddhant_code build agents that actually do something useful. RAGs and vector DBs are table stakes now. the real edge is MCP, tool calling, and multi-agent workflows. ship something real, document it publicly 🙏
English
1
0
17
895
PurposePaglu
PurposePaglu@Kcodess·
GOT HIRED AS AN AGENTIC AI ENGINEER INTERN Zero prep, Last-minute call, 4 people waiting on the other side ( i was unaware of this fact ) Here's the full story 🧵
English
47
20
928
78.4K
Siddhant
Siddhant@Siddhant_code·
tired of: whiteboard → "ok now someone code this" so i built Trace upload your architecture diagram → get a full project scaffold what's done: multimodal RAG pipeline, LangGraph, Gemini vision what's next: real-time collab (multiple people, one canvas, one Generate button) what could go wrong: everything, publicly follow along if you enjoy watching people learn things the hard way #RAG #AIML #buildinpublic
Siddhant tweet mediaSiddhant tweet media
English
0
0
0
46
Siddhant
Siddhant@Siddhant_code·
@Fanpointofviews boring road me janta hu kuch fans ko lekin patakhe to ni jalayenge wo
हिन्दी
0
0
0
1.7K
Vishal
Vishal@Fanpointofviews·
Bc patna mein psg fans kon paida ho gya, gabriel magalhaes k penalty miss krte hi pathake futne lge 🤣😭😭
HT
74
137
4.9K
78K
Siddhant
Siddhant@Siddhant_code·
@Uber_Support @Uber @UberIN_Support @Uber_India Booked a cab for the railway station added stop to drop my friend and the driver asked for extra 300 INR .. then when we refused he told us to get out of the cab literally on the road in 43 degrees
Siddhant tweet media
English
3
0
0
41
India Post
India Post@IndiaPostOffice·
@Siddhant_code Sorry for the inconvenience caused. The said article was delivered from NDC Noida.
English
1
0
0
25
India Post
India Post@IndiaPostOffice·
@Siddhant_code Sorry for inconvenience caused. We have forwarded your issue to our concerned Office and will get back to you with an update.
English
1
0
0
29
Siddhant
Siddhant@Siddhant_code·
@IndiaPostOffice response system is just so terrible after 5 clarification request where i mentioned the correct address ..they marked it delivered within <10 min of out for delivery msg ... now after 3 more complaints where i said it hasnt been delivered all they said was..
Siddhant tweet media
English
0
0
0
2