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
Ruby | Array &() function
Array#() : () is an Array class method which returns a new array containing unique elements common to the two arrays.Syntax: Array.()Parameter: Array for the comparison Re...
Read More
Ruby
Ruby-Methods
Ruby Array-class
Implementing Counting Sort using map in C++
Counting Sort is one of the best sorting algorithms which can sort in O(n) time complexity but the disadvantage with the counting sort is it's space complexity, for a smal...
Read More
Algorithms
Sorting
C++ Programs
cpp-map
counting-sort
DSA
Ruby | Array <=> function
Array#() : () is an Array class method which performs the comparison between the two arrays. Syntax: Array.()Parameter: Array for the comparison Return: 1 : if a b-1 : i...
Read More
Ruby
Ruby-Methods
Ruby Array-class
Ruby | Array repeated_permutation() function
Array#repeated_permutation() : repeated_permutation() is a Array class method which returns all repeated permutations of length n of the elements of the array, then return...
Read More
Ruby
Ruby-Methods
Ruby Array-class
Check if it is possible to perform the given Grid Division
Given two integers N and M which represent the size of a grid. Also given an integer array arr[] of size P which represent that the given grid is divided into P parts each...
Read More
Mathematical
DSA
Ruby | Array to_h() function
Array#to_h() : to_h() is a Array class method which returns the result of interpreting ary as an array of [key, value] pairs.Syntax: Array.to_h()Parameter: ArrayReturn: th...
Read More
Ruby
Ruby-Methods
Ruby Array-class
SQL Stored Procedures
A stored procedure in SQL is a group of SQL queries that can be saved and reused multiple times. It is very useful as it reduces the need for rewriting SQL queries. It enh...
Read More
DBMS
SQL
Difference between IPSec and SSL
IPSec Protocol is an Internet Engineering Task Force standard suite of protocols between two communication points. It can also be defined as encrypted, decrypted, and auth...
Read More
Computer Networks
Difference Between
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
The human brain can easily process visuals in spite of long codes to understand the algorithms. In this article, Selection Sort visualization has been implemented using gr...
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
1
...
9534
9535
9536
...
11560