Data structure, implementation of city linked list

CSDN Q & A 2022-01-15 02:36:40 阅读数:513

data structure implementation city linked

One 、 City linked list problem 【 Problem description 】
Use the map of China to get 15 More than city information , Include : City name 、 coordinates . The relevant information of these cities is stored in a single linked list with head nodes .【 The basic requirements 】
egtha (1) Build a city linked list ;
(2) Given a city name , Return its location information ;
(3) according to (2) City location information queried in , Centered on it , The generation radius is R
The buffer , Returns the names of other cities in the buffer .
【 Test data 】
It is determined by students according to the testing technology of software engineering . Note the test boundary data .

版权声明:本文为[CSDN Q & A]所创,转载请带上原文链接,感谢。