1,724 articles across 10 categories

Stories, Tutorials & Life Tips

Deep dives on coding, health, recipes, travel and everything in between.

📍 Explore Reading Paths

Follow curated journeys from beginner to expert

What is Asymptotic Analysis and how to calculate it?
Featured

What is Asymptotic Analysis and how to calculate it?

In mathematical analysis, asymptotic analysis, also known as asymptotics, is a method of describing limiting behavior. As an illustration, suppose that we are interested in the properties of a functi

2 min read16 Jul 2018
Read article
Find the smallest sub array with a sum greater than a given number.

Find the smallest sub array with a sum greater than a given number.

You are given an array of integers and a particular number, you need to find the smallest subarray possible with a sum g

1 min16 Jul
find the smallest integer which cannot be represented as the sum of any of the subset of the given array.

find the smallest integer which cannot be represented as the sum of any of the subset of the given array.

We have been given a sorted array in increasing order of only positive values, now it is required to find the smallest p

1 min15 Jul
Check if Pythagorean Triplet is present in an Array

Check if Pythagorean Triplet is present in an Array

You will be given an array of integers, you have to write a function which will return true if there is a triplet (a, b,

2 min14 Jul
Convert an Array into Zig-Zag Fashion

Convert an Array into Zig-Zag Fashion

You are given an array of some distinct elements, you have to rearrange those elements of the array in a zig-zag fashion

1 min13 Jul
Cutting Rod Problem to get maximum profit

Cutting Rod Problem to get maximum profit

You are given a rod of a particular length and prices at which those different lengths of this rod can be sell, how will

1 min13 Jul
Minimum Coin Count For a Coin Change Sum Problem

Minimum Coin Count For a Coin Change Sum Problem

Coin Changing Minimum Count Number of Coins With a Sum Using Dynamic programming. The question is given coins of certai

1 min13 Jul
Triplet counts with sum smaller than given Number

Triplet counts with sum smaller than given Number

We are given an array of distinct integers and along with it a sum value. We have to find count of triplets with sum tha

1 min13 Jul
Find all possible palindromic partitions in a given string

Find all possible palindromic partitions in a given string

We will be using recursion for solving this problem. The idea is to navigate through each substring starting from f

1 min13 Jul
Reverse an array items without affecting any special characters position

Reverse an array items without affecting any special characters position

In a given string, which also contains special character along with alphabets (‘a’ to ‘z’ and &l

1 min12 Jul
Coin Change Problem Algorithm Solution

Coin Change Problem Algorithm Solution

The change-making problem, also known as minimum coin change problem, addresses the question of finding the minimum numb

1 min12 Jul
Find Longest Increasing Subsequence Using Binary Search

Find Longest Increasing Subsequence Using Binary Search

In this approach we will find longest increasing Subsequence using Binary Search. Time Complexity for this approach will

1 min12 Jul
Find Longest Increasing Subsequence

Find Longest Increasing Subsequence

Finding Longest Increasing Subsequence in an array in N^2 Time complexity. The task is to find the length of the longes

1 min12 Jul
Write a Simple Hello World Program in JAVA.

Write a Simple Hello World Program in JAVA.

Writing a simple hello world programm in java. Java is a general-purpose computer-programming language that is conc

1 min12 Jul
परिवार के साथ बैंगलोर में जाने के लिए सबसे अच्छे स्थान।

परिवार के साथ बैंगलोर में जाने के लिए सबसे अच्छे स्थान।

Bangalore is sometimes referred to as the "Silicon Valley of India" (or "IT capital of India") because of its role as th

1 min5 Jul
Blog — Page 114 | AskGif