Nov 17, 2021Open the lock problem with JavaScriptYou have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'. The wheels can rotate freely and wrap around: for example we can turn '9' to be '0', or '0' to be '9'. …JavaScript2 min readJavaScript2 min read
Oct 29, 2020Redux-Saga with React - Fetching from Geolocation APIGeolocation works just as an asynchronous call. It's fairly simple to fetch it and store it in the component state with react. With redux-saga, you can easily do it by the following method actions.js geoSaga.jsRedux Saga1 min readRedux Saga1 min read
May 17, 2020Redux with React for Complete BeginnersWhen I was beginning with react it was a little bit hard to get around with redux state management. I failed interviews because I couldn’t explain well how this works. And so later I learnt this by building apps and trying tutorials on redux. It took some time to actually…JavaScript8 min readJavaScript8 min read
Aug 29, 2019JavaScript solution for Odd Occurrences In an ArrayThis is the codility problem in Lesson #2.1 A non-empty array A consisting of N integers is given. …JavaScript2 min readJavaScript2 min read
Published in Zero To Mastery·Jul 29, 2019How I transitioned from Mechanical Engineering into Web Developer Full TimeUnarguably Mechanical Engineering is one of the best fields of engineering to pursue. But the taste and passion can be different for people. But every decision you take in your life may not be right. Sometimes you may end up taking courses that may not bring the best in you. …Programming7 min readProgramming7 min read