Sign in

January Leetcode Challenge

Given two binary trees original and cloned and given a reference to a node target in the original tree.

The cloned tree is a copy of the original tree.

Return a reference to the same node in the cloned tree.

Note that you are not allowed to change any of…

Using mathematics to measure code’s efficiency

The idea behind

Big O notation is the language we use for talking about how long an algorithm takes to run. It’s how we compare the efficiency of different approaches to a problem.

With big O notation we express the runtime in terms of how quickly it grows relative to the input, as…


The process for admissions in 23 IITs, 31 NITs, 26 IIITs and 29 Other-Government Funded Technical Institutes (Other-GFTIs) is managed by JoSAA (Joint Seat Allocation Authority), and the process is popularly known as JoSAA counselling. …


I am Aviral Jain, currently an undergraduate student from IIT BHU. I love interacting with JEE aspirants, Software Developers and Music (Piano) Lovers.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store