Subscribe to:
Post Comments (Atom)
Array
Program for Array Rotation 1st Method - Using temp array - Time complexity - O(n), Space - O(d) See algo and code 2nd Method - rotate...
-
Huffman coding algo is used to compress data using greedy choice so that it does not loose any information. Example: A is given value ...
-
What is HEAP? A heap is a tree with some special properties. The basic requirement of a heap is that the value of a node must be ≥ (or ≤)...
-
What is Recursion? Any function which calls itself is called recursive. A recursive method solves a problem by calling a copy of itself ...
No comments:
Post a Comment