Click here to Skip to main content
15,887,421 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Fastest way to count nested loops Pin
Member 113783027-Nov-15 8:27
Member 113783027-Nov-15 8:27 
GeneralRe: Fastest way to count nested loops Pin
Patrice T7-Nov-15 8:52
mvePatrice T7-Nov-15 8:52 
GeneralRe: Fastest way to count nested loops Pin
Member 113783027-Nov-15 9:08
Member 113783027-Nov-15 9:08 
GeneralRe: Fastest way to count nested loops Pin
Patrice T7-Nov-15 9:19
mvePatrice T7-Nov-15 9:19 
GeneralRe: Fastest way to count nested loops Pin
harold aptroot7-Nov-15 5:20
harold aptroot7-Nov-15 5:20 
AnswerRe: Fastest way to count nested loops Pin
Luc Pattyn3-Jan-16 6:37
sitebuilderLuc Pattyn3-Jan-16 6:37 
Questionhow do you calculate a primitive operation in algorithm analysis Pin
Member 118975665-Nov-15 21:15
Member 118975665-Nov-15 21:15 
AnswerRe: how do you calculate a primitive operation in algorithm analysis Pin
Richard Deeming6-Nov-15 2:02
mveRichard Deeming6-Nov-15 2:02 
Basic algebra:
Member 11897566 wrote:
2 + 1 + n + 4(n - 1) + 1 = 5n

   2 + 1     + n + 4(n - 1) + 1
== 2 + 1 + 1 + n + 4(n - 1)
== 4         + n + 4n  - 4
== 4 - 4     + 5n
==             5n


Member 11897566 wrote:
2 + 1 + n + 6(n - 1) + 1 = 7n - 2

   2 + 1     + n + 6(n - 1) + 1
== 2 + 1 + 1 + n + 6(n - 1)
== 4         + n + 6n  - 6
== 4 - 6     + 7n
== -2        + 7n
== 7n - 2




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: how do you calculate a primitive operation in algorithm analysis Pin
Member 118975666-Nov-15 2:57
Member 118975666-Nov-15 2:57 
GeneralRe: how do you calculate a primitive operation in algorithm analysis Pin
Richard Deeming6-Nov-15 3:03
mveRichard Deeming6-Nov-15 3:03 
GeneralRe: how do you calculate a primitive operation in algorithm analysis Pin
jschell7-Nov-15 6:18
jschell7-Nov-15 6:18 
QuestionBinary Polynomial Multiplication Pin
Member 120276965-Nov-15 2:04
Member 120276965-Nov-15 2:04 
GeneralRe: Binary Polynomial Multiplication Pin
harold aptroot5-Nov-15 3:40
harold aptroot5-Nov-15 3:40 
GeneralRe: Binary Polynomial Multiplication Pin
Member 120276965-Nov-15 20:19
Member 120276965-Nov-15 20:19 
GeneralRe: Binary Polynomial Multiplication Pin
Patrice T5-Nov-15 17:24
mvePatrice T5-Nov-15 17:24 
Questionneed help with number base conversion algorithm for computers Pin
mickcs4-Nov-15 10:14
mickcs4-Nov-15 10:14 
AnswerRe: need help with number base conversion algorithm for computers Pin
Richard Andrew x644-Nov-15 10:36
professionalRichard Andrew x644-Nov-15 10:36 
AnswerRe: need help with number base conversion algorithm for computers Pin
Patrice T4-Nov-15 14:55
mvePatrice T4-Nov-15 14:55 
QuestionFeistel Cipher Algorithm: Problems aim to solve Pin
Ka Mal31-Oct-15 15:07
Ka Mal31-Oct-15 15:07 
AnswerRe: Feistel Cipher Algorithm: Problems aim to solve Pin
Richard MacCutchan31-Oct-15 21:41
mveRichard MacCutchan31-Oct-15 21:41 
GeneralRe: Feistel Cipher Algorithm: Problems aim to solve Pin
Richard Deeming2-Nov-15 1:50
mveRichard Deeming2-Nov-15 1:50 
GeneralRe: Feistel Cipher Algorithm: Problems aim to solve Pin
Richard MacCutchan2-Nov-15 1:59
mveRichard MacCutchan2-Nov-15 1:59 
Questionanalysis of boolean table to optimize code ? Pin
BillWoodruff30-Oct-15 22:59
professionalBillWoodruff30-Oct-15 22:59 
AnswerRe: analysis of boolean table to optimize code ? Pin
Gerry Schmitz3-Nov-15 8:28
mveGerry Schmitz3-Nov-15 8:28 
AnswerRe: analysis of boolean table to optimize code ? Pin
Patrice T3-Nov-15 17:09
mvePatrice T3-Nov-15 17:09 

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.