Posts

definition and Type of execution context | code execution , callstack and hoisting in Javascript | Interview manthan

Top 3 JavaScritp Interview Question  Execution context :  It is an environment where javascript code is executed. Here environment is referring to this, variable,objects,function etc is accessiable at perticular time. Example : It could be like a container where everything a task that we perform by javascript will take place. Type of execution context: There are two two types in execution context. Globle execution context :   It is globle context where every code and its referrence is present and  there is only one globle executionl context in javascript. when page is load it is the first thing to load on callstack(defined below). Functional/local execution context : It is local context of a code where it's code is accessible.Code inside the function will avaible for itself and child funtion/local scope. There are two phase of execution context: When page is load js engine will not perform task directly on the variables,objects etc. The process is dived in two p...

Level order traversal OR Breadth First Search (BFS) | DSA with echocoding

Image
Hey In this post we are going to know about Level order traversal know as Breadth First Search (BFS). Breadth First Search (BFS) is used to access element in graph data structure and in this post we are using BFS with tree data structure. Because tree is also a kind of graph data structure. In the above we can see a tree is constructed and first node is 1 which is root node in this example. So the value of this tree will be print(access) level by level. such as  in level 00 there is node of data 1, in level 01 there is node of data 2 and 3 , in level 02 there is node of data 4,5,6 and 7 and Last level,level 03 which is not considering becuase there is no data it is Null. hence there are only 3 level.  so the printed data is 1 2 3 4 5 6 7 level by level. this kind of traversal is called as level order traversal(BSF). In programming this can be achieved by quequ data structure .

NO JOB on linkedIn But How Can I find job | Story of finding job phase 1 by stupid one

Image
 Hey I am also searching job like you on linkedIn and I am telling you did not find even one. And I can assume that if you come to this post you are also like me but wait I am going to tell you something that work for me so please please read the one minute blog. Outcome: You will know some tricks which actually works that I find during process of finding job. even right now I did not get the job but I got the response for future referrence. Stay tune. Let's begin the story. So I started my journey to find job by following approach. Approach 1 : By applying job on linkedIn but this is reccession time and I am unable to find a single job by this process.  Outcome : I got know that I need to learn two more thing nodejs, expressjs although I have knowledge of php but it is almost out of market.So I added nodejs and expressjs in bucket list. Approach 2: cold message and it works for me. So I message daily 10-20 people on linkedIn with a general template where I mention I am lo...

Pattern Question (print number pattern in c plus plus) with source code and small explanation 06 || Print pattern using c++ with 5 rows and 5 columns

Image
   Here I am going to print following pattern (  the number pattern ) using c plus plus language. ALGORITHM FOR PRINTING STAR PATTERN IN ASCENDING ORDER OF ROWS : header file include use namespace which standard in c plus plus Program's starting point : main() function declared two variable a  also initialize on variable count with value 0 get input of variable a use for loop for row till a use again for loop till current row number (i) for  getting column. to achieve this pattern we have to print counter numbers in increasing order (like 1,2,3,4,5...) only till column(j) which is equal to row number (i) here we are using increament operator ++ for increasing value by one 1. print row number using cout  break line using line break endl after completing row. return 0 to show that there is no error in the program. #include <iostream> using namespace std; int main(){     int a ,count= 1 ;     cin>>a;     for ( int...