Counting squares algorithm?

I'm writing algorithm which must count squares in this figure: In database I have all points with these columns: ...

Ray-box Intersection Theory?

I wish to determine the intersection point between a ray and a box. The box is defined by its min 3D coordinate and ...

What is the best algorithm for static posture recognition with Kinect skeletal joints??

Do you know any robust way of recognizing a static posture? I have tried saving every joint position with a given i...

Algorithm for plotting 2d xy graph?

I'm trying to plot XY graph in real time using Java. Functions that only rely on X are easy. Just iterate over x0......

Placing number tiles in Settlers of Catan for iOS?

I'm coding Settlers of Catan for iOS and currently have my data tiles in a matix. Now, I'm trying to attach the num...

Coloring only the inside of a shape?

Lets say that you are given this image and are given the instruction to programmatically color only the inside of...

5x5 Sliding Puzzle Fast & Low-Move Solution?

I am trying to find a way to programmatically solve a 24-piece sliding puzzle in a reasonable amount of time and mov...

Minimum distance between 2 times on clock board?

Given 2 times (as int) on clock board, I have to calculate the minimum distance between them. For example - d(...

I'm making a program to view 3D CAD models and would like to build in automated exploded views. All the assemblies t...

Rush Hour - Solving the game?

Rush Hour if you're not familiar with it, the game consists of a collection of cars of varying sizes, set either hor...

How to list all the possible binary search trees with n nodes??

I want to list all the possible binary search trees. I know that the number will be the catalan number. But i want t...

How to list in an alphabetical order the words of a ternary search tree??

How can I go about listing the words a TST contains in an alphabetical order? Unlike BSTs where an in-order travers...

Calculate number of columns and rows needed depending on space available?

I need to distribute "n" amount of images in a given container. It should optimize the space depending if the contai...

How to determine shape is Semicircle by given point collection??

Here is point collection of polygons &lt;Polygon Points="24,188,24,183,25,176,26,172,29,166,33,160,38,155,44,151,50...

What are the applications of the shortest-path-algorithm??

The shortest path between nodes in a graph can be found by several algorithms (Dikstra, A-star, etc). But what appl...