Given two Linked Lists, create union and intersection lists that contain union and intersection of the elements present in the given lists.
JAVA
Java Program Lowest Common Ancestor in a Binary Search Tree – Data Structure – write a c program to find the Lowest Common Ancestor (LCA).
Java program to check if a binary tree is BST or not – A binary search tree (BST) is a node based binary tree data structure.
Java Programming – Count of n digit numbers whose sum of digits equals to given sum – Dynamic Programming Given two integers ‘n’ and ‘sum’, find count
Java Programming – Count ways to reach the n’th stair – Dynamic Programming There are n stairs, a person standing at the bottom wants to reach the top.
Java Programming – Count number of binary strings without consecutive 1’s – Dynamic Programming Positive integer, count all possible distinct binary string
Java Programming – Maximum sum rectangle in a 2D matrix – Dynamic Programming – Given a 2D array, find the maximum sum subarray in it. For example
Java Programming – Subset Sum Problem – Dynamic Programming Given a set of non-negative integers, and a value sum, determine if there is a subset
java program – Level Order Tree Traversal – Level order traversal of tree is breadth first traversal for the tree. There are basically two functions
JAVA programming – Bridges in a graph – An edge in an undirected connected graph is a bridge iff removing it disconnects the graph.