/b/ - Random

A place for random musings and discussions.

Going back to BasicsAs we discussed and shared earlier, I am going bac...
Social Media Crossposts Policy and Threads on /b/ Since anons bring up this issue repeatedly, let's ...
Update on Threads which were deleted between 12 DeAs you guys know that certain threads were randoml...
[View Noticeboard]
0/4000

[All][RED]
BharatChan Disclaimer

Notice

Before proceeding, please read and understand the following:

1. BharatChan is a user-generated content platform. The site owners do not claim responsibility for posts made by users.

2. By accessing this website, you acknowledge that content may not be suitable for all audiences.

3. You must follow BharatChan’s community guidelines and rules. Failure to do so may result in a ban.

4. By using BharatChan users agree to the use of cookies, mostly for session related to user.

A poster on BharatChan must abide by the following rules:

Sitewide Rules
You must be 18 or older to post.
Sharing personal details or engaging in doxing is strictly prohibited.
Political discussions should be confined to /pol/.
Off-topic discussions, thread derailment, or spam may result in a ban and IP blacklist.
Pornographic content is strictly prohibited.
Any activity violating local laws is not allowed.
If you are not an Indian, you can only post in /int/. Or create and account and ask for approval to post in other boards.
Acknowledge

Recent Posts

View

View

View

#HAPPONING

View

View

View

View

View

View

View

View

View

View

View

View

View

View

View

View

It doesn't make sense

View

View

View

View

Monogamy is unmanly

View

this is precisely why bharatchan is bad

View

It doesn't make sense

View

Will have a drink in Indralok

View

you dont know him, the movie will hit 1000cr

View

View

View

View

View

View

View

View

View

View

View

smashkarts

View

View

View

View

Only for gorimem

View

gand fatt gyi yaaro

View

View

View

View

View

Abdul Qadeer Khan

View

BGTOW

View

Anonymous

IN

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

Anonymous

IN

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.

log(DSA)

IN

V2/DOv

No.498023

>>498001(OP)

i was trying to implement linked lists in C, but i gave up halfway.

Anonymous

IN

LEbmeJ

No.498024

Anonymous

IN

iKBzgA

No.498032

>>498024

how did you create that project structure sirs?

Anonymous

IN

iKBzgA

No.498034

>>498023

kabhi rust me try kar rope karlega

Anonymous

IN

LEbmeJ

No.498051

>>498017

stilly stoodying all that stuff yaar

log(DSA)

IN

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.

Anonymous

IN

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

Pajaat saab

!PQjJ0TDNsAFb+B8

IN

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

Pajaat saab

!PQjJ0TDNsAFb+B8

IN

ZBARQo

No.498231

>>498053

>>498053

Pointers mein kya dikkat aa gyi bhai

Real talk is unki kabhi itni zaroorat mahi padhegi, just know what it does and humesha pass by refernce krna instead of global variables thats it

Jis datastructure ki value change hogi use & lgake dalde bas function mejn

Anonymous

IN

LEbmeJ

No.498232

>>498231

>pass by reference

bhai vo C++ and Rust me hota hai

Anonymous

IN

LEbmeJ

No.498233

>>498230

I know yaar, CP is more about math than programming.

Pajaat saab

!PQjJ0TDNsAFb+B8

IN

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

Anonymous

IN

LEbmeJ

No.498241

>>498237

C me reference hota hi nahi hai yaar, references and pointers are distinct things.

Pajaat saab

!PQjJ0TDNsAFb+B8

IN

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

Anonymous

IN

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.

Active Users in /b/: N/A