Click here to Skip to main content
16,008,954 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: I want find intersection point between two ellipse or ellipse and circle, can someone please give me useful links or any suggestions. Pin
Member 113286206-Jan-16 1:33
Member 113286206-Jan-16 1:33 
GeneralRe: I want find intersection point between two ellipse or ellipse and circle, can someone please give me useful links or any suggestions. Pin
harold aptroot8-Jan-16 3:38
harold aptroot8-Jan-16 3:38 
QuestionProbability Pin
Member 122449725-Jan-16 0:18
Member 122449725-Jan-16 0:18 
AnswerRe: Probability Pin
Daniel Pfeffer5-Jan-16 0:30
professionalDaniel Pfeffer5-Jan-16 0:30 
AnswerRe: Probability Pin
Afzaal Ahmad Zeeshan5-Jan-16 0:39
professionalAfzaal Ahmad Zeeshan5-Jan-16 0:39 
QuestionConverting From Decimal to Custom Counting Definition Pin
BlueIshDan24-Dec-15 3:45
BlueIshDan24-Dec-15 3:45 
AnswerRe: Converting From Decimal to Custom Counting Definition Pin
Patrice T24-Dec-15 5:44
mvePatrice T24-Dec-15 5:44 
GeneralRe: Converting From Decimal to Custom Counting Definition Pin
Patrice T24-Dec-15 5:57
mvePatrice T24-Dec-15 5:57 
GeneralRe: Converting From Decimal to Custom Counting Definition Pin
BlueIshDan24-Dec-15 5:59
BlueIshDan24-Dec-15 5:59 
GeneralRe: Converting From Decimal to Custom Counting Definition Pin
BlueIshDan24-Dec-15 6:02
BlueIshDan24-Dec-15 6:02 
GeneralRe: Converting From Decimal to Custom Counting Definition Pin
Patrice T24-Dec-15 6:09
mvePatrice T24-Dec-15 6:09 
GeneralRe: Converting From Decimal to Custom Counting Definition Pin
Patrice T24-Dec-15 13:51
mvePatrice T24-Dec-15 13:51 
GeneralRe: Converting From Decimal to Custom Counting Definition Pin
BlueIshDan29-Dec-15 0:21
BlueIshDan29-Dec-15 0:21 
GeneralRe: Converting From Decimal to Custom Counting Definition Pin
Patrice T29-Dec-15 2:45
mvePatrice T29-Dec-15 2:45 
Questionwhat kind of algorithms we use to find minimum spanning tree Pin
Member 1211381321-Dec-15 5:39
Member 1211381321-Dec-15 5:39 
AnswerRe: what kind of algorithms we use to find minimum spanning tree Pin
Chris Losinger21-Dec-15 6:31
professionalChris Losinger21-Dec-15 6:31 
GeneralRe: what kind of algorithms we use to find minimum spanning tree Pin
harold aptroot21-Dec-15 6:57
harold aptroot21-Dec-15 6:57 
GeneralRe: what kind of algorithms we use to find minimum spanning tree Pin
Patrice T21-Dec-15 12:16
mvePatrice T21-Dec-15 12:16 
QuestionHow do I fix blinking or flashing web page in Chrome? (my project ASP.NET) Pin
ahasan nahid9-Dec-15 14:26
ahasan nahid9-Dec-15 14:26 
AnswerRe: How do I fix blinking or flashing web page in Chrome? (my project ASP.NET) Pin
Richard MacCutchan9-Dec-15 22:22
mveRichard MacCutchan9-Dec-15 22:22 
QuestionAlgorithm running time Pin
Lyuboslav Kakanakov4-Dec-15 5:13
Lyuboslav Kakanakov4-Dec-15 5:13 
AnswerRe: Algorithm running time Pin
Richard MacCutchan4-Dec-15 6:49
mveRichard MacCutchan4-Dec-15 6:49 
AnswerRe: Algorithm running time Pin
Patrice T4-Dec-15 10:17
mvePatrice T4-Dec-15 10:17 
AnswerRe: Algorithm running time Pin
Matthew Dennis5-Dec-15 22:09
sysadminMatthew Dennis5-Dec-15 22:09 
QuestionOptimize algorithm arrange an array with items with even-indexs are on left side of array, items with odd-indexs are on right side of array Pin
Hồng Chấn Phát30-Nov-15 22:11
Hồng Chấn Phát30-Nov-15 22:11 
Requirement: using recursion, size of array is an even number.

For example:
0 1 2 3 4 5 (order of index)
a b c d e f (array before arrange)
a c e b d f (array after arrange)

0.......1.......2......3.......4......5.......6......7 (order of index)
a1....b1....a2....b2....a3....b3....a4....b4 (array before arrange)
a1....a2....a3....a4....b1....b2....b3....b4 (array after arrange)

The problem looks easy to solve if we dont care about optimization, we can use temp array or use recursion combine with a loop to shift items ... I think this way is not best solution ....I try to use recursion combine with swap operation, without using loop ... but I fail.

Hope someone suggests me an idea to resolve the problem, thanks any help

modified 1-Dec-15 4:30am.

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.