C Program Print BST keys in the given range – Binary Search Tree – Given two values k1 and k2 (where k1 < k2) and a root pointer to a Binary Search Tree.
C Programming
Generic Linked List in C – Linked List – Unlike C++ and Java, C doesn’t support generics. How to create a linked list in C that can be used.
C/C++ Programming Maximum of all sub arrays of size k Given an array and an integer k, find the maximum for each and every contiguous sub array of size k.
C Algorithm – Write a program function to detect loop in a linked list – Linked List – Given a linked list, check if the the linked list has loop or not.
C Program – In order Successor in Binary Search Tree – Binary Search Tree – In order Successor is NULL for the last node in In order traversal.
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
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
C Program Find k-th smallest element in BST – Binary Search Tree – Given root of binary search tree and K as input
C Program Lowest Common Ancestor in a Binary Search Tree – Data Structure – write a c program to find the Lowest Common Ancestor (LCA).
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