Code-Crossroad
Code-Crossroad copied to clipboard
This project contains the carefully compiled Data Structures & Algorithm questions asked by the companies that visit Banasthali Vidyapith on-campus.
Added Palindrome Linked List
**Aim: Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0.** I would like to provide my C++...
Aim We are given a directed graph. We need to detect whether the graph has a negative cycle or not. A negative cycle is one in which the overall sum...
Aim: Given an array arr[] of size N, swap the Kth element from beginning with Kth element from end.
Aim Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. Details “The lowest common ancestor is defined between two nodes p and...