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
433 views
1 answer
    I am looking for an algorithm that determines percentiles for live data capture. For example, consider the ... buckets ahead of time. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
610 views
1 answer
    Reference: I was asked this question @MS SDE interview, 3rd round. And it's not a homework problem. I also ... other one talks about AVL trees. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
581 views
1 answer
    I have a source rectangle and a destination rectangle. I need to find the maximum scale to which the source ... algorithm works in all cases! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
705 views
1 answer
    An array contains both positive and negative elements, find the maximum subarray whose sum equals 0. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
503 views
1 answer
    I have a reasonably large set of strings (say 100) which has a number of subgroups characterised by their ... from one group to another. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
654 views
1 answer
    Given any number n, and three operations on n: add 1 subtract 1 divide by 2 if the number is even I ... result. Is another solution exists? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
732 views
1 answer
    Can anyone tell me why the number 5381 is used in DJB hash function ? DJB Hash function is h(0) = 5381 h(i) = 33 ... + (*str); } return hash; } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
464 views
1 answer
    Do you guys know of any algorithms that can be used to compute difference between images? Take this webpage ... service for their website. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
622 views
1 answer
    How do I get the inverse of a matrix in python? I've implemented it myself, but it's pure python, and I ... faster modules out there to do it. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
592 views
1 answer
    Wikipedia says: Selection algorithms: Finding the min, max, both the min and max, median, or even the k-th ... this can be done using heaps? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
713 views
1 answer
    I was wondering if anybody could help me rework this method to find the height of a binary search tree. So far, ... { return heightRight+1; } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
681 views
1 answer
    We know that the knapsack problem can be solved in O(nW) complexity by dynamic programming. But we say this is a ... . W is the maximum volume.) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
449 views
1 answer
    I had a look at question already which talk about algorithm to find loop in a linked list. I have read Floyd's ... increment by 3 or 5 or x. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
458 views
1 answer
    I've been implementing an adaptation of Viola-Jones' face detection algorithm. The technique relies upon placing a ... it the wrong way? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
482 views
1 answer
    This is more of a CS question, but an interesting one : Let's say we have 2 tree structures with more or ... if somebody might know a solution. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
548 views
1 answer
    I'm building a symbol table for a project I'm working on. I was wondering what peoples opinions are on the ... above? (working in c++) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
582 views
1 answer
    Are the trie and radix trie data structures the same thing? If they aren't the same, then what is the meaning of radix trie (AKA Patricia trie)? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
587 views
1 answer
    What's a good algorithm for calculating frames per second in a game? I want to show it as a number ... frame rate is increasing vs decreasing. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
552 views
1 answer
    Imagine you're in a tall building with a cat. The cat can survive a fall out of a low story window, ... problem or of the solution algorithm. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
603 views
1 answer
    I was wondering when one should use Prim's algorithm and when Kruskal's to find the minimum spanning tree? ... what is the deciding factor? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
447 views
1 answer
    Many sites offer some statistics like "The hottest topics in the last 24h". For example, Topix.com shows this ... examples would be great). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
885 views
1 answer
    What is an NP-complete problem? Why is it such an important topic in computer science? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
390 views
1 answer
    I'm trying to answer two questions in a definitive list: What are the underlying data structures used for Redis? ... http://redis.io/topics/faq See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
436 views
1 answer
    Given n points in d-dimensional space, there are several data structures, such as Kd-Trees, Quadtrees, etc ... , but rather theoretical results See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
427 views
1 answer
    I want to iterate an array/vector once and modify multiple elements on the way as this is the most optimal solution ... how I can apply it here. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
638 views
1 answer
    I am trying to prove that for binary heaps, buildHeap does at most (2N-2) comparisons between elements. I ... difficult to prove this claim. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
576 views
1 answer
    I have one problem related to rotation of point in 3D-space. Suppose I have one point with X, Y and Z ... Can anyone help me solve that? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
601 views
1 answer
    Suppose we need to write a function that gives the list of all the subsets of a set. The function and the ... to use set, list in Python. See Question&Answers more detail:os...
asked Oct 17, 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

...