algorithm
how to programatically create a valid 15 puzzle in code
I\'ve built a 15 puzzle in JS but my random puzzle generation is creating instances of an unsolvable puzzle. This could be because I\'m not a Computer Science head, but I\'m not sure how to work out t[详细]
2023-04-12 05:31 分类:问答How can I compare arbitrary version numbers?
Does anyone have code to compare two version numbers in JavaScript? I just want simple version comparisons (e.g. \"1.0\" vs \"1.5.6\"), and it should work with numbers or strings. It can ignore traili[详细]
2023-04-12 05:29 分类:问答Algorithmic music composition [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-04-12 05:26 分类:问答C++ Linked List assignment: trouble with insertion and deletion
I am working on a linked list implementation in C++. I am making progress but am having trouble getting the insertion functionality and deletion functionality to work correctly. Below is list object i[详细]
2023-04-12 05:22 分类:问答Solving a simple maximization game
I\'ve got a very simple question about a game I created (this is not homework): what should the following method contain to maximize payoff:[详细]
2023-04-12 05:03 分类:问答Similarity matrix -> feature vectors algorithm?
If we have a set of M words, and know the similarity of the meaning of each pair of words in advance (have a M x M matrix of similarities), which algorithm ca开发者_JAVA百科n we use to make one k-dime[详细]
2023-04-12 04:51 分类:问答NAudio frequency band intensity
I have an audio player using NAudio and I would like to display a real time intensity for each frequency band.[详细]
2023-04-12 04:24 分类:问答Shabat times algorithm?
Does someone knows of an open source algorithm for calculating the times of Shabat candle light by a GPS location?[详细]
2023-04-12 04:17 分类:问答Algorithm / Library for measuring degree of equality of strings
Is there an algorithm that given two strings yields the degree of equality between them, applying metrics that can be provided externally? For example开发者_运维百科, the two strings \"Plant code\" an[详细]
2023-04-12 03:19 分类:问答Merge Sort : Bugs in this code
I get index out of bounds exception when i try to run this code . we are using two different array s left and right for merging ..[详细]
2023-04-12 02:21 分类:问答