Analysis Paralysis: How to recognize and overcome it?

Did you ever experience a scenario where while taking a decision you decided to weigh all options and it led to overthinking and in the end the output being, a confused mind, and no decision?

If the answer is yes, then my friend, you alongside me suffer from analysis paralysis.

What is Analysis Paralysis?

In the most simple terms, Analysis Paralysis is the inability of making a decision.

Analysis Paralysis occurs when we over-analyze or overthink to predict the outcome and try to extract some certainty of the future(Trying to be Dr. Strange in real life.)

It is a never-ending cycle of “what if’s”…

A Sunday Evening Well Spent learning about Internshala’s journey

The 25th year of my life hit me hard. I started focusing on how I spend my free time and at the same time, I started consuming content consciously.

In the quest of finding great content, I came across an interview of Sarvesh Agrawal, Founder, and CEO of Internshala. Though generally, I spend less than 30 minutes on YouTube continuously, this interview kept me hooked on.

Here is me providing a summary of the lessons learned from the following interview -

Internshala Journey and Philosophy

While talking about his journey of Internshala, he mentioned his interest in doing something in the education field as…

Convert Sorted Array to Binary Search Tree

Hey Guys, Welcome Back! This blog is in continuation with our series of solving a question a day.

Question:- Given an integer array `nums` where the elements are sorted in ascending order, convert it to a binary search tree with minimum height.

Example:-

`Input:  [1, 2, 3]Output:     2   /  \  1    3 Input: [1, 2, 3, 4]Output:       3    /  \   2    4  /1OR      2    /  \   1    3         \          4`

Solution:-

After reading the question and the requirement to create a binary search tree with minimum search height, it became clear that we need to create…

(Daily Coding Problem: March 9th, 2020) Shortest Possible Path in a Maze

Hey Guys, Welcome Back! This blog is in continuation with our series of solving a question a day, thanks to daily coding problem.

Question:- You are given an M by N matrix consisting of booleans that represents a board. Each True boolean represents a wall. Each False boolean represents a tile you can walk on.

Given this matrix, a start coordinate, and an end coordinate, return the minimum number of steps required to reach the end coordinate from the start. If there is no possible path, then return null. You can move up, left, down, and right. You cannot move…

(Daily Coding Problem: February 24th, 2020) Given a list of integers, write a function that returns the largest sum of non-adjacent numbers. Numbers can be 0 or negative.

Hey Guys, Welcome Back! This blog is in continuation with our series of solving a question a day, thanks to daily coding problem.

Question:- Given a list of integers, write a function that returns the largest sum of non-adjacent numbers. Numbers can be 0 or negative.

`For example, 1. [2, 4, 6, 2, 5] should return 13, since we pick 2, 6, and 5. 2. [5, 1, 1, 5] should return 10, since we pick 5 and 5.`

Solution:-

After reading the question, the first thing that came in my mind is DP(Dynamic Programming). As scary as these 2 letter…

(Daily Coding Problem: February 23rd, 2020)Given the root of a binary tree, count the number of unival subtrees.

Hey Guys, Recently I came across the daily coding problem. I really liked the idea behind solving every day one question of data structure. Being a full-time developer for 2.5 years, this seemed to be a very intuitive and catchy approach for getting a grip on data structures. I will be sharing my solutions to the everyday problem and would love to have a hearty discussion on it.

Question:- Given the root of a binary tree, count the number of unival subtrees.

A unival tree (which stands for “universal value”) is a tree where all nodes under it have the…

React useContext: A hook to make the use of react context more reader-friendly

Hey Guys, Welcome Back!
Continuing from where we left in the previous post, where I introduced a way to introduce lifecycle methods in functional components using react useEffect hook, the next question that comes to my mind is, Through the useState and useEffect weapon we got all the supplies(state) stored in the arsenal and got a guide to tell how and when to use the supplies, but now we since some guides can be global how to take them till the component without telling each component to pass that guide.

React useEffect : A hook to introduce lifecycle methods in functional components

Hello People, Welcome back!
Continuing from where we left in the previous post, where I introduced you to react hooks and useState and spoke about how to save the state in functional components, the next question that comes to my mind is, Through the useState weapon we got all the supplies(state) stored in the arsenal, but we need a weapon that guides how and when to use the supplies. So, today we will be discussing about that weapon known as the useEffect hook.

useEffect-

According to the react documentation, The useEffect hook lets you perform side effects in function components.

`useEffect(function(){…`

React Hooks: A transition of functions from stateless to stateful components

A little while ago, at work, we were asked to build a new UI product and that is when I came across hooks. Having previously worked with React and class-based components, I was a little skeptical at trying hooks given the deadline. But in the end, we further went on developing the product using functional components. And I can say, I am really happy with how the development cycle went.

Now, like me, I know a lot of people would have been or still are skeptical about shifting from class-based components to functional components. So, here I am bringing a…

Email HTML Templating: A nightmare for newbies

Recently at work, I was given a task to develop an html template supporting all major email clients. I was given a fairly simple looking UX with a background image and a centre div with some images, text and disclaimer. Upon first look, It felt like an easy job to do. Oh boy was I wrong!

So, after some research on email templating and some hands on experience I thought of sharing with you all the resources helpful while building email template and all the pain-points to look after.

1. STYLING RESTRICTIONS (CSS LIMITATIONS)
There are a couple of points to remember…

Divya Biyani

Software Developer by profession, with a passion of sharing knowledge.

Get the Medium app