CᴏᴅɪɴɢNᴇʀᴅ 💸🐾
99 subscribers
118 photos
3 videos
15 files
40 links
༗ हरे कृष्णा ༗
"Lost in my own cosmos 💫 | Coding Need Patience 🥀🐾"

❝Face the failure, Until the Failure fails to face you.❞

— Dreamer

» ChikuX69.netlify.app «

DM ? " @ChikuXBot " : 404;
Download Telegram
Day 48👾:
Given an array of strings, return all groups of strings that are anagrams. The strings in each group must be arranged in the order of their appearance in the original array. Refer to the sample case for clarification.
🔥2🥰21👍1
Day 49👾:
Given an unsorted array of integers, find the number of continuous subarrays having sum exactly equal to a given number k.
2👍2🔥1👏1
Day 50👾:
Given an array of integers arr[] and a number k, count the number of subarrays having XOR of their elements as k.
🔥3👍21
Day 51👾:
Given a sorted array arr[] and a target value, the task is to count triplets (i, j, k) of valid indices, such that arr[i] + arr[j] + arr[k] = target and i < j < k.
👍2🔥2🥰1👏1
Day 52👾:
Given an array arr[] and an integer target. You have to find the number of pairs in the array whose sum is strictly less than the target.
🔥3👍2👏1
Day 53👾:
Given an array arr[] and a number target, find a pair of elements (a, b) in arr[], where a<=b whose sum is closest to target.
Note: Return the pair in sorted order and if there are multiple such pairs return the pair with maximum absolute difference. If no such pair exists return an empty array.
🔥31👍1🕊1
Day 54👾:
You are given an integer target and an array arr[]. You have to find number of pairs in arr[] which sums up to target. It is given that the elements of the arr[] are in sorted order.
Note: pairs should have elements of distinct indexes.
👍2👏2🔥1🥰1
Day 55👾:
Given an integer array arr[]. Find the number of triangles that can be formed with three different array elements as lengths of three sides of the triangle.

A triangle with three given sides is only possible if sum of any two sides is always greater than the third side.
👍2🥰2🔥1👏1
Day 56👾:
Given an array arr[] containing only non-negative integers, your task is to find a continuous subarray (a contiguous sequence of elements) whose sum equals a specified value target. You need to return the 1-based indices of the leftmost and rightmost elements of this subarray. You need to find the first subarray whose sum is equal to the target.

Note: If no such array is possible then,
return [-1].
🔥3👍1🥰1👏1
Day 57👾:
Given an integer array arr[] and a number k. Find the count of distinct elements in every window of size k in the array.
2👏2👍1🔥1
Happy 75th Republic Day to All 🇮🇳❤️🪖
2🫡2🥰1💘1
Day 58👾:
Given a string s, find the length of the longest substring with all distinct characters.
🔥32👍1
Day 59👾:
Given an array arr[] with non-negative integers representing the height of blocks. If the width of each block is 1, compute how much water can be trapped between the blocks during the rainy season.
🔥3👍2👏1
Day 60👾:
Given an array arr[] of non-negative integers, where each element arr[i] represents the height of the vertical lines, find the maximum amount of water that can be contained between any two lines, together with the x-axis.

Note: In the case of a single vertical line it will not be able to hold water.
👍3🔥1🥰1👏1
Day 61👾:
Given an array of integers arr[], the task is to find the first equilibrium point in the array.

The equilibrium point in an array is an index (
0-based indexing) such that the sum of all elements before that index is the same as the sum of elements after it. Return -1 if no such point exists.
2👏2👍1🔥1
Day 62👾:
Given an array arr[] containing integers and an integer k, your task is to find the length of the longest subarray where the sum of its elements is equal to the given value k. If there is no subarray with sum equal to k, return 0.
🔥31👍1👏1
Day 63👾:
Given an array arr of 0s and 1s. Find and return the length of the longest subarray with equal number of 0s and 1s.
👍31🔥1🥰1
Day 64👾:
Given an array, arr[] construct a product array, res[] where each element in res[i] is the product of all elements in arr[] except arr[i]. Return this resultant array, res[].
Note: Each element is
res[] lies inside the 32-bit integer range.
👍3🔥1👏1💋1
Day 65👾:
Given the head of a linked list, the task is to reverse this list and return the reversed head.
👍2🔥1👏1🍾1💋1
बसंत पंचमी कि हार्दिक शुभकामनाएं 🌹
2🥰2👍1💘1