617 . Merge Two Binary Trees You are given two binary trees root1 and root2 . Imagine that when you put one of th…
Read moreShortest Path Using BFS in a Graph #include < bits/stdc++.h > using namespace std ; class Graph { int v …
Read more897 . Increasing Order Search Tree Given the root of a binary search tree, rearrange the tree in in-order so tha…
Read moreAdjacency List Representation with Node Class Here is the code: #include < bits/stdc++.h > using namespace s…
Read moreCreating an Adjacency List of a graph Here is the code:- #include < bits/stdc++.h > using namespace std ; cl…
Read more237 . Delete Node in a Linked List Write a function to delete a node in a singly-linked list. You will not be gi…
Read more