Click here to Skip to main content
15,446,336 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: How can I remove alternate words from a sentence? Pin
Gerry Schmitz6-Sep-20 4:14
mveGerry Schmitz6-Sep-20 4:14 
GeneralRe: How can I remove alternate words from a sentence? Pin
Richard MacCutchan6-Sep-20 6:13
mveRichard MacCutchan6-Sep-20 6:13 
GeneralRe: How can I remove alternate words from a sentence? Pin
Gerry Schmitz6-Sep-20 6:33
mveGerry Schmitz6-Sep-20 6:33 
AnswerRe: How can I remove alternate words from a sentence? Pin
Richard MacCutchan6-Sep-20 4:52
mveRichard MacCutchan6-Sep-20 4:52 
GeneralRe: How can I remove alternate words from a sentence? Pin
maicart6-Sep-20 6:23
Membermaicart6-Sep-20 6:23 
GeneralRe: How can I remove alternate words from a sentence? Pin
Richard MacCutchan6-Sep-20 6:41
mveRichard MacCutchan6-Sep-20 6:41 
GeneralRe: How can I remove alternate words from a sentence? Pin
Richard Andrew x646-Sep-20 8:04
professionalRichard Andrew x646-Sep-20 8:04 
GeneralRe: How can I remove alternate words from a sentence? Pin
maicart7-Sep-20 1:27
Membermaicart7-Sep-20 1:27 
I just talked to my developer. Actually, there are 2 rules:

1st rule: In case of an odd number of words, the system will show the first and last word and will remove alternate words in the middle. Example:

A pear and an apple.

After the algorithm, the system will show:

A _____ and _____ apple.

2nd rule: In the case of an even number of words, the system will also show the first and last word and will randomly remove any of the alternate clues. Example:

How are you today?

After the algorithm, the result could be rendered either a) or b)

a) How _____ you today?
b) How are _____ today?

My developer sent me a PHP file with a clarification. Here's the link:
ClueAlgo.php - Google Drive[^]

I would appreciate your help if this is a quick fix. If it takes time this could be a paid job, for example on Fiverr.com
GeneralRe: How can I remove alternate words from a sentence? Pin
Richard MacCutchan7-Sep-20 1:38
mveRichard MacCutchan7-Sep-20 1:38 
Questionalgorithm to place N rectilinear blocks in a ring to minimize total area Pin
rbuchana14-Aug-20 5:21
Memberrbuchana14-Aug-20 5:21 
GeneralRe: algorithm to place N rectilinear blocks in a ring to minimize total area Pin
harold aptroot14-Aug-20 8:04
Memberharold aptroot14-Aug-20 8:04 
GeneralRe: algorithm to place N rectilinear blocks in a ring to minimize total area Pin
rbuchana14-Aug-20 8:19
Memberrbuchana14-Aug-20 8:19 
AnswerRe: algorithm to place N rectilinear blocks in a ring to minimize total area Pin
Gerry Schmitz14-Aug-20 8:22
mveGerry Schmitz14-Aug-20 8:22 
AnswerRe: algorithm to place N rectilinear blocks in a ring to minimize total area Pin
Greg Utas14-Aug-20 8:52
mveGreg Utas14-Aug-20 8:52 
GeneralRe: algorithm to place N rectilinear blocks in a ring to minimize total area Pin
rbuchana15-Aug-20 9:00
Memberrbuchana15-Aug-20 9:00 
GeneralRe: algorithm to place N rectilinear blocks in a ring to minimize total area Pin
Greg Utas15-Aug-20 9:36
mveGreg Utas15-Aug-20 9:36 
GeneralRe: algorithm to place N rectilinear blocks in a ring to minimize total area Pin
Greg Utas15-Aug-20 9:45
mveGreg Utas15-Aug-20 9:45 
QuestionArea vs perimeter Pin
ZhanatanFleming11-Aug-20 4:07
MemberZhanatanFleming11-Aug-20 4:07 
AnswerRe: Area vs perimeter Pin
Dave Kreskowiak11-Aug-20 4:40
mveDave Kreskowiak11-Aug-20 4:40 
GeneralRe: Area vs perimeter Pin
Richard Deeming11-Aug-20 5:00
mveRichard Deeming11-Aug-20 5:00 
GeneralRe: Area vs perimeter Pin
Dave Kreskowiak11-Aug-20 5:19
mveDave Kreskowiak11-Aug-20 5:19 
GeneralRe: Area vs perimeter Pin
Richard MacCutchan11-Aug-20 5:39
mveRichard MacCutchan11-Aug-20 5:39 
GeneralRe: Area vs perimeter Pin
Greg Utas11-Aug-20 5:00
mveGreg Utas11-Aug-20 5:00 
AnswerRe: Area vs perimeter Pin
Gerry Schmitz11-Aug-20 6:46
mveGerry Schmitz11-Aug-20 6:46 
AnswerRe: Area vs perimeter Pin
Patrice T11-Aug-20 20:25
mvePatrice T11-Aug-20 20:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.