#data-structures
Read more stories on Hashnode
Articles with this tag
Problem Statement: We have to find the number of pair of songs which can be combined to have the durations which are divisible by 60. The question is ...
Problem Statement : We are given with number of rows and numbers of columns. We have to generate the matrix in the spiral way. Here we will be given...
Problem Statement: We have to assign next value of each node. The next value should be the node which is in the right side of the current node at the...
Problem: We have to check whether the given number of flowers can be placed in the flowser bed. The flowers can be placed when the value in the array...
Problem : We have to find the Kth factor for the Number n. The Question in Leetcode Approach 1 : Iterating each Number This is very simple approach...
Question: We have to make the tree in-order traversal such that it only have right side node. All the left nodes will be null (no left nodes). The...