Posts

Showing posts from April, 2025

Magic EdTech

  // console.log(1)  //1 // let promise= new Promise((resolve,reject)=>{ //   console.log(2) //   setTimeout(() => { // console.log(12) //     resolve('foo'); //   }, 10);  // }) // console.log(3) //3  // promise // .then(data=>{ //         console.log(4,data) // }) // .catch(data=>{ //         console.log(5,data) // }) // console.log(7) // setTimeout(()=>{ // console.log(6) // },0) // //macro --6, (foo12) // //1 // //3 // //7 // //2-->  // //6 // //12 // //4 ,foo //Question: Given an array of integers, find two numbers such that they add up to a specific target value. Implement the function and optimize it for time complexity. // nums = [ 7, 11, 15,5] // target = 7 // //output: [0,1] // let map =new Map(); // // { } // for(let i=0;i<nums.length;i++){ //   let varFind = target-nums[i];    //   if(map.has(varFind)){ //...
 // a=10 // b=20   // const temp = a;  https://github.com/sudheerj/reactjs-interview-questions // a = b; // b = temp;//10   // a = a + b; //30 // b = a - b; //10 // a = a - b;//20   // [a, b] = [b, a]; // console.log(a,b) console.log(a,b) //life cycle method in react -->class based component //render props //hoc //automatic batching //what is call stack, how does the call stack //how the virtual dom is working //how the call stack is working //what is fiber algo //what is reconciliation Please go through these topics Call stack VIrtual Dom FIber Algorithm https://codesandbox.io/p/sandbox/clever-diffie-nqhck7 factory function fiber vs old reconciliation const length = 4; const numbers = []; for (var i = 0; i < length; i++); {   numbers.push(i + 1); } console.log(numbers); es6 const scores = [22, 33]const [math = 50, sci = 50, arts = 50] = scores   https://devhints.io/es6   pROMISE const data = [   {     id: 1,   ...

Internal Interview

 //let const  //promises //Symbol //class //?? //EVENT LOOP //mircro --> promises --> fetch //macro/callback --> setTimeout(function() {}, 10); /** componentDidMo --> [] comonp ->[] timerID = setTimeout() return ()=>{    } */ //errorhandling--> componentdidcatch //dispatch --> token  //createAsyncThunk  //dispatch -->  //middleware  //react-router-dom //react-testing-library  //webdriver.io --> e2e //pipeline  //axios //enum name = unknown any  //eslint -->consle.log()  //eslintconfig --> //senorconfig in project //img load='lazy'  //webpack -->configuration //--> deep 

Althaf interview experience

Previous project flow Technologies which u used react js optimisation techniques life cycle methods Useeffect where will use Usecontext api Redux vs contextapi diff Axios vs fetch diff Async vs promise Javascript - let var const diff Closer with example Es6 features HTML- symmetric vs non symmetric Grid vs flex Media query Node js basic questions SQL queries Aws lambda workflow