Find Jobs
Hire Freelancers

A custom method Binary Tree Class

$30-250 USD

Cancelado
Publicado hace más de 14 años

$30-250 USD

Pagado a la entrega
the problem is I am stuck with displaying the data in a table. In the file attached you can see what I am trying to achieve... I would like to display the binary tree in a table. After lot of pain I managed to figure out how to deal with colspans.. but I don't know how to populate it correctly...The problem is with empty peers... I would like to have a node's method: $tree->nodes[2]->to_table_array(4); Where the parameter is $depth -> how deep it should go So I should get something like: $arr = array( ---[0]=>array(1), ---[1]=>array(2,3), ---[2]=>array(4,null, null, 5), ---[3]=>array(6, null, null, null, null, null, 7, 8) ); The key of the array is the table row or depth of the tree... each then, has an array of ids or null if there is no child there I can set a desired depth (up to 10) and the array must populate for each "layer"/"row" even if it has only nulls! I will nee also test case (with a table like in the attached file) and instead of icons there should be node ids or   for empty cell
ID del proyecto: 588445

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 14 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
7 freelancers están ofertando un promedio de $86 USD por este trabajo
Avatar del usuario
I can do it perfectly and provide you technical documentation as well as full programming guide line ....
$240 USD en 7 días
4,9 (77 comentarios)
7,6
7,6
Avatar del usuario
You have PM
$60 USD en 0 día
5,0 (10 comentarios)
5,5
5,5
Avatar del usuario
i have a cool working demo for you. Please check PMB for the demo url.
$80 USD en 1 día
4,9 (31 comentarios)
5,4
5,4
Avatar del usuario
Hi, please check PMB
$60 USD en 1 día
5,0 (15 comentarios)
5,3
5,3
Avatar del usuario
Hello sir, Your requirment: input a array of that type, and display a html table somelike the image? If right, please let us start. Regards, Aking
$50 USD en 1 día
5,0 (2 comentarios)
4,1
4,1
Avatar del usuario
i can do it!
$50 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Its a very simple project to me
$60 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de SLOVENIA
London, Slovenia
4,8
10
Forma de pago verificada
Miembro desde oct 20, 2009

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.