You are given a binary tree which can have negative elements also and an integer k, you need to print all the paths in the

# Tag: recursion

## Number of Islands

You are given a 2D grid of 1’s and 0’s where 1’s denotes the land and 0’s denote the water. You need to return the

## Sorted Array to BST

You are given an array which is sorted in increasing order, you need to convert that array into a Binary Search Tree. Note that the

## Count of leaf nodes

You are given a non-empty binary tree. You need to find out the number of leaf nodes present in the tree. Leaf nodes are those

## Symmetric Tree (Mirror image of itself)

You are given a binary tree, check whether it is symmetric or not. A symmetric tree is one if it is a mirror image of

## K’th smallest element in unordered list

You are given an unordered list of integers, you need to find the K’th smallest integer in that list. Sample Input: Arr = { 7,