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.


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

Results 1 to 2 of 2

Thread: Data Structures homework help

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Thanked 0 Times in 0 Posts

    Default Data Structures homework help

    Write an algorithm that returns the index of the last occurrence of the value key in a sequence s1, ,sn. If key is not in the sequence, the algorithm returns 0.

  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    My Mood
    Thanked 263 Times in 232 Posts

    Default Re: Data Structures homework help

    Thread locked as a homework dump.
    Read this post on getting help.
    If you have a question, start a new thread and ask it.

Similar Threads

  1. Best way to teach myself Data structures?
    By EatSleepProgram in forum Java Theory & Questions
    Replies: 2
    Last Post: August 12th, 2013, 05:47 AM
  2. Can I get help with a few Data Structures questions?
    By cbplayer in forum Java Theory & Questions
    Replies: 2
    Last Post: August 3rd, 2013, 01:05 AM
  3. Help: Data Structures and Data Types
    By TheLawG14 in forum Java Code Snippets and Tutorials
    Replies: 2
    Last Post: July 19th, 2013, 09:55 AM
  4. data structures question
    By hwoarang69 in forum Algorithms & Recursion
    Replies: 2
    Last Post: November 4th, 2012, 03:07 PM
  5. Please help about data structures.
    By bruce88 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: September 16th, 2012, 04:11 PM