India’s Best Job Seekers and Training Platform Forums Java Problems set You are given two objects, Student and…

  • You are given two objects, Student and…

     siva updated 4 months, 4 weeks ago 2 Members · 2 Posts
  • Akash 

    Administrator
    at

    You are given two objects, Student and Course, and there exist a many to many relation between them. One student can be enrolled for more than one course and there can be many students enrolled for a single course. Design an effective data structure to store such data keeping in mind that the time complexity for search should be optimum. A search can be for the list of students enrolled for a single course, or for the list of courses a single student is enrolled.

  • siva

    Member
    at

    hi i was looking for this code??

    can you please help me to sort this out

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 02nd November 2020. Attend one week free demo classes.Register Now

New Report

Close