space-complexity
Can we compute this in less than O(n*n) ...( nlogn or n)
This is a question asked to me by a very very famous MNC. The question is as follows ... Input an 2D N*N array of 0\'s and 1\'s. If A(i,j) = 1, then all the values correspondingto the ith row and the[详细]
2023-01-14 22:58 分类:问答Regarding in-place merge in an array
I came across the following question. Giv开发者_如何学Pythonen an array of n elements and an integer k where k < n. Elements {a0...ak} and[详细]
2023-01-07 19:33 分类:问答An Ideal Keyboard Layout for Programming [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2022-12-20 16:42 分类:问答