![Nginx 403 Forbidden Error](/media/new_post_images/Nginx_403_Forbidden_Error.webp)
Nginx 403 Forbidden Error
It is obvious that when you work with any system, server, or web resource for maintenance or config…
![Find the Difference (Beautiful Arrangement) Problem Solution](/media/new_post_images/Find_the_Difference_Beautiful_Arrangement_Problem_Solution.webp)
Find the Difference (Beautiful Arrangement) Problem Solution
Problem Given two strings, ‘s’ and ‘t’ have all the characters the…
![Find the sorted triplet in an array](/media/new_post_images/Find_the_sorted_triplet_in_an_array.webp)
Find the sorted triplet in an array
Problem Given an integer array arr, find a sorted triplet such that arr[i] < arr[j] < arr[…
![Activity Selection Problem](/media/new_post_images/Activity-Selection-Problem.webp)
Activity Selection Problem
Problem Given pairs of integers denoting starting and ending time of each task. Find the maximum…
![Job Sequencing Problem](/media/new_post_images/Job-Sequencing-Problem.webp)
Job Sequencing Problem
Problem Given a set of jobs, each with its own deadline and corresponding profit. You get profit…
![Efficiently calculate the frequency of all elements present in a limited range array](/media/post_images/Efficiently_calculate_the_frequency_of_all_elements_present_in_a_limited_range_array.jpg)
Efficiently calculate the frequency of all elements present in a limited range array
Problem Given an array of the sizes n where elements range from 0 to n-1. Calculate the fre…
![Find subarrays with a given sum in an array](/media/new_post_images/Find_subarrays_with_a_given_sum_in_an_array.webp)
Find subarrays with a given sum in an array
Problem Given an unsorted array of nonnegative integers, find a continuous subarray which adds t…
![Find the index that divides an array into two non-empty subarrays with equal sum](/media/post_images/Find_the_index_that_divides_an_array_into_two_non-empty_subarrays_with_equal_sum.jpg)
Find the index that divides an array into two non-empty subarrays with equal sum
Problem Given an integer array, find an index that divides it into two non-empty subarrays havin…
![Count distinct absolute values in a sorted array](/media/new_post_images/Count_distinct_absolute_values_in_a_sorted_array.webp)
Count distinct absolute values in a sorted array
Problem Given a sorted array of integers, return the number of distinct absolute values among th…
![Find minimum product among all combinations of triplets in an array](/media/new_post_images/Find_minimum_product_among_all_combinations_of_triplets_in_an_array.webp)
Find minimum product among all combinations of triplets in an array
Problem Find the minimum product of any three triplets in an array. Sample Input [1, 2, …
![Print Matrix in Spiral Form](/media/new_post_images/Print_Matrix_in_Spiral_Form.webp)
Print Matrix in Spiral Form
Problem Given an integer matrix, print it in spiral form Sample Input [1 2 3 4] [4 5 6 …
![Shift all matrix elements by 1 in spiral order](/media/new_post_images/Shift_all_matrix_elements_by_1_in_spiral_order.webp)
Shift all matrix elements by 1 in spiral order
Problem Given an M x N matrix, shift all its elements by 1 in spiral order Sample Input …