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
Count of integers having difference with its reverse equal to D
Given an integer D, the task is to find the count of all possible positive integers N such that reverse(N) = N + D.Examples:Input: D = 63Output: 2Explanation:For N = 18, 1...
Read More
Java
Greedy
Searching
Mathematical
Python
C Language
C++
misc
Numbers
DSA
Count 1s present in a range of indices [L, R] in a given array
Given an array arr[] consisting of a single element N (1 ≤ N ≤ 106) and two integers L and R, ( 1 ≤ L ≤ R ≤ 105), the task is to make all array elements either 0 or 1 usin...
Read More
Arrays
Mathematical
Recursion
DSA
Types Of Activation Function in ANN
The biological neural network has been modeled in the form of Artificial Neural Networks with artificial neurons simulating the function of a biological neuron. The artifi...
Read More
Technical Scripter
Machine Learning
Technical Scripter 2020
AI-ML-DS
Check if two binary strings can be made equal by swapping pairs of unequal characters
Given two binary strings S1 and S2 of length N (1 ? N ? 105), the task is to check if it is possible to convert the string S1 toS2 by performing the following operations a...
Read More
Strings
Searching
Technical Scripter
binary-string
frequency-counting
Technical Scripter 2020
DSA
Count pairs of similar rectangles possible from a given array
Given a 2D array A[][2] of size N (1 ? N ? 103), where A[i][0] and A[i][1] denotes the length and breadth of rectangle i respectively.Two rectangle i and j where (i j) ar...
Read More
Arrays
Searching
Mathematical
Geometric
Competitive Programming
C++ Programs
square-rectangle
Geometric-Lines
DSA
Find the index with minimum score from a given array
Given an array A[] of size N(1 ? N ? 105), consisting of positive integers, where the score of an index i in range [0, N - 1] is defined as:Score[i] = A[i] * ((i + A[i] N...
Read More
Arrays
Dynamic Programming
Pattern Searching
Searching
DSA
Mathematical Approach to PCA
The main guiding principle for Principal Component Analysis is FEATURE EXTRACTION i.e. "Features of a data set should be less as well as the similarity between each other ...
Read More
Technical Scripter
Machine Learning
python
Technical Scripter 2020
AI-ML-DS
C- TypeCasting
Typecasting in C is the process of converting one data type to another data type by the programmer using the casting operator during program design.In typecasting, the des...
Read More
Technical Scripter
C Basics
C Language
Art Gallery Problem
Problem Description:The Art Gallery Problem is formulated in geometry as the minimum number of guards that need to be placed in an n-vertex simple polygon such that all po...
Read More
Articles
NPHard
Algorithms
Advanced Data Structure
Python
Competitive Programming
DSA
Exit a loop in C++
Exit a Loop in C++: If the condition of an iteration statement (for, while, or do-while statement) is omitted, that loop will not terminate unless the user explicitly exit...
Read More
loop
C++
Loops & Control Structure
C++ Programs
8 Key Elements of a Product Information Management System
Without an online presence, it is quite tough for a retail and manufacturing organization to reach out to a large user base and generate better sales. An eCommerce platfor...
Read More
Articles
GBlog
Digital-Marketing
Finding the Odd Word amongst given words using Word2Vec embeddings
Odd One out the problem is one of the most interesting and goto problems when it comes to testing the logical reasoning skills of an individual. It is often used in many c...
Read More
Machine Learning
AI-ML-DS
Random password generator in C
In this article, we will discuss how to generate a random password of a given length consists of any characters.Approach:The below-given program involves basic concepts li...
Read More
Arrays
Strings
Technical Scripter
cpp-random
Technical Scripter 2020
DSA
Method of guessing and confirming
The basic idea behind this method is to guess the answer, and then prove it correct by induction. This method can be used to solve any recurrence. If a solution is guessed...
Read More
Articles
time complexity
Algorithms
Analysis of Algorithms
DSA
Explainable AI(XAI) Using LIME
The vast field of Artificial Intelligence(AI) has experienced enormous growth in recent years. With newer and more complex models coming each year, AI models have started ...
Read More
Machine Learning
Artificial Intelligence
data-science
python
Technical Scripter 2020
Data Science
AI-ML-DS
1
...
6841
6842
6843
...
11540