Courses
Tutorials
Practice
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
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Java
10.8K+ articles
Mathematical
7.8K+ articles
C++
4.3K+ articles
Competitive Programming
3.3K+ articles
C++ Programs
2.4K+ articles
Algorithms
2.0K+ articles
C Language
1.8K+ articles
Programming Language
/
C++
/
C++ Quiz
C++ Quiz
155+ posts
Recent Articles
Popular Articles
C ++
Last Updated: 08 July 2024
Quizzes on C++ LanguageConstructors(17)References(6)Class and Object(6)Misc C++(7)Destructors(5)Operator Overloading(10)this pointer(5)Function Overloading and Default Arg...
read more
C++ Quiz
Accolite Digital interview Experience | On-Campus
Last Updated: 06 September 2021
Round 1: Aptitude RoundThe process started with the aptitude test in which basic C++ code snippets were given and few questions were from oops and DBMS concepts too.Round ...
read more
Interview Experiences
Accolite
Dynamic Programming
Greedy
Geometric
Competitive Programming
Experienced
TechTips
Recursion
C++
Placements
Quizzes
C++ Quiz
On-Campus
Software Engineering
Marketing
DSA
Experiences
How to find Size of std::forward_list in C++ STL
Last Updated: 08 October 2021
Forward list in standard template library of C++. It comes under #includeforward_list header file. It is implemented as a singly linked list. It was introduced in C++ 11 f...
read more
STL
C++
C++ Quiz
C++ Programs
CPP-forward-list
Test Case Generation | Set 6 (Random Unweighted Binary Tree)
Last Updated: 17 April 2023
Generating Random Unweighted Binary Tree:Since this is a tree, the test data generation plan is such that no cycle gets formed.The number of edges is one less than the num...
read more
Tree
Binary Tree
Queue
Algorithms
Randomized
BFS
C++
C++ Quiz
cpp-queue
cpp-map
cpp-random
DSA
Generation Google Scholarship (APAC) Online Challenge Experience
Last Updated: 26 April 2021
I had applied for an APAC scholarship in March 2021 through their Google Career Page and I got a mail that there will be an Online Challenge from 9th April to 10th April. ...
read more
Articles
Google
Interview Experiences
Aptitude
Computer Science Quizzes
C Quiz
C++ Quiz
DSA Quiz
Experiences
Convert a Binary String to another by flipping prefixes minimum number of times
Last Updated: 17 January 2022
Given two binary strings A and B of length N, the task is to convert the string A to B by repeatedly flipping a prefix of A, i.e. reverse the order of occurrence of bits i...
read more
Strings
Pattern Searching
Technical Scripter
Competitive Programming
Internship
binary-string
Puzzles
C++
Data Structures
GeeksQuiz
Quizzes
C++ Quiz
DSA Quiz
Java Programs
Technical Scripter 2020
DSA
C/C++ Puzzles
Experiences
Difference between int* p() and int (*p)()?
Last Updated: 11 December 2020
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, a pointer must be decla...
read more
Algorithms
C Basics
cpp-pointer
C Language
C++
Pointers
C Quiz
C++ Quiz
C++-new and delete
DSA
C/C++ Puzzles
Examples of Big-O analysis
Last Updated: 02 November 2023
Prerequisite: Analysis of Algorithms | Big-O analysisIn the previous article, the analysis of the algorithm using Big O asymptotic notation is discussed. In this article, ...
read more
Articles
time complexity
Analysis of Algorithms
C++
Placements
CS - Placements
C++ Quiz
Analysis of Algorithms
Algorithms-Analysis of Algorithms (Recurrences)
C++ Programs
DSA
C/C++ Puzzles
How to access private/protected method outside a class in C++
Last Updated: 05 August 2021
Prerequisites: Access Modifiers in C++, Runtime PolymorphismPrivate: The class members declared as private can be accessed only by the functions inside the class. They are...
read more
C++
C++ Quiz
C++-Class and Object
access modifiers
C++ Programs
C/C++ Puzzles
Search by value in a Map in C++
Last Updated: 24 January 2023
Given a set of N pairs as a (key, value) pairs in a map and an integer K, the task is to find all the keys mapped to the given value K. If there is no key value mapped to ...
read more
Algorithms
Searching
Sorting
Binary Search Tree
Advanced Data Structure
Competitive Programming
C++
C++ Quiz
C++ Programs
cpp-map
Write From Home
DSA
C/C++ Puzzles
Count of square free divisors of a given number
Last Updated: 23 April 2021
Given an integer N, the task is to count the number of square-free divisors of the given number.A number is said to be square-free, if no prime factor divides it more than...
read more
Interview Experiences
Mathematical
Technical Scripter
Competitive Programming
prime-factor
C Language
C++
C++ Quiz
number-theory
divisors
factor
DSA
Experiences
Reversed Range-based for loop in C++ with Examples
Last Updated: 08 July 2020
Range-based for loops is an upgraded version of for loops. It is quite similar to for loops which is use in Python. Range-based for loop in C++ is added since C++ 11.We ca...
read more
loop
Algorithms
Analysis of Algorithms
Searching
Advanced Data Structure
Competitive Programming
C++
C++ Quiz
C++ Programs
DSA
Length of race track based on the final distance between participants
Last Updated: 14 November 2022
Given three integers A, B, and C, the task is to find the length of a race track if 3 racers are competing in a race where the first racer beats the second racer by A mete...
read more
Interview Experiences
Algorithms
Mathematical
Competitive Programming
interview-preparation
Quizzes
Aptitude
C++ Quiz
C++ Programs
Java Programs
Python Programs
CAT Quiz
Postman
DSA
C/C++ Puzzles
Experiences
Check if its possible to make sum of the array odd with given Operations
Last Updated: 22 December 2022
Given an array arr[], the task is to check if it is possible to make the sum of array odd such that any two indices i and j can be chosen and arr[i] can be set equal to ar...
read more
Arrays
Articles
Searching
Competitive Programming
Puzzles
C++
School Programming
Placements
C++ Quiz
C++ Programs
DSA
CamelCase Pattern Matching
Last Updated: 03 December 2024
Given a list of words where each word follows CamelCase notation, the task is to print all words in the list that matches the given pattern, where the pattern consists of ...
read more
Arrays
Strings
Pattern Searching
Searching
Sorting
Hash
Competitive Programming
Computer Subject
C++
Data Structures
C++ Quiz
C++ Programs
DSA
C/C++ Puzzles
1
2
3
4
...
11
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 !