Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Mathematical
5.1K+ articles
Arrays
4.2K+ articles
AI-ML-DS
3.9K+ articles
Machine Learning
2.5K+ articles
Sorting
1.1K+ articles
Pattern Searching
401+ articles
Analysis of Algorithms
187+ articles
Number Divisibility
75+ articles
optimization-technique
20 posts
Recent Articles
Popular Articles
Optimizing Python Code with Cython
Last Updated: 23 July 2025
Python is renowned for its simplicity and versatility, making it a popular choice among developers across various domains. However, Python's performance can sometimes be a...
read more
Python
Python Programs
optimization-technique
python
Unconstrained Optimization Techniques in Neural Networks
Last Updated: 23 July 2025
Unconstrained optimization plays a crucial role in the training of neural networks. Unlike constrained optimization, where the solution must satisfy certain constraints, u...
read more
Machine Learning
Neural Network
optimization-technique
Machine Learning
AI-ML-DS
Find the most Frequent adjacent Element pairs
Last Updated: 06 January 2024
Given an array arr[] of N integers, the task is to find the most frequent pair of elements in the array. A pair consists of two adjacent elements in the array. If there ar...
read more
DSA
Arrays
Hash
optimization-technique
Programming Basics
Tail Call Optimisation in C
Last Updated: 23 July 2025
In C programming, Tail Call Optimization (TCO) is a technique that eliminates the need for an additional stack frame to store the data of another function by reusing the c...
read more
C Language
Algorithms-Recursion
optimization-technique
tail-recursion
Dragon fly Optimization
Last Updated: 23 July 2025
Due to its simplicity, easy operation, capacity to protect against local optima, and the problem of derivatives free, Metaheuristic was frequently employed throughout the ...
read more
Machine Learning
optimization-technique
AI-ML-DS
Lexicographically Kth-smallest string having 'a' X times and 'b' Y times
Last Updated: 26 July 2025
Given three non-negative integers, X, Y, and K, the task is to find the Kth smallest lexicographical string having X occurrences of character 'a' and Y occurrences of char...
read more
Strings
Dynamic Programming
DSA
optimization-technique
Grey wolf optimization - Introduction
Last Updated: 23 July 2025
Optimization is essentially everywhere, from engineering design to economics and from holiday planning to Internet routing. As money, resources and time are always limited...
read more
Machine Learning
optimization-technique
AI-ML-DS
Minimum cost to empty Array where cost of removing an element is 2^(removed_count) * arr[i]
Last Updated: 15 July 2025
Given an array arr[], the task is to find the minimum cost to remove all elements from the array where the cost of removing an element is 2^j * arr[i]. Here, j is the numb...
read more
DSA
optimization-technique
Minimum operations required to make all Array elements divisible by K
Last Updated: 23 May 2022
Given an array a[], integer K and an integer X (which is initially initialized to 0). Our task is to find the minimum number of moves required to update the array such tha...
read more
DSA
divisibility
optimization-technique
Minimize sum of smallest elements from K subsequences of length L
Last Updated: 12 May 2021
Given an array arr[] of size N, the task is to find the minimum possible sum by extracting the smallest element from any K subsequences from arr[] of length L such that ea...
read more
DSA
subsequence
optimization-technique
Maximize array sum by X increments when each element is divided by 10
Last Updated: 24 December 2021
Given an array arr[] consisting of N non-negative elements and an integer X, the task is to make X increments such that the value of array sum when each element is divided...
read more
Greedy
Sorting
DSA
Arrays
Number Divisibility
optimization-technique
Minimum cost to colour a Tree with no 3 adjacent vertices having same colour
Last Updated: 15 July 2025
Given a tree with N nodes value from 0 to (N - 1) and a 2D array arr[][] of size dimensions 3xN, where arr[i][j] denotes the cost of coloring jth nodes with color value i....
read more
Tree
DSA
tree-traversal
optimization-technique
Minimum Cost to make all array elements equal using given operations
Last Updated: 15 July 2025
Given an array arr[] of positive integers and three integers A, R, M, whereThe cost of adding 1 to an element of the array is A,the cost of subtracting 1 from an element o...
read more
Mathematical
DSA
Arrays
prefix-sum
optimization-technique
Hyperparameters Optimization methods - ML
Last Updated: 12 July 2025
In this article, we will discuss the various hyperparameter optimization techniques and their major drawback in the field of machine learning.What are the Hyperparameters?...
read more
Machine Learning
optimization-technique
Maximize the division result of Array using given operations
Last Updated: 19 October 2022
Given an array arr[] of N integers, the task is to find the maximum value possible remaining in the array by repeating the following two steps:Remove any two array element...
read more
Mathematical
DSA
Arrays
Number Divisibility
optimization-technique
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !