Find Jobs
Hire Freelancers

Write delete() method and test for a custom Binary Search Tree

$30-250 USD

Cerrado
Publicado hace alrededor de 8 años

$30-250 USD

Pagado a la entrega
I have a hybrid of a binary search tree that was written specifically for domain names and related data. There are already insert, find, and compare methods, but I now have a need of delete functionality. I would like a delete method as well as a test fixture (nothing fancy, a simple main() will suffice) to demonstrate the functionality. This will be used in a large scale system Using another library (STL, boost) to implement the data structure is not an option. Rough idea for test fixture pseudocode: read in file of domain names (could be [login to view URL] as well as [login to view URL], one per line) for (i = 0; i < cmdline_arg_inserts; i++){ pop domain_name from the list; create entry object based on domain_name; [login to view URL](domain_name, entry, Parse_order++); } for (i = 0; i < cmdline_arg_deletes; i++){ [login to view URL](domain_name); } if (cmdline_arg_inserts > cmdline_arg_deletes){ cout remaining entries If you have a different idea for a test fixture, I am open to new ideas there. The functionality of the delete() method is what is more important.
ID del proyecto: 9894289

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 8 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

Sobre este cliente

Bandera de UNITED STATES
Christiansted, United States
0,0
0
Forma de pago verificada
Miembro desde mar 8, 2016

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.