Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged algorithm

0 votes
2.3k views
0 answers
    this is the code ::::::: import dsa.DiGraph; import dsa.SeparateChainingHashST; import dsa.Set; import stdlib.In; import ... , word1, word2, wordnet.distance(word1, word2)); } }...
asked May 12, 2022 in Others[杂七杂八] by cathrineval (180 points)
0 votes
2.2k views
0 answers
    pleas help me !. I need Dynamic programming in genetic algorithm for solving TSP. Initially I have taken two ... for obtaining the best solution. I need implementaion part help...
asked Nov 8, 2021 in Topic[话题] by satya (120 points)
0 votes
2.0k views
1 answer
    In a book I encountered following question: Given N step stair, in how many number of ways can you climb if you use either 1 ... 1), (1,2), (3). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I am trying to understand the minesweeper problem: Problem statement: Have you ever played Minesweeper? This cute ... are game projects. ) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    Suppose we have an infinite, complete binary tree where the nodes are numbered 1, 2, 3, ... by their ... shortest path between them? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I have solved this problem!!! I found that if i have to use vector<Node*> children;. But I am not very sure ... .push_back(*cur); PREV = cur; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    If the time complexity of my program is,say O(n^2),How do I express running time in terms of seconds ... of running time from Time complexity See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I have one value like 24, and I have four textboxes. How can I dynamically generate four values that add up to 24? ... 6, 6, 7 would be okay.) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I'm having trouble understanding how to make this into a formula. for (int i = 1; i <= N; i++) { for ( ... and think this as a function of N? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    Why multi-paxos is called multi-paxos? I can't see how it is "multi". See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    While answering to this question a debate began in comments about complexity of QuickSort. What I remember from my ... more rigorously than I ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I have a directed weighted graph G=(V,E), which may have loops. I am trying to determine the best time ... are better algorithms to solve this. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I recently implemented the UDFs of the Damerau-Levenshtein algorithms into MySQL, and was wondering if there is a ... within the Text field. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    void swap(ref int x, ref int y) { x = x ^ y; y = y ^ x; x = x ^ y; } im learning about ... but i dont understand AT ALL what is going on? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I have a List<List<String>> I need to get a List of all possible concatenation on the first ... .println( constructIndexes(indexList)); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I'm sure there must exist a way to do the following but I don't know what it's called so I cannot google ... //The algorithm I need goes here } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I have a matching problem, which I think is np-hard: We need to arrange a dinner for a group of n ... very gratefull for any ideas for solutions See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I'm looking to explore different algorithms, both recursive and dynamic programming, that checks if one ... longest increasing subsequence. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I came up with this question. There is an encryption algorithm which uses bitwise XOR operations extensively. This ... in java is 5sec. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I have a number plate which is a binary image. I performed dilation to the image to thicken the edges then " ... []); title('floodFilling'); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    How to Implement using recursion and cut-off cycle of the counter (like for i: = 1 downto N do <operator>) ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    Is there a way to generate all of the subset sums s1, s2, ..., sk that fall in a range [A, ... haven't considered the dynamic programming route. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.5k views
1 answer
    I have two sets of data taken from two separate import files which are both being imported into python and ... be really appreciated. Cheers See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    So for example, the answer for the array: 1, 11, 3, 95, 23, 8, 1 would be 1, since all the ... impossible? Including a source would be nice. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    Let's say I have a polygon with points: (0,0) (100,0) (100,100) (0,100) Lets also let it's ... 50 from each component of each point? Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.5k views
1 answer
    I have an ABAP class which encodes a string as qr code and sends this code as email. At a later point, the ... you for your hints and ideas! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    I have a large dataset with columns IDNum, Var1, Var2, Var3, Var4, Var5, Var6. The variables are boolean with value ... way to write this in R? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
16.0k views
1 answer
    How to find that any anagram of String 1 is sub string of String 2? Eg :- String 1 =rove String 2= ... which is sub-string of String 2 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...