1922. Count Good Numbers

1922. Count Good NumbersDifficulty: MediumTopics: Math, RecursionA digit string is good if the digits (0-indexed) at even indices are even and the digits at odd indices are prime (2, 3, 5, or 7). For ...
0 Read More

Ninjas Training Coding Problem

Problem statement Ninja is planing this ‘N’ days-long training schedule. Each day, he can perform any one of these three activities. (Running, Fighting Practice or Learning New Moves). Ea...
0 Read More

1534. Count Good Triplets

1534. Count Good TripletsDifficulty: EasyTopics: Array, EnumerationGiven an array of integers arr, and three integers a, b and c. You need to find the number of good triplets.A triplet (arr[i], arr[j]...
0 Read More

How to make a really Fast AI

Artificial Intelligence systems have made remarkable progress in recent years, with applications ranging from autonomous driving to natural language processing. However, these systems often specialize...
0 Read More

2179. Count Good Triplets in an Array

2179. Count Good Triplets in an ArrayDifficulty: HardTopics: Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered SetYou are given two 0-indexed arrays nums...
0 Read More