Find Jobs
Hire Freelancers

P-Multilist

$10-30 USD

Terminado
Publicado hace alrededor de 3 años

$10-30 USD

Pagado a la entrega
Design a program of multilist to host student-class data. The multilist contains up to 3000 classes and 10000 students. Each node in the multilist should store { student number, class number, grade} in the ranges of {1~10000, 1~3000, 0~100 } respectively. The first-row is a student list indexing student numbers. The first-column nodes is a class list indexing class numbers. Such nodes can be initiated after a student-class pair is input. Grade can be asked after the node is inserted, or remain as empty (until late input). Input data and insert nodes with searching function 1 Input from console by typing (student number, class number), e.g., (4, 130), which means student 4 takes course 130. the program will insert a node to the multilist and connect it horizontally and vertically in the order of class number and student number with the nodes already there by pointers. Print for output student list or class list as follows. 2. Print class lists for all non-empty classes, e.g., class 1: students 3, 4, 6, ....; class 34: students 5, 98, 123, ....; .................... 3 Print such student lists for all active students who take courses, e.g., student 1: classes 355, 389, 991; student 2: classes 5, 6, 98; student 89: classes 65, 456; ................... Hint: Although the multilist structure should host input of students (up to 10000) and classes up to 3000, the data node will not be created until a real input is given. No empty 2D array should be created in advance. That will save a lot of memory if only a few nodes, i.e., students and classes, are input eventually. To achieve these print functions, searching/finding nodes in current multilist is necessary in the program. Searching has two phases going through a student (or class) index list and then class (or student) list. respectively. If a node can not be found either in the index list or student-class pair list, insertion of a new node is needed. If at the very beginning, the student index node or class index node is not existing, you need to create such a node first accordingly. If a student-class pair has been created on one chain, it needs to be wired in the other chain in correct order as well. The index nodes here are the first row nodes for students, and first column nodes for classes. Use 0 for dummy fields in both class index nodes and student index nodes, rather than creating separate arrays or different data structure. This will keep your program the minimum. CODE should be submitted in a zipped file with a note describing running environment, language, and compiling instruction.
ID del proyecto: 29348656

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 3 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi there, I can solve this task within an hour. Feel free to inbox me any time so that we can discuss about it.
$30 USD en 1 día
4,9 (103 comentarios)
5,8
5,8
3 freelancers están ofertando un promedio de $37 USD por este trabajo
Avatar del usuario
Hello C/C++ Expert Checked your description and I am so interested in your project. You can see well experienced and skillful C and C++ programmer with +15 years of experience in software development. I ensure the best quality of your project and to keep your deadline. Please contact me kindly and let us discuss in more detail. ★★★★★★★★★★★★★★★★★★ Best regards!
$30 USD en 1 día
5,0 (32 comentarios)
4,8
4,8
Avatar del usuario
✨⭐⭐⭐ Dear Client ⭐⭐⭐ ✨ --------I hope you are safe away from COVID-19------ I'm willing to work for you . I have good knowledge of c programming and doing many projects which based on c programming with 5+ years experiences. In addtion, I am good at java, javafx programming. Espacially, I have almost perfect QT development knowledge and experience. I read job description and I can complete your project. Contact me for more information. Kindly ignore the bid price, as we need more detailed requirements. Stay fit and Stay Safe Thank you for your reading my letter. ✔Good luck✔
$50 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Indianapolis, United States
0,0
0
Forma de pago verificada
Miembro desde feb 21, 2021

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.