Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8081117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:37:47+00:00 2026-06-05T16:37:47+00:00

So for the summer I decided that I may as well start learning algorithms

  • 0

So for the summer I decided that I may as well start learning algorithms before school starts. I’ve been told that the class is fairly fast paced, and that algorithms isn’t something you should take lightly (I have a tendency to do this with all the course work during the semester lol).

The book we’re going to use is this Algorithms (4th Edition).
Anyway, this is my problem.

I’m almost third way through the book, but I just realized what I was doing. For example, I would read and re-read the sections I don’t quite understand. Then if I feel confident enough, I would try to reproduce the same algorithm in java from my head. But by doing this, my code looks almost exactly like the ones in the book..in java.

I can’t say I’m just memorizing code after code–I do understand the concepts and they help me code these algorithms–but I feel like I’ll only be able to implement these algorithms in java. I should note that I only know java at the moment.

tldr: I’m learning algorithms as if I’m learning to play the guitar–repetition after repetition. But by doing so I feel like I’m being more fixated that I’ll only able to implement these in java. How exactly would you learn algorithms if the book you’re using is language-specific?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:37:51+00:00Added an answer on June 5, 2026 at 4:37 pm

    Don’t Confuse Yourself

    You’re studying Java, so write them in Java. Especially if Java is your first language. Don’t confuse yourself for now, as you are trying to learn 2 things at once: how to progam in Java, and how to progam. You’re learning both a new language and a way of thinking. Don’t do too much but adding another language to the sauce for now.

    Diversify

    Later on, or if you feel confident enough that you can take on another language simultaneously, then it would obviously be beneficial to learn another one and try to replicate the algorithms without looking at the book.

    Reproduce and Extend

    What we could recommend you is to look for derivates of the algorithms. Known variants, that have been documented, and where you could just read the description of the variant so you can try to implement it from the “base” version, without needing to read the book.

    For instance, if your book introduced you to a linked list, you should be able to come up with the algorithm for a doubly-linked list or a circular linked list without reading more than a description of the desired outcome. Or there’s something about the original concepts that you clearly misunderstood.

    Try First, Read-On Later

    I’d recommend you actually even try to implement the algorithms described in your book before they show them to you. The point of seeing Sedgewick’s algorithm is to see a canonical implementation, which is considered a standard blueprint. If you just read the section leading up to the implementation (which hopefully is displayed first), then just sit down with the book, and try to figure out how you could do that. If you can’t do that at all, then you’re too far ahead in your book and should backtrack and start again from scratch.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been learning C# over the summer and now feel like making a small
Over the summer, I've been reading a lot about design. Two notable pieces that
I had been learning ERP applications this summer during internship. As I am a
I created a Summer project for myself and decided that I wanted to write
upcoming summer i will hopefully start writing my masters thesis and i have been
I am doing a homework assignment for my summer OO class and we need
I am doing a homework assignment for my summer OO class and we need
I'm going to be starting a fairly large PHP application this summer, on which
I decided it would be fun to learn x86 assembly during the summer break.
As a summer learning experiment, I'm thinking of coding up a web front end

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.