Do you Know? In how many ways, you can express your algorithm? There are two ways to express your algorithms- 1. Iterative Algorithms 2. Recursive Algorithms Recursive algorithms can be converted into iterative algorithms and iterative algorithms can be converted into recursive algorithms, both have same in power. We will…
Author: manorinfinity
Complex Problem Solver, Outloud Thinker, An Outstanding Writer, and a very curious human being
Do you know? How can you analyze the performance of an algorithm? Performance Analysis: Performance analysis of an algorithm is the process of calculating time and space required by that algorithm. There are three types of analysis- 1. Worst Case: In the worst case, an algorithm performs the maximum number…
If you lose your smartphone charger and you are a price-conscious person, most probably you will pick a duplicate charger or a fake charger. Fake chargers are cheap initially but they could be expensive over time. As much as this applies to the charger it also applies to the charging…
1. What is recursion? Any function(in your program) which calls itself is called a ‘recursive function’ and this process is known as ‘recursion‘. A recursive function solves a problem by calling a copy of itself, by working on a smaller distinct of the actual problem. The recursion step must…
1. What is C programming? or When was the C language invented? or When was the C language created? or When the C programming language was developed? or Where the C programming language was developed? C is a programming language that is used for general purpose. It is a procedural,…
When it comes to pagination, the first solution that comes to our mind is fetching all the documents form MongoDB and then create a Javascript function to run on that data to do pagination. But there is a better way, you can use limit, sort and skip mongo function to…
When I first bought this Samsung Galaxy Note 10 in January 2020, I was under the impression that I have to upgrade post 1.5 years as this is usually my upgrade cycle of any phone. But, since Samsung announced 3 years updates, This started to look more promising. Now, a…
If you are looking for a new high-end laptop you might wanna get one of those M1 Macbooks. Apple M1 chip brings huge performance improvement and battery backup advantage. But, it is not the right time to buy the M1 Macbooks. June 2021 will be the month when we will…