Monthly Archives: October 2022

BLOG ON TIME COMPLEXITY OF ALGORITHM

What is Time Complexity? Time Complexity is the time consumed by the algorithm to complete its execution. Time Complexity is measured by summing the time of all the elementary operations. There are many notations to represent the time complexity like:- (1)Big Oh, O (2)Omega, Ω (3)Theta, Θ But, the most commonly used notation for Time Continue Reading »

HOISTING IN JAVASCRIPT (Variables & Function)

A Person with another programming background is definitely confused with hoisting in Javascript. So let’s deep dive into the hoisting in javascript The Javascript engine creates the global execution context when we execute a piece of Javascript code. Global Execution Context has two phases : (i) Creation Phase (ii) Execution Phase Definition: During the creation Continue Reading »