Recent Posts
#HAPPONING
It doesn't make sense
Monogamy is unmanly
this is precisely why bharatchan is bad
It doesn't make sense
Will have a drink in Indralok
you dont know him, the movie will hit 1000cr
smashkarts
Only for gorimem
gand fatt gyi yaaro
Abdul Qadeer Khan
BGTOW
LEbmeJ
No.498001
>mfw just implemented merge sort in pure C just by reading CLRS reference without any third party help
my whole class shat themselves when it was taught btw
rV1Hfy
No.498017
good. shows how your understanding of recursion is solid. try implementing all the graph algorithms by yourself when the time comes. DFS, BFS, topo sorts, dijkstra, FW, BF and then finally disjoint sets and MST prim's stuff.
this would test your overall implementation skills.
V2/DOv
No.498023
>>498001(OP)
i was trying to implement linked lists in C, but i gave up halfway.
LEbmeJ
No.498024
iKBzgA
No.498032
>>498024
how did you create that project structure sirs?
iKBzgA
No.498034
>>498023
kabhi rust me try kar rope karlega
LEbmeJ
No.498051
>>498017
stilly stoodying all that stuff yaar
V2/DOv
No.498053
>>498051
what tier kalej and sem are you in ? can you give me some tips to get better at implementing this shit ? i start out decent, but i get lost in the middle trying to connect pointers, and i eventually give up.
LEbmeJ
No.498225
>>498053
your main problem is pointers sirs, i suggest reading C programming language book chapter pointers and arrays.
also check out intro to C streams from casey muratori's handmade hero series
!PQjJ0TDNsAFb+B8
ZBARQo
No.498230
>>498001(OP)
>still studying from clrs
>using c
Ngmi,its just used for getting u handy with concept
Just use sort function and custom comparators
And im not trying to downplay but telling you how things work if u wanna try cp
I remember in cp we had that cpp library for graphs where you had all djkstra,bf,kosaraju all in one but question were so fucking hard u cant do shit even with them
!PQjJ0TDNsAFb+B8
ZBARQo
No.498231
LEbmeJ
No.498232
LEbmeJ
No.498233
>>498230
I know yaar, CP is more about math than programming.
!PQjJ0TDNsAFb+B8
ZBARQo
No.498237
>>498232
Mere bhai passing by pointer is passing by refernce in c(kam same hi hota hai )
Pehle as a pointer pass krde in fucntion fir uspe operation krle
LEbmeJ
No.498241
>>498237
C me reference hota hi nahi hai yaar, references and pointers are distinct things.
!PQjJ0TDNsAFb+B8
ZBARQo
No.498256
>>498241
Ok bhai kuch naya seekh liya mujhe lgta tha wo swap ke code mein jo *mark krke krte the fir & use krte the wo hoga
rV1Hfy
No.498257
>>498230
not everything is about getting a job. i wont deny it is a big aspect of it but a minority is actually interested in doing stuff for fun. in my college, the ones that were placed the best were those who partook interest in the subjects. solving questions, grinding them over and over again will make the whole activity sovlless.
























































