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 もっと

$80 CAD 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 もっと

$94 CAD 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