# Algorithm answer

Budget $30-250 CAD

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.

## Awarded to:

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 More

## 14 freelancers are bidding on average $114 for this job

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

--------Very nice Job!I'm very interesting in your task!Best result on time!--------------------------------

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 More

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 More

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.

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 More

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

All this algorithms are classical and easy to understatnding, but what kind of result do You need? - pseudocod (text description of algorithms)? or text of program for one of existing languages?

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.

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.