473,538 Members | 13,150 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Algorithms / Advanced Math Forum

0
6,863
johny10151981
thread by: johny10151981 | last post Jul 26 '10 by: johny10151981
Albert Einstein supposedly said that 98% of the people in the world couldn't solve this one: There are 5 houses sitting next to each other, each with a different color, occupied by 5 guys, each from a different country, and with a favorite drink, cigarette, and pet. Here are the facts: The British occupies the red house. The Swedish owns...
7
6,769
thread by: dynamo | last post Jun 9 '09 by: JosAH
We are always being told random binary data cannot be compressed,so i'm wondering what does random data look like.I think it would consist of short runs of 1's and 0's.Any ideas.Thanks
2
6,732
thread by: sankar2011 | last post Sep 20 '13 by: sankar2011
Last time I gave the mathematical reasoning to prove Dijkstra's algorithm. This time I am giving a possible implementation for Kosaraju's algorithm which finds the strongly connected components in a directed graph. Short form of "strongly connected components" is SCC The intent of the program. ========================== The program finds...
9
6,641
thread by: serdar | last post Nov 15 '11 by: franknagy
Hi, I'll use a function called A-weighting Filter for a spectrum analyzer I'm designing in Flash. Here is the equation of A-Weighting Filter: http://img381.imageshack.us/img381/738/image001fi8.gif I thought the function is a little heavy to compute (for hundreds of values) realtime in Actionscript. I won't need a precise computation of...
7
6,540
thread by: PeteSpeed | last post May 7 '09 by: jkmyoung
Hi, I need help with creating an algorithm to solve the problem below in the most efficient manner (efficiency in this case means low processing, not memory) (Disclaimer: I studied discrete maths as part of my university course, but this was many years ago and I have forgotten most of the correct syntax. Sorry!) Imagine we have Set A...
5
6,379
thread by: KenpachiZ | last post Nov 18 '11 by: franknagy
Ok, so here is the problem. I have a number, and I need to divide it into maximum unequal parts such that no part is less than 25 in value. Even if you cannot solve the problem, any help or ideas are appreciated. Thanks!
1
6,080
thread by: ripal ruparelia | last post Aug 23 '10 by: Dormilich
how to solve x-e^-x=0 by newton raphson method
1
6,013
thread by: bryte yorke | last post Jun 12 '15 by: Rabbit
Begin Character cItem1, cItem2, cItem3 Numeric nItem1_Price, nItem2_Price, nItem3_Price Numeric cOrder_Number ................ ................ ................ End Assuming I declare
2
5,883
thread by: dseals22 | last post Oct 30 '17 by: dseals22
How to implement the perfect hashed data structure using the four basic operations (insert, fetch, delete, and update)? Will I have to use a hashtable to do this? This is my starting pseudocode below: public class HashedClass{ int ticketNumber; // keyfield string purchaserName; Hashtable hashtable = new Hashtable();
2
5,563
thread by: sankar2011 | last post Oct 15 '14 by: sankar2011
This is an eclipse based project. So the attachment may be unzipped and run in eclipse. eclipse Juno and Java 7 has been used. First the code should be inspected and run. Then the blog may be reffered. ====================================== Stack based implementation of Binary Tree traversal. The ArrayList<Integer> result variable will have...
1
5,419
thread by: Masego Busumane | last post Oct 16 '13 by: Nepomuk
I want to write a pseudo code for calculating standard deviations using several functions like calculating mean and the sum of difference squared. how can i do it
1
5,414
thread by: eflaig | last post Jun 16 '15 by: Zacariaz
Hi, I am trying to find the formula for a sine curve that passes through three known points with the lowest amplitude. Would anyone be able to provide some guidance regarding the best method of figuring this out? Thanks in advance.
9
5,410
thread by: dainer | last post Feb 23 '21 by: RoseCampbell
Hello World! I would like to have a program of sorts, that would analyse rows of numbers for me bringing out the top patterns. As you might understand it is for lottery, yaay :D but it is a local lottery that is not world-wide format. Let me explain what it is and what I need, maybe my needs are very simple and one can guide me to get the...
5
5,267
thread by: jork | last post Nov 11 '13 by: Banfa
Hi, I have to solve the following problem: given a set of n points, an integer d and a mxm 2D grid, find whether it is possible to place a point P such that the (Manhattan) distance between P and each point of the set is inferior to d. Doing a DFS from each point, I think it is possible to solve it in O(nm²), but I'm asking myself how to do...
0
5,263
thread by: dreamcode01 | last post Nov 6 '17 by: dreamcode01
Just found this JDD Global Data Challenge (http://jddjr.joybuy.com/) and request to use the dataset they provide to have a store sales prediction. Any suggestion on building up the model?
7
5,074
thread by: serdar | last post Jan 7 '10 by: wbgxx
Hi, I have a function y=1/x but I need it to return values like: y=1.0 --> x=1.0 y=0.5 --> x=1.5 I guess I need a logarithmic function but how? Thanks.
8
4,776
thread by: vijaydshanker | last post Jan 29 '11 by: shyamendra
I am a student of Software Engineering. Today I asked this question to my teacher in class. But did not get any satisfactory answer Can any one please give me some insight why should i learn this topic in my graduations.
19
4,691
thread by: fera | last post Apr 18 '09 by: fera
Hi to all of you guys here… A friend of mine gave me: 1). A paper with a table of 350 rows x 284 columns, which each cell contains of a single number from 0 to 9. This table didn’t typed yet into .xls file. It will be like table on sheet 5 of file Enigma-2.xls if it has. Since here I can’t attach .xls file, I put it at Mediafire.com (a file...
0
4,598
thread by: abdurrehman1122 | last post Mar 29 '18 by: abdurrehman1122
I am studying Artificial Intelligence at this semester. It is difficult for me to understand Algorithms. I need some resources for online help in this subject. Please tell me some websites which will helpful for my studies.
3
4,489
thread by: Van Dugall | last post Mar 21 '09 by: JosAH
I writing a economic statistics program.. I need to allocate billions of dollars and I have been shown projects to consider and ith project estimates its cost to be dollars and claims to generate jobs. So I have B billions of dollars n projects ci dollars Ji jobs
20
4,480
thread by: 1051109210 | last post Mar 20 '09 by: JosAH
How can i program this game based on probability? like for first move 1/9 chances second would be1/8 chances and so forth? or where can i look into. ive googled around and i dont think i can find wht im lookin for
2
4,448
thread by: orestismaths | last post Jan 11 '10 by: RedSon
Can you please explain to me what is the execution time T(n) of the 3 algorithms? Algorithm 1: y ← 0 j ← n while j >= 1 do { k ← 0 while k < n*n do { y ← y + j - k
1
4,436
thread by: dseals22 | last post Oct 10 '17 by: Frinavale
What is the only condition that would cause the Insert operation of a dynamic data structure to return a “data structure full” error? I want to know where can I find some resources on this question at, because as of researching for a day and half, I couldn't find information specific to my question. Can anyone help me answer my question? I know...
6
4,425
Dormilich
thread by: Dormilich | last post Jan 23 '09 by: Dormilich
I recently found a problem I haven't seen a good solution yet. this is just the general conversion from a number between number/notation systems (e.g. decimal, binary, octadecimal notation) ∞ ∞ Σ{a(i)⋅n^i} = Σ{b(j)⋅m^j} –∞ –∞n, m – base of the number system a(i) – given coefficients of number in system n b(j) –...
1
4,409
thread by: dseals22 | last post Oct 27 '17 by: Frinavale
If I can't implement a perfect hashed algorithm without using a Hashtable or HashMap,then how is it possible to implement this type of data structure?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.