PHP Javascript Expert Mini Project

Imekamilika Ilichapishwa Miaka 6 iliyopita Kulipwa wakati wa kujifungua
Imekamilika Kulipwa wakati wa kujifungua

Problem 1:

In some English words, there is a letter that appears more than once. Search through a sample of text to find the word with a letter that is repeated more times than any other letter is repeated in any other word. When there is a tie between two words, choose the word that appeared first in the sample.

The text sample will contain only english letters (a-z and A-Z) — separated by any type and any amount of whitespace — and punctuation marks. A letter is considered to be the same letter regardless of whether it appears in uppercase or lowercase. Any punctuation marks should be ignored. So, in particular, contractions, possessives, and hyphenated words count as a single word.

Write either a PHP, Ruby, or Python program, to be executed from the CLI. The program should accept a file path as an argument and return the original text of the winning word — meaning the same capitalization and punctuation marks. So for example, “Blue-collar worker” should return “Blue-collar” and not “blue-collar”, “Bluecollar”, “bluecollar”, or “Blue collar”. The program should be able to handle any character for input, and merely ignore any character that is not a letter. Lastly, the program should not return exceptions or warnings.

Example:

Input: “O Romeo, Romeo, wherefore art thou Romeo?”

Output: “wherefore”

Explanation: The letter “e” is repeated three times in the word “wherefore”—and this is more than any other letter is repeated in any other word!

Example:

Input: “Some people feel the rain, while others just get wet.”

Output: “people”

Explanation: Both “people” and “feel” have a letter that is repeated twice within the word. This is a tie—and the first word wins!

Problem 2:

Please review the following JS code sample and provide comments on how to modify to make it better: [login to view URL]

HTML JavaScript PHP

Kitambulisho cha Mradi: #16230914

Kuhusu mradi

15 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

Imetuzwa kwa:

jagankolkata

I can do your fixes in PHP and javascript. please contact with complete details, thanks. Relevant Skills and Experience PHP, Javascript

$100 USD kwa siku 1
(Maoni 60)
5.6

15 wafanyakazi huru wanazabuni wastani wa $138 kwa kazi hii

mondersky

I've seen each one of the problems and I can solve them .

$150 USD kwa siku 3
(Maoni 217)
7.1
Gaosong2017

Honorable Seniors. How are you? I have experience 7+ years in developing .NET, Laravel, node.js, angular.js, react.js and Python Frameworks.. I will work for you all my best. Thank you in advance for your time and co Zaidi

$250 USD kwa siku 3
(Maoni 72)
6.7
VangHaleena17

hello You want to do as follow. In some English words, there is a letter that appears more than once. Search through a sample of text to find the word with a letter that is repeated more times than any other letter Zaidi

$155 USD kwa siku 3
(Maoni 40)
5.8
sblancovilchez

I have a lot of experience in php development,. If you are interested you can call me. See you soon, And thanks for reading.

$122 USD kwa siku 1
(Maoni 14)
5.6
beastofpray007

wow nice example so where is this project used i am just curious any ways i am intrested in making this project for you i have 8 years of experience cheers

$155 USD kwa siku 3
(Maoni 13)
5.3
abhilashrana01

A proposal has not yet been provided

$30 USD kwa siku 3
(Maoni 26)
4.3
mikhailkozalski

Hi, How are you? I want to work your project. Please hire me. If you trust me, I 'll do my best for you. Thank you.

$30 USD kwa siku 3
(Maoni 3)
2.8
balaramtupili

A proposal has not yet been provided

$155 USD kwa siku 7
(Maoni 0)
0.0