Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Full Stack Developer Roadmap [2024 Updated]
Web Developer/ Full Stack Web Developer - How do you feel when you tag yourself with such titles? A long journey takes place to be called by such names. In the beginning, ...
Read More
Bifid Cipher in Cryptography
This cipher technique considered more secure compared to other substitution algorithms reason being it breaks the message apart into two separate streams and then recombin...
Read More
cryptography
Computer Networks
Difference between Holography and Photography
Holography and photography are two different techniques to generate images.Holography:It is the technique used to generate 3-dimensional images using the phenomenon of Int...
Read More
computer-graphics
Difference Between
What is Graph Database - Introduction
What is a Graph Database?A graph database (GDB) is a database that uses graph structures for storing data. It uses nodes, edges, and properties instead of tables or docume...
Read More
DBMS
Count of characters in str1 such that after deleting anyone of them str1 becomes str2
Given two strings str1 and str2, the task is to count the characters in str1 such that after removing any one of them str1 becomes identical to str2. Also, print positions...
Read More
Strings
Longest Common Prefix
DSA
Sorting Algorithms Visualization | Selection Sort
Pre-requisite: Selection SortThe human brain can easily process visuals in spite of long codes to understand the algorithms. In this article, Selection Sort visualization ...
Read More
Algorithms
Sorting
Data Structures
selection-sort
DSA
Expand the string according to the given conditions
Given string str of the type "3(ab)4(cd)", the task is to expand it to "abababcdcdcdcd" where integers are from the range [1, 9].This problem was asked in ThoughtWorks int...
Read More
Strings
Thoughtworks
Algorithms
DSA
Strings in C++ and How to Create them?
Strings in C++ are used to store text or sequences of characters. In C++ strings can be stored in one of the two following ways:C-style string (using characters)String cla...
Read More
Misc
C++
cpp-strings
Enum Classes in C++ and Their Advantage over Enum DataType
Enums or Enumerated type (enumeration) is a user-defined data type that can be assigned some limited values. These values are defined by the programmer at the time of decl...
Read More
C++
C++ Programs
Deque vs Vector in C++ STL
Deque in C++ Standard Template Library (STL)Double-ended queues are sequence containers with the feature of expansion and contraction on both ends.They are similar to vect...
Read More
cpp-vector
C++
Data Structures
Difference Between
C++ Programs
cpp-deque
DSA
C++ Programming Basics
C++ is a general-purpose programming language and is widely used nowadays for competitive programming. It has imperative, object-oriented, and generic programming features...
Read More
Misc
CPP-Basics
C++
Minimum steps to make the product of the array equal to 1
Given an array arr[] containing N integers. In one step, any element of the array can either be increased or decreased by one. The task is to find minimum steps required s...
Read More
Arrays
Mathematical
DSA
Introduction to C++ Programming Language
C++ is a general-purpose programming language that was developed as an enhancement of the C language to include object-oriented paradigm. It is an imperative and a compile...
Read More
Misc
CPP-Basics
C++
Interactive Problems in Competitive Programming | Set 2
Introduction to interactive problems in competitive programming is already discussed in the previous article. In this article, another problem based on the same concept is...
Read More
Competitive Programming
DSA
Puzzle | Six colored cube
Given six distinct colors, in how many unique ways can a six faced cube be painted such that no two faces have the same color?Note: Mixing of colors is not allowed.Answer:...
Read More
Puzzles
Analytical Mathematical Puzzles
Puzzle | Divide a Square into 5 parts such that 4 parts among them are equal
Puzzle: We have to divide a square into 5 parts such that 4 parts among them are equal. The condition is that even once the pen does not get up.Solution: We can solve the ...
Read More
Puzzles
Puzzles
Shape Puzzles
1
...
8876
8877
8878
...
10994