Find Jobs
Hire Freelancers

Solve Logic Problems : Pilot project

$20-30 SGD / hour

Cerrado
Publicado hace alrededor de 9 años

$20-30 SGD / hour

Solve the below logic problem in any of the programming languages C#, Javascript, .NET, Python or Pseudocode (it's a pilot test project and bigger project will be awarded based on quality of code and correctness of answer): 1. How do you want to get the result of multiplication by 15 without using * (multiply operation) and + (plus operations). 2. Suppose server S want to download real time video from one of existing media servers A, B, C, D. However the server S still doesn't know which media server is available and can provide the highest speed transfer. Please write a simple code to make the server S chooses the fastest server using below function: a. int get_speed(ServerID); This function is used to get the transfer speed from Server[ServerID] to server S on HTTP protocol. The return value of this function is integer value. For example: get_speed(A) return 15, it means the transfer speed is 15 Kbps. b. bool connect(server); This function is to check the availability of the media server using RMTP (Real Time Message Protocol). This function will return true if the media server have the video source that can be streamed by server S. For example: connect(A) return true, it means server S can stream video from server A. Hint: get_speed(serverID) function only check the transfer speed of the media server using normal HTTP. It doesn't guarantee the media server is available. Example: Media Server A may provide the highest transfer speed, however there is no video source available in media server A. So in this case, server B may connect to other server.
ID del proyecto: 7191059

Información sobre el proyecto

14 propuestas
Proyecto remoto
Activo hace 9 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
14 freelancers están ofertando un promedio de $23 SGD /hora por este trabajo
Avatar del usuario
Hi Sir/Madam. I'm expert in Python programming and I can help You with those 2 problems. One question for problem 1, forbiden is only using operators * and + (sum and multiply as functions also)? Best regards, Fejs.
$20 SGD en 1 día
4,9 (32 comentarios)
4,7
4,7
Avatar del usuario
Hello, i am a web designer and developer (asp.net) from india and also new on freelancer and i want to work on a large scale as well working with you so give me a chance to prove myself and my work i assure that you will not be disappoint.
$23 SGD en 6 días
5,0 (1 comentario)
1,4
1,4
Avatar del usuario
def mul_15(n): return n / (1 / 15) def pick_best_server(server_list): return next(filter(connect, sorted(server_list,key=get_speed, reverse=True)))
$27 SGD en 3 días
4,2 (1 comentario)
0,5
0,5
Avatar del usuario
I suppose your project needs more of an analytical thinker than an expert coder. I am an engineering student and I always bump into logical problems that needs to be solved in a quick and efficient way. Writing algorithms for such tasks is my major plus; other than that I can provide all the needs of the project in JavaScript and I am also good with C#. I am not comfortable with Ruby yet, but I am working on it. I don't know whether I should put the code for the little puzzles you gave here or not; so I'm leaving the first answer: X/(1/Y) gives X*Y; put 15 instead of X or Y, your choice. Looking forward to work with you and please feel free to contact me whenever it is needed.
$20 SGD en 10 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
i am a passionate developer, hope you may know that passionate people work with great interest, with great interest comes best output so i think i am the best for you to choose.
$22 SGD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
La propuesta todavía no ha sido proveída
$20 SGD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, I am new to the freelancing market but have more then 10 years of Python experience under various commercial and academic projects. I will be a bit lazy answering your questions in Python: 1. def times_fifteen(input): return float(input)/(1./15.) (I do realize this is not an exact solution if you are looking for numerical precision, that can be achieved by direct binary manipulation) 2. fastest = max([ get_speed(ServerID)*connect(ServerID) for ServerID in [A, B, C, D]]) Best Regards, Iliya Iliev
$20 SGD en 40 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de INDIA
India
0,0
0
Miembro desde feb 23, 2015

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.