PinnedShivani DwivediJourney to Facebook offerThis blog intends to share my journey from being unemployed to having an offer from Facebook. Over the past few months, I have been getting…3 min read·Aug 29, 2022----
Shivani DwivediBenefits of drinking more waterHeadache in regular intervals, inconsistent weight drop or gain, foggy brain during work; if these are the symptoms you can relate then you…2 min read·Mar 5, 2023--1--1
Shivani DwivediJava : Right side view of a Binary TreeProblem Statement: Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see…2 min read·Dec 28, 2020----
Shivani DwivediJava: Populating Next Right Pointers in Each Node of a Binary TreeProblem Statement : You are given a perfect binary tree where all leaves are on the same level, and every parent has two children…2 min read·Sep 12, 2020--1--1
Shivani DwivediJava: Check if an undirected graph is bipartite or not.Problem Statement: Given an undirected graph , return true if and only if it is bipartite.2 min read·Aug 7, 2020----
Shivani DwivediJava: Lowest Common Ancestor of a Binary TreeProblem Statement: Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.1 min read·Jul 24, 2020----
Shivani DwivediJava: How to Delete a Node in Binary Search TreeProblem Statement: Given a root node reference of a BST and a key, delete the node with the given key in the BST. Return the root node…2 min read·Jul 23, 2020----