frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Discrete Mathematics Preriquisites for Data Structures?

3•shivajikobardan•2d ago
What chapters of keneth rosen's books are a must to learn Data Structures? I am planning to learn Discrete Mathematics step by step that's why.

Comments

dapperdrake•1d ago
If mathematical definitions, theorems and proofs help your way of thinking, then go for it.

Many good people don't even need math books to be really effective with data structures.

High-performance data structures are more about different Geometries (asymmetries in timings on hardware vs. access patterns -- tape vs. drum (bubble-sort, yay) vs. disk vs. flash; temporal locality, spatial locality, caching) rather than algebraic structures (symmetry properties of binary trees, bipartite graphs, groups, rings, fields, algebras, set algebras).

Some people interested in discrete mathematics and data structures go with Knuth: The Art of Computer Programming. Knuth mentioned the link between drum storage and bubble sort. Just a fun tidbit.

Stuff like permutations become interesting for statistics and NP-hard search problems.

P.S. What options do you have to clarify your question? How is learning discrete mathematics from Keneth Rosen's books linked to hard requirements for understanding data structures and at the same time learning discrete mathematics step by step? Which are you targeting, data structures or discrete mathematics?

Claude Code weekly rate limits

567•thebestmoshe•19h ago•646 comments

Ask HN: How will the OSA affect small Mastadon instances?

5•Digit-Al•50m ago•0 comments

Ask HN: Does Claude AI run locally?

2•kvthweatt•2h ago•1 comments

Ask HN: What are you working on? (July 2025)

251•david927•1d ago•814 comments

Have We Stopped Inventing Futures Worth Predicting?

4•squarekernels•5h ago•1 comments

How do I get a paid internship as a 16yo developer?

8•uint23•11h ago•18 comments

Drafting Software Recommendation

15•morpheos137•4d ago•16 comments

Warp.dev Terminal – Overpriced, Buggy, and AI-Sabotaged My Code

53•MistermanX•1d ago•37 comments

Ask HN: How many of you are working in tech without a STEM degree?

51•zebproj•6d ago•77 comments

My Theory: Advertising is a lot like capitalism itself

8•cm2012•18h ago•9 comments

Ask HN: Has your opinion on AI changed over the past year?

4•atleastoptimal•15h ago•11 comments

Ask HN: Is there any LLM provider that is GDPR compliant?

6•pera•15h ago•1 comments

Are we building AI coding assistants wrong?

2•anaempromptu•19h ago•3 comments

Ask HN: How do you handle audit logs in your systems?

16•efeoge•1d ago•8 comments

Ask HN: Have you ever waited for a project to be launched but it never did?

3•alganet•19h ago•3 comments

How to prioritize marketing when attribution is broken and AI is changing rules?

3•ivanmarketingua•1d ago•1 comments

Ask HN: What is Lex Fridman's association with MIT?

11•chirau•9h ago•7 comments

Ask HN: Do You Block DigitalOcean?

10•sugarpimpdorsey•1d ago•8 comments

Ask HN: Will I get left behind if I don't jump on AI train?

21•LLcolD•2d ago•32 comments

Ask HN: How do you build B2B software that pays living expenses?

10•architectofsw•1d ago•7 comments

Ask HN: Why do Cursor, Windsurf and Claude Code dominate the conversation?

28•bluelightning2k•1w ago•38 comments

Ask HN: What is so good about MCP servers?

43•metadat•4d ago•38 comments

FreeToolSuite – 200 growing collection of genuinely useful free online tools

25•mviradia•2d ago•4 comments

Ask HN: Are we pretending RAG is ready, when it's barely out of demo phase?

11•TXTOS•2d ago•10 comments

Ask HN: Discrete Mathematics Preriquisites for Data Structures?

3•shivajikobardan•2d ago•1 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

164•proberts•1w ago•266 comments

Ask HN: What's your uv exit strategy?

12•ctoth•1d ago•8 comments

Ask HN: Engineers deserve better recognition. Can a protocol change that?

7•mzk_pi•1d ago•16 comments

Ask HN: Why is virtualization still not solved?

16•prmph•3d ago•30 comments

Ask HN: Who is looking for a cofounder in London?

10•warthog•2d ago•4 comments