APAyush Patidarinayushpatidar.hashnode.dev·Sep 4, 2024 · 3 min readChildren Sum Property - Binary TreeProblem Statement: Given a Binary Tree, convert the value of its nodes to follow the Children Sum Property. The Children Sum Property in a binary tree states that for every node, the sum of its children's values (if they exist) should be equal to the...00
APAyush Patidarinayushpatidar.hashnode.dev·Jan 26, 2024 · 2 min readEvent Loop in JavaScriptIn JavaScript, the event loop is a mechanism for handling asynchronous operations/code and handling events. It allows the execution of non-blocking code, making it possible to handle multiple tasks efficiently without blocking the main thread. CALL ...00
APAyush Patidarinayushpatidar.hashnode.dev·Jan 7, 2024 · 2 min readHit and Run New LawMy Opinions on Hit and Run New Law The Indian governmnet under Bhartiya Nyay Sanhita was introduced a new law that siginificantly addressed to the "DRIVERS". This newly law is imposed strict panelties for drivers who flee from accident spot. Accordin...00
APAyush Patidarinayushpatidar.hashnode.dev·Jan 5, 2024 · 3 min readSynchronization of ThreadsWhat is synchronization of Threads? Whenever two or more threads access the common object and perform some task then the output generated is unsynchronized.Unsynchronized output means the outupt is not the desired or expected. Let us aussume three th...00
APAyush Patidarinayushpatidar.hashnode.dev·Jan 1, 2024 · 2 min readWhat is Multithreading ? How it is achieved in Java ?The very basic meaning we can derived form term "mutithreading" is 'multi' means many and 'thread' means a light-weighted process. When multiple process of same application is running or processing simultaneously then it is said to be Multithreading....00