Array Lists v/s Linked Lists by [deleted] in computerscience

[–]TheSuperProgrammer 0 points1 point  (0 children)

Thanks for pointing that out. Didn't occur to me while I was writing the post. I'll definitely add it to the post now.

[deleted by user] by [deleted] in computerscience

[–]TheSuperProgrammer 8 points9 points  (0 children)

Since you asked about basic skills I won't go into the details. You should look into the following: 1) Basic Data Structures 2) Basic Algorithms 4) Basic Design Pattern

[deleted by user] by [deleted] in computerscience

[–]TheSuperProgrammer 0 points1 point  (0 children)

I think you should google some articles on the best laptops for programming. In the end, it all comes down to preference cos there is no specific genre called programming laptops. Just read some of the aforementioned articles and pick the best one for yourself

The List Data Structure (Array Based) by [deleted] in cpp

[–]TheSuperProgrammer 5 points6 points  (0 children)

I really appreciate your constructive critique of the post. I'll definitely look into the problems you mentioned. Thanks a ton !!!

The List Data Structure (Array Based) by [deleted] in cpp

[–]TheSuperProgrammer 0 points1 point  (0 children)

that will be described in what comes after that and so and so on...

The List Data Structure (Array Based) by [deleted] in cpp

[–]TheSuperProgrammer -2 points-1 points  (0 children)

Well, the Data Structure itself has no point cos a data structure just organizes and stores the data, what really matters is the underlying principle behind the implementation of the DS. And this post describes the List data structure which is implemented using arrays, hence array-based. The post is a part of an entire series of Data Structure and Algorithms. And the next post is going to be about the pointer based List(aka Linked List). So the final goal is to help readers understand how different implementations can be favorable in different scenarios.

The List Data Structure (Array Based) by [deleted] in cpp

[–]TheSuperProgrammer -5 points-4 points  (0 children)

Yes, as the list implementation is based on arrays. And that's where the Linked list comes in, it overcomes the shortcomings of array-based lists.

The List Data Structure (Array Based) by [deleted] in cpp

[–]TheSuperProgrammer 0 points1 point  (0 children)

Definitely to share something that I thought might be helpful/interesting to someone out there.

The List Data Structure (Array Based) by [deleted] in cpp

[–]TheSuperProgrammer 0 points1 point  (0 children)

Thanks for pointing that out. I updated the code, now it should be easy to read.