Question: Data Structure Purpose: The purpose of this assignment is to help you: Become familiar with classic linear data structures Have solid understanding of generic collection

Data Structure Purpose:

The purpose of this assignment is to help you:

Become familiar with classic linear data structures

Have solid understanding of generic collection

Become familiar with C#

Question:

Implement a C# application to load the data from Medals.csv, choose appropriate data structure to organize the data. After the data has been loaded, your app should be able to

1. Add new medalist information to the data structure

2. Delete a specific data from the data structure

3. Implement a generic Search method that implements the linear-search algorithm. Search method should compare the search key with each element in the data source until all elements has been processed. The output of this method can be IEnumerable Then use the medalist to test your Search method.

(Please provide C# code)

Here is Medals.csv data

Athlete

Year

Gold Medals

Silver Medals

Bronze Medals

Michael Phelps

2008

8

0

0

Michael Phelps

2004

6

0

2

Michael Phelps

2012

4

2

0

Yun Mi-Jin

2000

2

0

0

Aleksey Nemov

2000

2

1

3

Park Seong-Hyeon

2004

2

0

0

Missy Franklin

2012

4

0

1

Ryan Lochte

2012

2

2

1

Allison Schmitt

2012

3

1

1

Natalie Coughlin

2004

2

2

1

Ian Thorpe

2000

3

2

0

Dara Torres

2000

2

0

3

Ki Bo-Bae

2012

2

0

0

Kjetil Andr Aamodt

2002

2

0

0

Marit Bjrgen

2010

3

1

1

Sun Yang

2012

2

1

1

Benjamin Raich

2006

2

0

0

Libby Lenton-Trickett

2008

2

1

1

Ryan Lochte

2008

2

0

2

Michaela Dorfmeister

2006

2

0

0

Petria Thomas

2004

3

1

0

Ian Thorpe

2004

2

1

1

Inge de Bruijn

2000

3

1

0

Gary Hall Jr.

2000

2

1

1

Michael Klim

2000

2

2

0

Maria Riesch

2010

2

0

0

Jenny Thompson

2000

3

0

1

Pieter van den Hoogenband

2000

2

0

2

An Hyeon-Su

2006

3

0

1

Robert Korzeniowski

2000

2

0

0

Maurice Greene

2000

2

0

0

Pauline Davis-Thompson

2000

2

0

0

Leontien Zijlaard-van Moorsel

2000

3

1

0

Petter Northug Jr.

2010

2

1

1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!