Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SDC Data Structures Assignment
#2
(02-01-2021, 09:06 AM)Turkish Wrote: Hoping someone here can help me out with this. I've sent questions into SDC a while ago, but so far no response.

In Part 2 of the assignment for this course where you're storing States and their respective Capitals, there's a section that reads "Now revise the code to store the pairs of each state and its capital in a Map using the HashMap function. Display the content of the Map, then use the TreeMap class to sort the map while using a binary search tree for storage."

First sentence is easy enough, but it's the second on that's throwing me and I'm just not clear on what is being asked and maybe I'm overthinking this. The way I'm reading it is it appears to be asking for the State/Capitals to be moved from a HashMap, sorted with TreeMap, but saved into a Binary Search Tree. I'm not sure how you'd leverage TreeMap without creating an instance of it and storing inside it, but I'm not clear if it's asking for the data to go  HashMap->BST or HashMap->TreeMap->BST. It's the 'sort' and 'storage' parts that are throwing me off.

I just want to confirm it's asking for moving the data into a HashMap, then stored into a TreeMap for sorting purposes, then into a Binary Search Tree for user search
Sorry, no help here.  You may have to just email and ask SDC.  I just wanted to let know people are reading your response.
Reply


Messages In This Thread
SDC Data Structures Assignment - by Turkish - 02-01-2021, 09:06 AM
RE: SDC Data Structures Assignment - by Dorothy44 - 02-01-2021, 04:56 PM
RE: SDC Data Structures Assignment - by tallpilot - 02-01-2021, 09:34 PM
RE: SDC Data Structures Assignment - by Turkish - 02-02-2021, 02:05 PM
RE: SDC Data Structures Assignment - by tallpilot - 02-03-2021, 01:23 PM
RE: SDC Data Structures Assignment - by LevelUP - 02-06-2021, 08:29 PM
RE: SDC Data Structures Assignment - by tallpilot - 02-07-2021, 01:23 PM
RE: SDC Data Structures Assignment - by Turkish - 02-08-2021, 09:42 AM
RE: SDC Data Structures Assignment - by doom - 02-08-2021, 11:01 AM
RE: SDC Data Structures Assignment - by LevelUP - 02-08-2021, 08:07 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
Question Speedrunning SDC Data Structures and Computer Architecture advice? Randyb100 15 1,758 04-09-2024, 06:36 PM
Last Post: bjcheung77
  Study.com accounting 303 assignment 2 Pats20 0 714 06-14-2023, 05:23 PM
Last Post: Pats20
  Data structures and algorithms Pats20 9 2,612 07-08-2022, 02:03 PM
Last Post: LevelUP
  DATA STRUCTURES & ALGORITHMS gams007 17 3,558 03-14-2022, 04:20 PM
Last Post: jsd
  Udacity: Data Analyst NanoDegree review/material Seraphgrim 8 3,047 02-24-2022, 11:31 PM
Last Post: Seraphgrim
  SDC final exam and assignment Kab 1 897 02-01-2022, 01:48 PM
Last Post: rachel83az
  Question about COS 306 Computer Architecture Study.com Final assignment exxxius 17 4,385 12-19-2021, 01:23 PM
Last Post: AllThose299s
  study.com computer architecture assignment help maxxor6868 9 3,592 10-25-2021, 10:17 AM
Last Post: LevelUP
  Help on COS 306 Computer Architecture Study.com Final assignment StudentOLife 7 2,629 09-05-2021, 07:40 PM
Last Post: jsarles
  Computer Science 201 | Data Structures & Algorithms akr680 2 2,095 08-31-2021, 10:50 AM
Last Post: Pats20

Forum Jump:


Users browsing this thread: 1 Guest(s)