Coding General Discussion (1 Viewer)

any recommendations on how to start coding and dsa, right now in my first year holidays
Try writing a very basic Raycasting engine. It will help you understand the fundamentals of arrays, especially 2D arrays. It will also make you familiar with the usage of all primitive data types as well how to use them to implement actual mathematical solutions in code.

There are plenty of implementations available online with detailed explanation. Go through them, understand the solution and then implement the engine using your own code. Should be doable in 1-2 weeks even if you go at a gradual pace.

Raycasting
 
any recommendations on how to start coding and dsa, right now in my first year holidays
Many good books exist.
DSA book by Cormen and Rivest.
Keep in mind, DSA is theory, so this book has no code (when I read it) but has pseudo code.

As for language of choice, choose python if you are new to this world.
It is now what Java used to be in our times.
 
Try writing a very basic Raycasting engine. It will help you understand the fundamentals of arrays, especially 2D arrays. It will also make you familiar with the usage of all primitive data types as well how to use them to implement actual mathematical solutions in code.

There are plenty of implementations available online with detailed explanation. Go through them, understand the solution and then implement the engine using your own code. Should be doable in 1-2 weeks even if you go at a gradual pace.

Raycasting
I think the better step at this point in time for him is to actually learn all generic things about computer programming, like:
- flow control(if/else/elif etc)
- functions/routines
- variables

once @liberalredditor can get this down he can start making projects of his interest(maybe something like a program that auto pulls any updates to the AMCA thread in DFI for example :p)

I would recommend starting out in C. C works at the lower levels of the computer; which mean that you can learn to program and understand what is really going on when your code runs - things which a lot of languages abstract away.
 
I know all the basics of coding, college taught and i too had learnt python in school days
But now i want to move forward with cp and all and dsa too

Thank you all for your help 🙏
 
I think the better step at this point in time for him is to actually learn all generic things about computer programming, like:
- flow control(if/else/elif etc)
- functions/routines
- variables

once @liberalredditor can get this down he can start making projects of his interest(maybe something like a program that auto pulls any updates to the AMCA thread in DFI for example :p)
I'm trying to build a minpc homelab. I can try to host the data of old DFI on that server. Once done, We could paste it's link here at top.
 
Try writing a very basic Raycasting engine. It will help you understand the fundamentals of arrays, especially 2D arrays. It will also make you familiar with the usage of all primitive data types as well how to use them to implement actual mathematical solutions in code.

There are plenty of implementations available online with detailed explanation. Go through them, understand the solution and then implement the engine using your own code. Should be doable in 1-2 weeks even if you go at a gradual pace.

Raycasting

Both of these are excellent resources.

But I would like to point out that the one DumbPilot posted will get your through interview selection process but the first one is more practical application based. The first one will broaden your understanding of this concept.

Alas the first one isn't appreciated here in India.
 
any recommendations on how to start coding and dsa, right now in my first year holidays
don't blindly follow hardcore "textbooks" when it comes to DSA, or hard computer science stuff, simply because
> let's say you picked up "SICP" or that giant 🫏 Algorithm book, first one is in LISP language, other i don't remember but definitely wasn't into entry level programming languages like Java or Python, - although i acknowledge that "THE algorithm" book has best explanation of "O" notation things in first of some chapters, but for practical implementation and all it's so high iq or mostly redundant for beginners

The "SICP" one newer edition is in Javascript if you wish to grind that hard...

rest, beginners should pick up any DS Algo book available in his preferred programming language, here python let's sayNarasimha Karumanchi one, a concise 450-500 some pages book there,
then start practicing and implementing it in your codes and you'll eventually get some grip
 
Both of these are excellent resources.

But I would like to point out that the one DumbPilot posted will get your through interview selection process but the first one is more practical application based. The first one will broaden your understanding of this concept.

Alas the first one isn't appreciated here in India.

Well, if you want we can discuss how to build an OS together :p (I'm building one):

https://github.com/Serpent03/Grubless

But I agree with your statement. Great projects are really undervalued. Maybe one day..
 
any recommendations on how to start coding and dsa, right now in my first year holidays
What's your preferred language ? If it is C then I can suggest a yt channel.

Nevertheless "Crafting interpreters" by Robert is great practical level book. It not only teaches you practical usage and implementation of various dsa but also delves into compiler and automata theory. You can keep it as a companion for your whole B.Tech course, if you are studying in India, as various topics given in book are actual implementation of various subjects you are going to learn throughout your degree completion.

P.S: But be warned its not beginners level book.
 

Users who are viewing this thread

Latest Replies

India's Best Clothing store

Featured Content

Trending Threads

Back
Top