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…Aug 29, 2022Aug 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…Mar 5, 20231Mar 5, 20231
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…Dec 28, 2020Dec 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…Sep 12, 20201Sep 12, 20201
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.Aug 7, 2020Aug 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.Jul 24, 2020Jul 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…Jul 23, 2020Jul 23, 2020