language-agnostic
What are the most common data structures and the Big O for operations on them?
I am trying to get a grasp on Big O notations.It seems pretty abstract.I selected the most common data structures - array, hash, linkedl list (single and double) and a binary search tree and guessed s[详细]
2023-04-13 07:55 分类:问答Library to parse Excel Formulas
I\'m looking to make an AddIn for excel that modifies formulas in cells. Looking at Microsoft\'s C# and VBA API, I don\'t even see a Formula object. All I can get is the string that is displayed. Is t[详细]
2023-04-13 03:05 分类:问答substring finding from a string
Input: string S = AAGATATGATAGGAT. Output: Maximal repeats such as GATA (as in positions 3 and 8), GAT (as in position 3, 8 and开发者_运维百科 13) and so on...[详细]
2023-04-13 03:04 分类:问答A self modifying code?
I would like to do the following . I have declared a structure in my program and in run t开发者_运维知识库ime when the program is being executed, if there is a user input, I should be able to create a[详细]
2023-04-13 02:41 分类:问答Is using a long string in a GET variable a secure way of identifying a user?
I am making a Twilio app.Twilio can send a request to the server after a call is over, but it isn\'t able to be associated with the logged in user of my website because Twilio is making an independent[详细]
2023-04-13 01:22 分类:问答What language would you choose to create a vector drawing interface?
I have a desktop application project which involves a drawing component. Base language isn\'t choosed yet.[详细]
2023-04-12 22:20 分类:问答Name for a method that has only side effects
So, a method that alters its object is a mutator. A method that does not alter its object but returns a value (or reference to a value) is a getter. Is there a widely used name for a method that does[详细]
2023-04-12 21:14 分类:问答Is there a name or more info for this type of set/list "transposition" operation?
Is there a name for the following type of set/list \"transposition\" operation?(Probably abusing some formal terms here, but that\'s the whole reason for my question :)[详细]
2023-04-12 20:16 分类:问答How can I make a random selection from an inversely-weighted list?
Given a list of integers, e.g. 1, 2, 3, 4, I know开发者_开发百科 how to select items based on their weight. The example items would have probabilities of 10%, 20%, 30%, and 40%, respectively.[详细]
2023-04-12 18:09 分类:问答Basic rectangle splitting
I\'m stuck on some trivial question and, well, I guess I need help here. I have two rectangles and it\'s guaranteed that they have one common point from their 4 base points (upper part of the picture[详细]
2023-04-12 17:53 分类:问答