Tag Archives: algoritmo

Creating user team algorithm based on Zipcode and Ranges Within

In my application we have teams of users based on their location (zipcode) and then an encompassing radius of 100 miles (zipcodes within) to operate with.
My problem is: user one signs up and is designated a team based onContinue lendo

Tagged , , | Deixe um comentário

I need an algorithm to measure content quality

is there an algorithm to measure the content quality ? http://www.the-top-tens.com/ in top tens when you vote an item, there is a comment box appearing and when you start writing why you vote this item, it comments automatically about whatContinue lendo

Tagged , , , | Deixe um comentário

Turn algorithm into one line function only using arithmetic operator

I want to turn this function :

    $n=11;
    $k=2;
    $l=$n;
    $total=array();
    do{
        $x=floor($n/$k);
        $y=$k*$x;
        $n=$n-$y+$x;
        array_push($total, $x);
    }while($n>=$k);
    $result = $l + array_sum($total);
    print_r($result);

into a function without looping or conditional statement, and only using arithmetic operator (+,-,*,/) with assumption Continue lendo

Tagged , , , | Deixe um comentário

How to use data in this specific format like cartesian? (php)

i have database with table called ‘fields’. There are fields of some table. This table has columns: ID field, ID column, ID row, valor. How to make double array from this data?
It should be look like this:

array {

    

Continue lendo

Tagged , , , | Deixe um comentário

Algorithm to go through a matrix[matriz] given a string and give a final value based on computation

so this is how it goes the user selects attributes:
example : persuading, performing and teamwork
so questions are generated:
what if the candidate has :

1. persuading and not performing   
2. persuading and not teamwork
3. performing and not 

Continue lendo

Tagged , | Deixe um comentário

Concept of Holding a reservation

I have a question and will be grateful if you can help me out with some ideas.
In an online hotel or ticket booking reservation system, normally a user is allocated a specific time to complete their registration / paymentsContinue lendo

Tagged , , , | Deixe um comentário

how to check if a website has updated or not Today? [fechado]

Can any one suggest an algorithm to check whether a website has updated or not..? If updated I want to send a mail
Let me be more clear example : we have a website/blog www.xyz.com so some infor has beenContinue lendo

Tagged , | Deixe um comentário

Computing a natural sort value to store in DB for string sorting

Here are some examples of strings (mainly addresses):

12
20
43-B
43-C
123
2500

Now I put those in what I consider thecorrectorder. If I were to have these values in a column in a DB table and Continue lendo

Tagged , , | Deixe um comentário

removing “accelerationfrom subtitle files

I have a video with subtitles (and corresponding timestamps) in a MySQL database. Sometimes the timestamp on the video and subtitle syncs, sometimes it doesn’t.
The problem is that it’s not a consistent offset within the video (I.E. the differenceContinue lendo

Tagged , , , | Deixe um comentário

What Algorithm is used for this?

im doing research project for a the game Text twist,the text will automatically search word from a dictionary and scramble then, and also process the words to be found automatically using the same concept with this site http://grecni.com/texttwist.php , iContinue lendo

Tagged , , | 1 Comentar
12 páginas