Algorithms

3K

Solutions

9

Articles & Videos

4K

Contributors

An algorithm is a self-contained step-by-step set of operations to be performed. Algorithms exist that perform calculation, data processing, and automated reasoning. Starting from an initial state and initial input (perhaps empty), the instructions describe a computation that, when executed, proceeds through a finite number of well-defined successive states, eventually producing "output" and terminating at a final ending state. The transition from one state to the next is not necessarily deterministic; some algorithms, known as randomized algorithms, incorporate random input.

Refine results

Assuming a given time for sunrise or sunset at sea level, what adjustment have to be made to those times for a given altitude (i.e. 2400 feet).

1429 views
Gigs: Get Your Project Delivered by an Expert
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

I'm a little lacking in the statistics area - more like a lot.
I have a list of numbers in excel that I think might be related to a stock price trend.
There are about 2000 + representing each day …

239 views

When there is a disconnect between the intentions of their creator and the recipient, when algorithms go awry, they can have disastrous consequences.

0294 views

I have the need of being able to generate random directed, cyclic graphs, but according to some constraints.

I would like to input a few parameters/constraints, and obtain a random directed graph …

559 views

Hello,

Could you please help me to resolve the following task:
In the text file I have the matrix of connections between points together with the weights for each pair, for instance:
A, B, 10
A,…

3107 views

If I have conversion rate from USD to GBP how can I get the rate to reverse it so that I can covert from GBP to USD?

184 views

I have been trying to execute this code but I keep getting segmentation fault. I'm guessing there is some pointer mistake but I'm not able find it. Please help!

Link of my code: …

282 views

Hello, I was wondering if its possible to have m buckets, and n elements and finding the most filled bucket in O(1) time without any sorting. Searching through the buckets would take at least O(m) …

567 views

Let's say there are 12 games being played.  One entry in the contest consists of picking the winners of any 7 of the 12 available games.  I need all 7 to be correct to win.  For the purposes of …

489 views

we all can agree that in a pure sorting methodology, the good old quick sort is likely best.

this assumes a 0 cost for actually moving the element from one sorting position to another.

my …

30112 views
Live: Real-Time Solutions, Start Here
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Hi:

I have an interesting problem I need to solve.
I'm sure that someone has encountered this somewhere
and that an elegant solution exists.

I'm trying to write an method which increments and …

17122 views

(CODE)

I need to implement toString  to represent a tree like (also each level can be a separate line):
    (n1(n11(n111, n112), n12(n121, n122)))
that corresponds to tree hierarchy:
           …

688 views

I have data that is arranged this way (see below) and need to calculate the Dispersion = Standard Deviation/Average of Total_NR rolled up by the MGR_NAME. How can I achieve this in T-SQL? Thank you.

265 views

This might be a VERY broad question but will aid me in the right direction. After a customer orders there will be a picking list generated for the picker to collect the items on the list.


Our …

55106 views

Let there is pretty straightforward classes

(CODE)

I need to create some method that for example increase salary for all employees of the collection.

180 views

Can you explain it in a different way. I copied it in the class but don't understand it how exactly the calculations are performed.

587 views

Can you please tell me in question 6 how it calculate the values of 33 and -5

191 views

Homework Question:
I am not sure if I did it right. If its wrong can you tell me which direction I should be going to?



a) p=310/1000 =0.31
odds for 31/100
b) p=600/1000 =0.6
odds for 3/5

397 views

How to solve this equation?

c(8, 3) * c(8, 2) / c(16, 5) = 14/39 ≈ 0.36

986 views
Courses: Start Training Online With Pros, Today
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Can you please tell me why the calculations are wrong?


CORRECT ANSWER IS B

The 1st person can pick anyone. the remaining 3 must each pick the same person, with Pr = 1/5,
thus by the …

386 views

This question was solved in the class. My issue in this question is I know A U B means combine all elements in set A with set B. A intersection B means common values in set A and set B. A compliment …

1104 views

My teacher shows this in the class but I dont understand it. Is it ok if experts can explain this question? I donot understand how it calculate the B'? According to my calculation …

589 views

My teacher solved some questions in class but I don't understand them. I am just wondering if I am allowed to post these questions if experts can explain them.

594 views

Let there is pretty straightforward class

(CODE)

(CODE)
I need to create some transform method that convert my employees collection into a String collection with last names of the employees. …

559 views

Could any gurus shed some light on this? For example,
001011101010101110000111111111111100001010001101011000....
It is very long string, saying up to 2Gb. What algorithm can it be used to compress …

9105 views
Show more content
201506-LO-Top-001
Top Experts In In
Algorithms

TOP EXPERTS

view all

RELATED TOPICS view all topics

  1. Programming
    (52,029)
  2. Math / Science
    (9,654)
  3. Java
    (98,869)
  4. C++
    (56,956)
  5. Programming Languages-Other
    (19,711)
  6. Programming Theory
    (3,619)
  7. C
    (22,263)
  8. C#
    (91,477)
  9. .NET Programming
    (131,922)
  10. Game Programming
    (5,677)