Algorithm answer

已完成 已发布的 Jan 24, 2016 货到付款
已完成 货到付款

Anagram Checking: Design an algorithm for checking whether two given words are anagram, i.e.

whether one word can be obtained by permuting the letters of the other. For example, the

words eat and tea are anagrams.

2. Given two linked lists sorted in increasing order. Write an algorithm which will merge them

such a way that the result list is in decreasing order (reverse order).

Examples:

Input: List 1: 5->10->15->20

List 2: 2->7->25

Output: 25->20->15->10->7->5->2

Input: List 1: NULL

List 2: 2->5->7

Output: 7->5->2

3. Given two dates, write an algorithm to find total number of days between them.

Examples:

Input: date1 = 10th February 2014

Date2 = 10th March 2015

Output: 393

4. A magic number is defined as a number which can be expressed as a power of 5 or sum of unique

powers of 5. First few magic numbers are 5, 25, 30(5 + 25), 125, 130(125 + 5), ….

Write an algorithm to find the n’th Magic number.

Examples:

Input: n =2

Output: 25

Input: n =5

Output: 130

5. Lucky numbers are subset of integers. For example, consider the following set of consecutive

integers

1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,……

Now, first, delete every second number, we get following reduced set.

1,3,5,7,9,11,13,15,17,19,…………

Now, delete every third number, we get

1, 3, 7, 9, 13, 15, 19,….….

Continue this process indefinitely……

Any number that does NOT get deleted due to above process is called “lucky”.

Therefore, set of lucky numbers is 1, 3, 7, 13,………

Now, given an integer ‘n’, write an algorithm to find whether this number is lucky or not.

算法 数学

项目ID: #9449971

关于项目

13个方案 远程项目 活跃的Jan 24, 2016

授予:

dobreiiita

Hello I am Algorithm expert and interested in this project. I have reviewed your requirements and confident to handle this project perfectly. I also have a lot of experience inhelping students with assignments. Ple 更多

$70 CAD 在1天内
(110条评论)
5.9

有13名威客正在参与此工作的竞标,均价$116/小时

Calleus

I have strong background in Algorithms and experience in such projects. Let me help you. I am ready to start.

$155 CAD 在3天内
(50条评论)
5.8
AwaisChaudhry

Hi there! I have read what you exactly need, however I would like to ask you a few questions. I wouldn't call myself a master but I do work smart and do not rest until I get the job done. Please feel free to ping me an 更多

$144 CAD 在3天内
(1条评论)
4.2
jonathanlandry

I can help with your problem since I have a Master in numerical analysis and a teaching-assistant in 2 courses related to finite element method. I have also a large experience in C,C++ and matlab programming.

$155 CAD 在3天内
(1条评论)
4.3
ZhangDaLong

Hi, client. I am a C++/Objective-C programmer and mathematician. I already have all answers about your five problems. Only remains programming and it is easy. Please check my profile and hire me. Thanks.

$50 CAD 在0天内
(21条评论)
4.0
ahmedkoraim

Hi, I am a teaching assistant in algorithms, I can help you and illustrate solutions as well. I can provide you with the solutions in exactly 24 hours from awarding me the project. Just private message me to dis 更多

$80CAD 在1天里
(6条评论)
3.5
finiteostad

Dear Sir/Madam, I can create all of the first 4 algorithms, and in quick time, if you select me for the job. For the 5th question, may I seek a clarification? When the question says: 'Continue this process in 更多

$94CAD 在1天里
(9条评论)
3.2
stonegold

I have done all this problems earlier. You can visit on codechef to see my profile(user:arpitiiita). I can easily help you with this problems.

$155 CAD 在3天内
(0条评论)
0.0
carnelianinfotec

Hi I would like to write algorithms for the examples you mentioned. kindly contact me for further details.

$155 CAD 在3天内
(0条评论)
0.0
JDMalik

I have done BSCS from Pakistan's 1st Rank IT university named FAST-NUCES and I believe that I can do this task in a pure professional manner and can satisfy all of your requirements regarding this project as I have alr 更多

$50 CAD 在3天内
(0条评论)
0.0