How to write 1-D Recurrence relation / Climbing Stairs In this article, we will learn to write 1-D Recurrence relations
Continue readingTag: SDE Sheet
Number of Distinct Substrings in a String Using Trie
Problem Statement: Given a string of alphabetic characters. Return the count of distinct substrings of the string(including the empty string)
Continue readingCheck for Symmetrical Binary Tree
Problem Statement: Check for Symmetrical Binary Trees Write a program to check whether a binary tree is symmetrical or not.
Continue reading