Python program to check if a binary tree is BST or not – Data Structure – A binary search tree is a node based binary tree data structure.
Coding
Latest Articles and Errors& Fixes fo popular programming languages like HTML,CSS, PHP, Javascript, Angularjs and more
Given two strings str1 and str2, find if str1 is a subsequence of str2. A subsequence is a sequence that can be derived from another sequence by deleting
Given two strings str1 and str2, find if str1 is a subsequence of str2. A subsequence is a sequence that can be derived from another sequence by deleting
Given a snake and ladder board, find the minimum number of dice throws required to reach the destination or last cell from source or 1st cell.
Write code to find lexicographic minimum in a circular array, e.g. for the array BCABDADAB, the lexicographic minimum is ABBCABDAD.
C++ Programming – Program to evaluate simple expressions – Algorithm – string that represent an expression of digits and operands. E.g. 1+2*3, 1-2+4.
C++ Programming – Rearranged to form a palindrome – Algorithm – Given a string, if characters of the given string can be rearranged to form a palindrome.
C program to change case of a string – C Programming – Strlwr function convert a string to lower case and strupr function convert a string to upper case.
C++ Programming – Count of n digit numbers whose sum of digits equals to given sum – Dynamic Programming Given two integers ‘n’ and ‘sum’, find count of all