Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in algorithm

What's the fastest way to obtain the highest decimal digit of an integer? [duplicate]

What is the time complexity of this algorithm

Given an integer N, print numbers from 1 to N in lexicographic order

c++ algorithm

Divide and Conquer Algorithm for Finding the Maximum Subarray - How to also provide the result subarray indexes?

Query for Set Cover

Time and Space Complexity of an Algorithm - Big O Notation

algorithm big-o

Implementing Nested Order Set in MySQL/PHP

Finding a number to xor with sequence elements to obtain given sum

algorithm sum xor

Dynamic Programming on Trees with Modifications

Trie implementation with wildcard values

Least Recently Used (LRU) Cache

finding minimum number of rectangular pieces in a rectangular chocolate bar, with a rule

Generating n binary vectors where each vector has a Hamming distance of d from every other vector

Group array of items by their distinct id

generate a random point within rectangles' areas uniformly (some rectangles could overlap)

3Sum leetcode algorithm

Peak finding algorithm in 2d-array with complexity O(n)

Algorithm to find k smallest numbers in an array in same order using O(1) auxiliary space

arrays algorithm sorting

Any idea to optimise this algorithm?

Sorted array except for first K and last K elements

algorithm sorting