Find Jobs
Hire Freelancers

Write some Software small

$30-250 CAD

Awarded
Posted almost 8 years ago

$30-250 CAD

Paid on delivery
Binary Search Algorithm Int search(int array[ ], int target) { Int start = 0; Int end = (sizeof(array)/sizeof(int) – 1; Int position = -1; While(start < end && position == -1 ) { Int middle = (start + end) / 2; If (target < array(middle)){ End = middle – 1; } Else if (target > array(middle)){ Start = middle + 1; } Else{ Position = middle; } } Return position; } Sequential Search algorithm Int search(int array[ ], int target) { Int position = -1; Int I; Int k = sizeof(array)/sizeof(int); For (I = 0; I < k && position == -1; i++) { If(array[i] == target) { Position = I; } Return position; } Working on bottom part
Project ID: 11058498

About the project

4 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $111 CAD for this job
User Avatar
A proposal has not yet been provided
$122 CAD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Canada
2.2
4
Member since Jun 26, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.