Click here to Skip to main content
15,881,588 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Algorithm to count how many "1" in binary o(1) Pin
Member 1105509312-Nov-14 1:07
Member 1105509312-Nov-14 1:07 
AnswerRe: Algorithm to count how many "1" in binary o(1) Pin
Richard Deeming11-Nov-14 2:39
mveRichard Deeming11-Nov-14 2:39 
SuggestionRe: Algorithm to count how many "1" in binary o(1) Pin
Kornfeld Eliyahu Peter11-Nov-14 2:43
professionalKornfeld Eliyahu Peter11-Nov-14 2:43 
GeneralRe: Algorithm to count how many "1" in binary o(1) Pin
harold aptroot12-Nov-14 9:36
harold aptroot12-Nov-14 9:36 
AnswerRe: Algorithm to count how many "1" in binary o(1) Pin
Aurimas11-Nov-14 3:27
Aurimas11-Nov-14 3:27 
AnswerRe: Algorithm to count how many "1" in binary o(1) Pin
Joe DiNatale12-Nov-14 8:17
Joe DiNatale12-Nov-14 8:17 
AnswerRe: Algorithm to count how many "1" in binary o(1) Pin
harold aptroot12-Nov-14 10:04
harold aptroot12-Nov-14 10:04 
QuestionPYTHON X-AXIS NEAREST POINT Pin
Member 112001292-Nov-14 6:01
Member 112001292-Nov-14 6:01 
I am new here, i have not found a link for Python,so i figured i'd ask any way.
I am trying to come up with an algorithm where you have several x-axis points like
d = [-5, -3.5, -2.8, -0.6, 1.2, 3.4, 5.6]
and where you prompt the user to enter a certain point, the program should give the closest point to the entered value by the user.

Thank you.
AnswerRe: PYTHON X-AXIS NEAREST POINT Pin
Richard MacCutchan2-Nov-14 6:45
mveRichard MacCutchan2-Nov-14 6:45 
GeneralRe: PYTHON X-AXIS NEAREST POINT Pin
Member 112001292-Nov-14 7:14
Member 112001292-Nov-14 7:14 
GeneralRe: PYTHON X-AXIS NEAREST POINT Pin
Richard MacCutchan2-Nov-14 7:24
mveRichard MacCutchan2-Nov-14 7:24 
GeneralRe: PYTHON X-AXIS NEAREST POINT Pin
Albert Holguin5-Nov-14 10:43
professionalAlbert Holguin5-Nov-14 10:43 
GeneralRe: PYTHON X-AXIS NEAREST POINT Pin
CHill602-Nov-14 10:33
mveCHill602-Nov-14 10:33 
GeneralRe: PYTHON X-AXIS NEAREST POINT Pin
Alan Balkany12-Jan-15 9:03
Alan Balkany12-Jan-15 9:03 
Generalfinger search algorithm using data structure in c-program Pin
Member 111385018-Oct-14 5:31
Member 111385018-Oct-14 5:31 
GeneralRe: finger search algorithm using data structure in c-program Pin
Richard MacCutchan8-Oct-14 6:18
mveRichard MacCutchan8-Oct-14 6:18 
GeneralRe: finger search algorithm using data structure in c-program Pin
harold aptroot8-Oct-14 6:37
harold aptroot8-Oct-14 6:37 
GeneralRe: finger search algorithm using data structure in c-program Pin
Member 111385019-Oct-14 3:33
Member 111385019-Oct-14 3:33 
QuestionHow do I manipulate a series of data chart points against their Y-Axis so they are evenly distributed along the axis? Pin
Brady Kelly20-Sep-14 21:39
Brady Kelly20-Sep-14 21:39 
AnswerRe: How do I manipulate a series of data chart points against their Y-Axis so they are evenly distributed along the axis? Pin
Bernhard Hiller21-Sep-14 21:32
Bernhard Hiller21-Sep-14 21:32 
GeneralRe: How do I manipulate a series of data chart points against their Y-Axis so they are evenly distributed along the axis? Pin
Brady Kelly21-Sep-14 22:00
Brady Kelly21-Sep-14 22:00 
GeneralRe: How do I manipulate a series of data chart points against their Y-Axis so they are evenly distributed along the axis? Pin
Bernhard Hiller22-Sep-14 2:03
Bernhard Hiller22-Sep-14 2:03 
QuestionOptimizing memory usage Pin
CDP180214-Sep-14 2:14
CDP180214-Sep-14 2:14 
AnswerRe: Optimizing memory usage Pin
Daniel Pfeffer15-Sep-14 22:41
professionalDaniel Pfeffer15-Sep-14 22:41 
GeneralRe: Optimizing memory usage Pin
harold aptroot16-Sep-14 6:28
harold aptroot16-Sep-14 6:28 

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.