C Algorithm – The Stock Span Problem – Stack – The stock span problem is a financial problem where we have a series of n daily price quotes
Data Structures
Check whether given binary tree complete not Given a Binary Tree, write a function to check whether the given Binary Tree is Complete Binary Tree or not.
Python Algorithm – Write a function to reverse a linked list – Linked List – Given pointer to the head node of a linked list, the task is to reverse
Java Algorithm – Write a function to reverse a linked list – Linked List – Given pointer to the head node of a linked list, the task is to reverse
Cpp Algorithm – Write a function to reverse a linked list – Linked List – Given pointer to the head node of a linked list, the task is to reverse
C Algorithm – Write a function to reverse a linked list – Linked List – Given pointer to the head node of a linked list, the task is to reverse
Java Algorithm – Next Greater Element – Stack – Given an array, print the Next Greater Element (NGE) for every element. The Next greater
C Program Find k-th smallest element in BST – Binary Search Tree – Given root of binary search tree and K as input
Python Algorithm – Next Greater Element – Stack – Given an array, print the Next Greater Element (NGE) for every element.
Delete a node in a Doubly Linked List – Doubly Linked List – If node to be deleted is head node, then change the head pointer to next current head.