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
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
8 Important Business Skills For an IT Professional
In the world of technology when there is a great demand for different IT professionals and time to time new IT positions are increasing similarly high level of skill sets ...
Read More
GBlog
Construct an N-ary Tree having no pair of adjacent nodes with same weight from given weights
Given an array weights[] consisting of N positive integer, where weights[i] denotes the weight of ith node, the task is to construct an N-ary tree such that no two directl...
Read More
Tree
Graph
Greedy
n-ary-tree
DSA
Sort a stream of integers
Given an array, arr[] of size N whose elements from left to right, must be read as an incoming stream of integers, the task is to sort the stream of integers and print acc...
Read More
Arrays
Binary Search
Searching
Sorting
Binary Search Tree
Competitive Programming
array-stream
DSA
Construct two N-length arrays with same-indexed elements as co-prime and a difference of N in their sum
Given a positive integer N, the task is to generate two arrays of length N such that the same-indexed elements of both the arrays are co-prime and absolute difference betw...
Read More
Arrays
Pattern Searching
Mathematical
divisibility
Numbers
factor
Natural Numbers
DSA
Minimize a binary string by repeatedly removing even length substrings of same characters
Given a binary string str of size N, the task is to minimize the length of given binary string by removing even length substrings consisting of sam characters, i.e. either...
Read More
Strings
Stack
Technical Scripter
binary-string
substring
cpp-stack-functions
Technical Scripter 2020
DSA
Count of substrings of a string containing another given string as a substring
Given two strings S and T, the task is to count the number of substrings of S that contains string T in it as a substring.Examples:Input: S = "dabc", T = "ab"Output: 4Expl...
Read More
Strings
Greedy
substring
DSA
Queries to count minimum flips required to fill a binary submatrix with 0s only
Given a binary matrix mat[][] of size M * N and Q queries of the form {pi, pj, qi, qj}, the task for each query is to count the number of 0s in the submatrix from the cell...
Read More
Mathematical
Matrix
array-rearrange
prefix-sum
prefix
submatrix
DSA
Count ways to split array into two equal sum subarrays by changing sign of any one array element
Given an array arr[] consisting of N integers, the task is to count ways to split array into two subarrays of equal sum by changing the sign of any one array element.Examp...
Read More
Arrays
Greedy
Searching
Mathematical
subarray
prefix-sum
prefix
frequency-counting
suffix-sum
Suffix
partition
DSA
Comparing two ArrayList In Java
Java provides a method for comparing two Array List. The ArrayList.equals() is the method used for comparing two Array List. It compares the Array lists as, both Array lis...
Read More
Java
Technical Scripter
Java Programs
Java-ArrayList
Picked
Technical Scripter 2020
How to Copy and Add all List Elements to an Empty ArrayList in Java?
We can copy and add List items in Array List using addAll() method. This method accepts a Collection (Ex. List) as an argument and adds the collection items at the end of ...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
How to Check whether Element Exists in Java ArrayList?
Java ArrayList is a resizable array, which can be found in java.util package. We can add or delete elements from an ArrayList whenever we want, unlike a built-in array.We ...
Read More
Java
Java-Collections
Java-ArrayList
Picked
Top 10 Cybersecurity Tools That You Should Know
This is the age of the internet! And at this age, it is very important to secure your data on the internet. After all, you wouldn’t want to give a hacker access to all you...
Read More
GBlog
Cyber-security
Listicles
Partition string into two substrings having maximum number of common non-repeating characters
Given a string str, the task is to find the maximum count of common non-repeating characters that can be obtained by partitioning the given string into two non-empty subst...
Read More
Strings
Searching
Hash
Advanced Data Structure
Technical Scripter
cpp-map
frequency-counting
substring
Technical Scripter 2020
DSA
Longest Substring of 1's after removing one character
Given a binary string S of length N, the task is to find the longest substring consisting of '1's only present in the string after deleting a character from the string.Exa...
Read More
Strings
Algorithms
Searching
Technical Scripter
Competitive Programming
interview-preparation
sliding-window
Data Structures
substring
Technical Scripter 2020
DSA
What is Open API in UNIX?
There is a set of generic APIs in UNIX which is used to manipulate files. One of these APIs is the open API. The open API is used to create new files and also to establish...
Read More
Linux-Unix
1
...
6795
6796
6797
...
11268