Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: What's a good resource to practice Algorithms?

  1. #1
    Junior Member
    Join Date
    Jan 2021
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What's a good resource to practice Algorithms?

    Hello -

    I'm a beginner learning core JAVA. I'm looking for a resource for BEGINNERS (website, book, video, etc) to help me practice writing algorithms in plain English for a particular problem statement, in which I would later convert into JAVA syntax? I can't find seem to find any good resources on the web to practice writing algorithms for problem statements to test/improve my logical skills.

    Can anyone share any resources that have problems statements w/ solutions? This way I could compare the algorithm I come up with against the solution and get better at writing algorithms.

    Thanks in advance!

  2. #2
    Member Helium c2's Avatar
    Join Date
    Nov 2023
    Location
    Kekaha, Kaua'i
    Posts
    117
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Default Re: What's a good resource to practice Algorithms?

    You can use algorithms from a pc and if you're on a forum or blog. Such functions can include upload, download, save files on and from your pc and from their blog. The algorithm is a set of instructions given to a computer to complete a task. For example if the blog has no available methods, like buttons to add a picture, but it does give text respond user inputs area, then you would use Algorithms to put pictures on, save files, or upload files from your pc. This algorithms guarantees a task will be completed. You must make up your algorithm to best describe your task you want to complete. Since this is a chrome I'm on, I'll use html to get the algorithms going and knowledge of Java or C++ will do. The algorithm guarantees that a task is performed. Like file upLoad.

    Define your task first to complete. Then make an algorithm to complete the task.
    Last edited by Helium c2; December 31st, 2023 at 04:34 AM. Reason: spelling

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: What's a good resource to practice Algorithms?

    This thread was started several years ago. The OP will probably not see any responses.

    Definition from google:
    An algorithm is a procedure used for solving a problem or performing a computation. Algorithms act as an exact list of instructions that conduct specified actions step by step in either hardware- or software-based routines. Algorithms are widely used throughout all areas of IT.
    If you don't understand my answer, don't ignore it, ask a question.

  4. #4
    Junior Member
    Join Date
    Aug 2024
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: What's a good resource to practice Algorithms?

    It's great that you're focusing on practicing algorithms to build your logical skills in Java! Here are some resources that can help you practice writing algorithms and compare your solutions with provided ones:

    1. Books:
    "Grokking Algorithms" by Aditya Bhargava:
    This book is an excellent resource for beginners. It explains algorithms in a very visual and easy-to-understand way. The book also includes exercises that you can try out, with solutions provided.
    "Cracking the Coding Interview" by Gayle Laakmann McDowell:
    While primarily focused on interview preparation, this book provides a lot of problem statements and step-by-step solutions, which can help you practice algorithm writing.
    2. Websites:
    LeetCode (Easy Section):
    LeetCode offers a wide range of algorithm problems, and you can start with the "Easy" section. Each problem has a discussion area where you can see various solutions and compare them with your own.
    HackerRank (Algorithms Section):
    HackerRank provides algorithm challenges with problem statements and test cases. You can write your own algorithms and compare them with the provided solutions.
    GeeksforGeeks:
    GeeksforGeeks has a section dedicated to algorithms and data structures. It provides problem statements along with detailed explanations and solutions.
    Codeforces (Beginner Level Problems):
    Codeforces offers competitive programming problems with a range of difficulties. Beginner-level problems can help you practice algorithmic thinking.
    3. YouTube Channels:
    "The Coding Train":
    A beginner-friendly channel that explains algorithms and coding concepts in a fun and visual way.
    "freeCodeCamp.org":
    Their Java tutorial series includes problem-solving and algorithm explanations which can be very useful for beginners.
    4. Interactive Learning Platforms:
    Codecademy (Java Track):
    Codecademy offers a Java course with algorithmic challenges embedded in the lessons, providing immediate feedback and comparison with solutions.
    Khan Academy (Algorithms Section):
    Khan Academy’s algorithms course offers interactive explanations and exercises, making it easier to grasp the concepts.
    5. Practice Problems with Solutions:
    "Introduction to Algorithms" (Cormen et al.):
    Although it's a more advanced book, it contains a lot of algorithm problems with detailed solutions, which can be a great resource once you're more comfortable with the basics.
    These resources should help you practice writing algorithms and improve your problem-solving skills in Java. Start with the basics and gradually move on to more complex problems as you gain confidence.

    To know more about the algorithms full stack development course in kolkata

Similar Threads

  1. Good practice to detect lapsed observers
    By Cornix in forum Java Theory & Questions
    Replies: 6
    Last Post: September 2nd, 2014, 02:50 PM
  2. Question about good coding practice
    By Cornix in forum Java Theory & Questions
    Replies: 7
    Last Post: August 29th, 2014, 08:32 AM
  3. Any good websites to practice programming?
    By SauronWatchesYou in forum The Cafe
    Replies: 1
    Last Post: April 17th, 2014, 08:06 AM
  4. Today is a very good day and I'm in a good mood
    By AHefphern in forum The Cafe
    Replies: 0
    Last Post: May 15th, 2013, 03:10 AM
  5. Good examples for exam practice?
    By Twoacross in forum Java Theory & Questions
    Replies: 2
    Last Post: December 28th, 2011, 01:48 AM