Tutorials
Courses
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
19.9K+ articles
Misc
7.8K+ articles
C++
3.7K+ articles
STL
1.3K+ articles
frequency-counting
745+ articles
CPP-Functions
619+ articles
prefix-sum
348+ articles
CPP-Library
254+ articles
cpp-template
39+ articles
cpp-ratio
7 posts
Recent Articles
Popular Articles
ratio_equal() in C++ with examples
Last Updated: 20 March 2023
The ratio_equal() is an inbuilt function in C++ STL that checks if two given ratios are equal or not. Syntax:template class ratio1_name, class ratio2_name ratio_equalTem...
read more
Misc
C++
STL
CPP-Library
CPP-Functions
cpp-template
cpp-ratio
ratio_not_equal() in C++ with examples
Last Updated: 20 March 2023
The ratio_not_equal is an inbuilt function in C++ STL that checks if two given ratios are not equal or equal. Syntax:template class ratio1_name, class ratio2_name ratio_...
read more
Misc
C++
STL
CPP-Library
CPP-Functions
cpp-template
cpp-ratio
ratio_less() function in C++
Last Updated: 26 July 2018
The ratio_less() is an inbuilt function in C++ which checks if the ratio R1 is less than the ratio R2. It returns True if the ratio is less than ratio 2, else it returns f...
read more
Misc
C++
STL
CPP-Library
CPP-Functions
cpp-ratio
ratio_greater() function in C++
Last Updated: 26 July 2018
The ratio_greater() is an inbuilt function in C++ which checks if the ratio R1 is greater than the ratio R2. It returns True if the ratio is greater than ratio 2, else it ...
read more
Misc
C++
STL
CPP-Library
CPP-Functions
cpp-ratio
ratio_less_equal() function in C++
Last Updated: 09 August 2021
The ratio_less_equal() is an inbuilt function in C++ which checks if the ratio R1 is less than or equal to the ratio R2. It returns True if the ratio is less than or equal...
read more
C++
STL
CPP-Library
CPP-Functions
cpp-ratio
ratio_greater_equal() function in C++
Last Updated: 26 July 2018
The ratio_greater_equal() is an inbuilt function in C++ which checks if the ratio R1 is greater than or equal to the ratio R2. It returns True if the ratio is greater than...
read more
C++
STL
CPP-Library
CPP-Functions
cpp-ratio
Calculate Sum of ratio of special characters to length of substrings of the given string
Last Updated: 06 October 2022
Given a string str and an array of special characters, specialArray[], the task is to find the sum of the ratio of the count of special characters to the length of the sub...
read more
DSA
prefix-sum
frequency-counting
cpp-ratio
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 !