algorithm
Algorithm for rewriting modified goto semantics
I\'ve got an large bunch of legacy code in an old self-conceived scripting language that we compile/translate into javascript.[详细]
2023-04-11 16:35 分类:问答Somebody know What is the name of this algorithm?
This is an algorithm for converting an string to an integer: int n = 0; for (i = 0; i < digits.lengt开发者_高级运维h; i++)[详细]
2023-04-11 16:26 分类:问答C++ Linked list implementation crashing
I am trying to implement a linked list for a data structures class and I am having some difficulty with the searching portion of the algorithm.[详细]
2023-04-11 16:16 分类:问答Python tree traversal recursion depth exceeded
I have a segment tree which holds data for a range of numbers (data structure chosen here). Here\'s the code:[详细]
2023-04-11 15:14 分类:问答Next Largest Value in a Binary Tree Value [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-04-11 15:11 分类:问答Hexagonal Grids, how do you find which hexagon a point is in?
I have a开发者_如何学Python map made up of rows and columns of hexagons This isn\'t an actual image of the hex-map I am using, but uses the same size and shape hexagons[详细]
2023-04-11 15:10 分类:问答Polygon skew algorithm
What algorithm can I use to skew a polygon? Like skewing the following: ____ |_| |__| To bottom right will yield[详细]
2023-04-11 14:54 分类:问答Design a data structure
I am trying to design a data structure that stores elements according to some prescribed ordering, each element with its own value, and that supports each 开发者_如何学JAVAof the following[详细]
2023-04-11 14:36 分类:问答Inferring diff between objects starting from patch applied to one of them
I would like to know if there are any known approaches other than the naive algorithm to this kind of problem I need to solve.[详细]
2023-04-11 14:23 分类:问答check 1 billion cell-phone numbers for duplicates
It\'s an interview question: There are 1 billion cell-phone numbers which has 11 digits, they are stor开发者_开发技巧ed randomly in a file, for[详细]
2023-04-11 14:00 分类:问答