Find Jobs
Hire Freelancers

Need help for wrinting Algorithms/ Pseudocode

$10-30 CAD

Fullført
Lagt ut over 3 år siden

$10-30 CAD

Betalt ved levering
1. The binary method of exponentiation computes a^n for any positive integer n using the fact that a^n =(a^(n/2))^2 if n is even,and a^n =a·a^n−1 If n is odd. Please see the picture attached for this question. (a) Give the pseudocode for a recursive algorithm computing a^n where n is a positive integer, using the above idea. Do NOT use memoization. In your solution, when n is even, there should be only one (explicit) recursive call among your pseudocode for this case. (b)Find out the exact total number of multiplications performed when using your algorithm to compute a^n for any positive integer n. Use the substitution method, i.e., make a guess and then prove its correctness by induction. Hint: It may be helpful to consider the number of 1-digits in the base-2 expression of n. Let s2(n) be this value. You can use s2(n) as one of the additive terms in your solution. [login to view URL] the following problem in computational geometry: Input: an array Q[1..n] of pairs of integers (x, y) representing the x- and y-coordinates of the vertices of a convex polygon P in the plane, given in an arbitrary order. Output: an array C[1..n] of pairs of integers such that C[1], C[2], . . . , C[n] gives the consecutive vertices of P in clockwise order, starting from some initial vertex. Give an algorithm that uses O(nlgn) time. In your algorithm, you are not allowed to call Graham’s scan directly as a subroutine. Instead, borrow ideas from Graham’s scan and write an algorithm that is simpler than it. Include sufficient details in your pseudocode, such as the computational steps that locate the first point in C.
Prosjekt-ID: 27612457

Om prosjektet

7 forslag
Eksternt prosjekt
Aktiv 4 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
Hi, I love algorithms! I can write pseudocode you want for both parts. I have M.s in Computer Science in the sub field of Artificial Systems.
$15 CAD om 7 dager
0,0 (0 omtaler)
0,0
0,0
7 frilansere byr i gjennomsnitt $43 CAD for denne jobben
Brukeravatar
Hello friend, I did MS Software Engineering. I have 7 years of experience in software development. I can do any simple task (e.g. data structures or OOP) to complex problems (e.g. ML and AI). I work on JAVA, C, C++, Python, Android, SQL, MySqL and Oracle. Please see my profile and reviews from my previous client. I guarantee quality work in less time. Contact me. Thanks
$50 CAD om 3 dager
4,9 (204 omtaler)
7,2
7,2
Brukeravatar
Hello, My preferred method of freelancing is an interactive approach to project solving. I have an MSEE specializing in Digital Signal/Image/RF Processing. I do most of my work in MATLAB (expert). I also do Python programming. I have experience in GA.
$20 CAD om 7 dager
5,0 (3 omtaler)
3,2
3,2
Brukeravatar
Within 1 day. Please visit my portfolio and check algorithm certifications. Hello. I have full experience with C++/C#/Java/Python experience and all kinds of GUI programming. I am the right person for this job since I participated in ACM/ICPC contest and won good results. Please choose me and turn your dream into reality. Hoping we can meet over chat......Thanks.
$100 CAD om 1 dag
5,0 (2 omtaler)
2,4
2,4
Brukeravatar
I will work on this and infor you once it's done. but it's take one day time for me. just ping me so I can reply you back. once it done. thanks
$35 CAD om 2 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Hi, I've a Master’s Degree in Computer Science and i've been working with Machine Learning and Deep Learning algorithms for several years. I've enough experience in Analysis and Design of algorithms. I would like to work together, it'll be a pleasure.
$50 CAD om 1 dag
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Dear Client. Nice to meet you here. I'm a java expert with a good mathematical skill. I have more than 7+ years of experience in programming. I can complete your project at the highest level. Looking forward your contact. Thanks, Regards.
$30 CAD om 1 dag
0,0 (0 omtaler)
0,0
0,0

Om klienten

CANADAs flagg
Halifax, Canada
4,8
3
Betalingsmetode bekreftet
Medlem siden nov. 12, 2019

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.