date
stringlengths
12
12
⌀
text
stringlengths
98
60.4k
topic
stringlengths
15
36k
url
stringlengths
37
226
root_topic
stringclasses
63 values
heading
stringlengths
1
148
related_topics
stringlengths
7
36.6k
author
stringclasses
1 value
vector
stringlengths
44.7k
45.8k
⌀
05 Mar, 2023
Partition array into two subarrays with every element in the right subarray strictly greater than every element in left subarray 05 Mar, 2023 Given an array arr[] consisting of N integers, the task is to partition the array into two non-empty subarrays such that every element present in the right subarray is strictly ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/partition-array-into-two-subarrays-with-every-element-in-the-right-subarray-strictly-greater-than-every-element-in-left-subarray?ref=asr8
HTML
Partition array into two subarrays with every element in the right subarray strictly greater than every element in left subarray
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if every vertex triplet in graph contains two vertices connected to third vertex, Maximum possible Array sum after performing give...
GeeksforGeeks
[0.00241670152, -0.00373704568, -0.00758412, 0.0266426597, 0.0180918593, -0.00382742635, -0.0110343052, 0.0177774914, -0.016441429, 0.0354606733, -0.000902824628, -0.0281516258, 0.0454575643, -0.0222572312, -0.0241591558, -0.0214084387, -0.0217856802, 0.0511161834, -0.0242220294, -0.0414650962, 0.00809496734, -0.026123...
24 May, 2021
Minimum swaps required between two strings to make one string strictly greater than the other 24 May, 2021 Given two strings A and B of length M and N respectively, the task is to find the minimum swapping of two characters required to make string A lexicographically greater than the string B. Examples: Input: A = “143...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-swaps-required-between-two-strings-to-make-one-string-strictly-greater-than-the-other?ref=asr6
HTML
Minimum swaps required between two strings to make one string strictly greater than the other
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if every vertex triplet in graph contains two vertices connected to third vertex, Maximum possible Array sum after performing give...
GeeksforGeeks
[-0.00271576946, -0.00101330318, -0.0142660635, 0.0526722968, 0.0240934491, 0.0139935128, 0.0261025354, 0.0182219371, -0.041863732, -0.00245879334, -0.00795457605, -0.00132089574, 0.0167423766, -0.00508501055, -0.00857365504, -0.0181440655, 0.00608955324, 0.0276132412, -0.0451966338, -0.026803378, 0.00037670348, -0.018...
08 Oct, 2023
Check if two non-duplicate strings can be made equal after at most two swaps in one string 08 Oct, 2023 Given two strings A and B consisting of unique lowercase letters, the task is to check if both these strings can be made equal by using at most two swaps. Print Yes if they can. Otherwise, print No. Example: Input: A...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-two-non-duplicate-strings-can-be-made-equal-after-at-most-two-swaps-in-one-string?ref=asr10
HTML
Check if two non-duplicate strings can be made equal after at most two swaps in one string
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.00507994089, -0.00225818041, -0.0158034023, 0.0481127501, 0.0105227344, 0.00558947865, 0.0106771402, 0.000969377, -0.0156798773, -0.0197021402, -0.0127230128, 0.0108624268, 0.0077897571, -0.0275768209, -0.0226976071, -0.0191462804, 0.00370959193, 0.0323325098, -0.0376131795, -0.0269592, 0.00132209703, -0.0090481620...
09 Nov, 2023
Count of strings in Array A that can be made equal to strings in Array B by appending characters 09 Nov, 2023 Given two arrays of strings SearchWord[] and FindWord[]. The task is to check how many strings in FindWord[] can be formed after the following operations on as many strings as possible: Pick a string from Searc...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-strings-in-array-a-that-can-be-made-equal-to-strings-in-array-b-by-appending-characters?ref=asr10
HTML
Count of strings in Array A that can be made equal to strings in Array B by appending characters
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.00326428865, 0.00939905085, -0.0191481598, 0.0171528291, 0.0110705765, -0.000316692865, 0.00811258797, 0.0201633275, -0.0386813805, -0.000520710892, 0.0105192354, 0.0221586563, -0.00590722449, -0.0324328505, -0.0360559486, 0.00329054287, 0.00569719, 0.038891416, -0.0108867958, -0.0364060067, -0.0271819849, -0.00191...
17 Oct, 2023
Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary String 17 Oct, 2023 Given a string S and a binary string B, both of length N, the task is to check if the given string S can be made palindromic by repeatedly swapping characters at any pair of i...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-a-string-can-be-made-palindromic-by-swapping-pairs-of-characters-from-indices-having-unequal-characters-in-a-binary-string?ref=asr10
HTML
Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary String
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.00770066679, -0.0143870618, -0.0190059, 0.0250135139, 0.0260902029, 0.0201137979, 0.0258249305, 0.000583694142, -0.0213621333, -0.0011732399, 0.00227235979, 0.00115958625, 0.00937031489, -0.0425994322, -0.0180228371, -0.00868373085, 0.0102285454, 0.0152296871, -0.0186314, -0.0193023812, -0.029273456, -0.0223139897,...
19 May, 2021
Check if a string can be made equal to another string by swapping or replacement of characters 19 May, 2021 Given two strings S1 and S2, the task is to check if string S1 can be made equal to string S2 by swapping any pair of characters replacing any character in the string S1. If it is possible to make the string S1 e...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-a-string-can-be-made-equal-to-another-string-by-swapping-or-replacement-of-characters?ref=asr10
HTML
Check if a string can be made equal to another string by swapping or replacement of characters
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.00294839102, 0.0144168194, -0.0157247521, 0.0391345322, 0.0237644743, 0.00736728264, 0.00580810849, 8.00716298e-05, -0.0198332872, -0.0255675018, -0.0162272342, 4.56933631e-05, -0.00856437441, -0.00851264782, -0.0128650349, 0.00359312072, 0.0163750239, 0.0335481092, -0.0227447301, -0.00374829909, -0.0120521951, -0....
27 May, 2021
Longest Common Subsequence (LCS) by repeatedly swapping characters of a string with characters of another string 27 May, 2021 Given two strings A and B of lengths N and M respectively, the task is to find the length of the longest common subsequence that can be two strings if any character from string A can be swapped ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/longest-common-subsequence-lcs-by-repeatedly-swapping-characters-of-a-string-with-characters-of-another-string?ref=asr10
HTML
Longest Common Subsequence (LCS) by repeatedly swapping characters of a string with characters of another string
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.000127799984, 0.011719, -0.0185726546, 0.0442249104, 0.023754321, 0.000261483947, 0.00916582346, 0.00950474106, -0.0542568564, 0.00225568144, 0.00461303769, -0.000357510435, 0.017744191, -0.0264505949, -0.0223082751, -0.0164939649, -0.00398039259, 0.0355185084, -0.0383202247, -0.00326113543, 0.0194914974, -0.012539...
31 May, 2022
Minimize remaining array element by removing pairs and replacing them with their average 31 May, 2022 Given an array arr[] of size N, the task is to find the smallest possible remaining array element by repeatedly removing a pair, say (arr[i], arr[j]) from the array and inserting the Ceil value of their average. Exampl...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimize-remaining-array-element-by-removing-pairs-and-replacing-them-with-their-average?ref=asr9
HTML
Minimize remaining array element by removing pairs and replacing them with their average
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.0232276, -0.0151813375, -0.00934355, 0.0133435149, 0.00899606198, -0.00178762944, 0.00274901115, 0.03178351, -0.0144323092, 0.0193357412, -0.02847852, 0.00512736943, 0.0179149043, 0.00124709355, -0.0231040493, 0.019768171, -0.0222700797, 0.0247565452, -0.0161543023, -0.0508412644, -0.0164322909, -0.0268569123, -0.0...
21 Dec, 2022
Minimize the maximum frequency of Array elements by replacing them only once 21 Dec, 2022 Given an array A[] of length N, the task is to minimize the maximum frequency of any array element by performing the following operation only once: Choose any random set (say S) of indices i (0 ? i ? N-1) of the array such that ev...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimize-the-maximum-frequency-of-array-elements-by-replacing-them-only-once?ref=asr10
HTML
Minimize the maximum frequency of Array elements by replacing them only once
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.0123089692, 0.0161879752, -0.0106825363, -0.00329104578, 0.0319178, 0.00263818167, -0.0253509786, 0.0246942975, -0.00250837253, 0.0188299734, -0.0269086901, 0.00497093, 0.00791072659, -0.0186161697, -0.00720823, 0.00503201643, -0.0213650726, 0.00875066873, -0.00513891829, -0.0311084, -0.0021094, -0.0165239517, -0.0...
29 Jul, 2022
Longest sub-string having frequency of each character less than equal to k 29 Jul, 2022 Given a string str of length n. The problem is to find the length of the longest sub-string in str having frequency of each character less than equal to the given value k. Examples : Input : str = "babcaag", k = 1 Output : 3 abc and...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/longest-sub-string-frequency-character-less-equal-k?ref=asr10
HTML
Longest sub-string having frequency of each character less than equal to k
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.0306399707, 0.0112845479, -0.00442063762, 0.0160977244, 0.042849, -0.0103894146, -0.0121283215, 0.00635031, -0.0473686904, 0.00710970582, 0.0179026648, -0.00542949652, 0.00467743771, -0.0221875645, 7.09354083e-07, -0.00606049225, 0.0225104, -0.0156428199, -0.00536346203, -0.00728946598, -0.00998587161, -0.0241832715...
13 Sep, 2023
Check if frequency of each digit is less than the digit 13 Sep, 2023 Given an integer n, the task is to check if frequency of each digit of the number is less than or equal to digit itself. Examples: Input : 51241 Output : False Input : 1425243 Output : True Naive Approach: Start from 0 and count the frequency for ever...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-frequency-digit-less-digit?ref=asr10
HTML
Check if frequency of each digit is less than the digit
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.0140458485, 0.00356455124, -0.0047704312, 0.024117602, 0.00781167625, 0.0139851756, 0.0161542427, 0.0210991092, 0.0243754629, 0.0205227137, 0.00153579062, -0.0168671533, 0.0333702676, -0.0326421894, -0.0232378393, 0.0113913957, 0.0065906276, -0.00725803291, 0.00438743178, -0.00810745824, -0.0187631901, -0.001883713...
22 Aug, 2022
Check if a K-length substring exists having only 2 distinct characters, each with frequency greater than K/3 22 Aug, 2022 Given a string S of lowercase alphabets and an integer K, the task is to find whether there exists a substring of length K having only 2 unique characters and the count of both of the characters mus...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-a-k-length-substring-exists-having-only-2-distinct-characters-each-with-frequency-greater-than-k-3?ref=asr10
HTML
3
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.0146720307, 0.0158947, -0.0143284043, 0.00586162, 0.0353854857, -0.0195627064, 0.0176447947, 0.000787642726, -0.0253643934, -0.0128340311, -0.0167977177, 0.00501054619, 0.0240538195, -0.0175968464, -0.0136251701, 0.00894226693, -0.00141645828, -0.000327393645, 0.000303669483, 0.0158147868, -0.00923794508, 0.01288997...
19 May, 2021
Check if a subarray exists with sum greater than the given Array 19 May, 2021 Given an array of integers arr, the task is to check if there is a subarray (except the given array) such that the sum of its elements is greater than or equal to the sum of elements of the given array. If no such subarray is possible, print ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-a-subarray-exists-with-sum-greater-than-the-given-array?ref=asr9
HTML
Check if a subarray exists with sum greater than the given Array
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.00475875242, 0.0268780719, -0.00694785081, 0.033575844, 0.0219779704, -0.0158455949, -0.000141575598, 0.0156426318, -0.024225058, 0.0198758561, -0.0187015701, 0.00771258585, 0.0679635406, -0.00689711, -0.0449997485, -0.0136057548, -0.00310967979, 0.0241380744, 0.0119023174, -0.0385919213, 0.00262039457, -0.00505594...
26 Dec, 2024
Smallest subarray with sum greater than a given value 26 Dec, 2024 Try it on GfG Practice Given an array arr[] of integers and a number x, the task is to find the smallest subarray with a sum strictly greater than x. Examples: Input: x = 51, arr[] = [1, 4, 45, 6, 0, 19]Output: 3Explanation: Minimum length subarray is [...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-length-subarray-sum-greater-given-value?ref=asr10
HTML
Smallest subarray with sum greater than a given value
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.0060111396, 0.0224598721, -0.0109099513, 0.00864720345, 0.0158468578, -0.0163954012, 0.028981464, 0.0366915688, -0.0376667604, 0.0144983502, -0.0215303935, 0.0199457072, 0.0679586381, -0.0275034383, -0.0186810065, 0.00333126844, -0.00937097799, 0.0376972333, 0.00148088112, -0.0586638451, -0.017004896, -0.017751528, ...
06 Sep, 2022
Longest subarray with only one value greater than k 06 Sep, 2022 Given an array of N numbers, find length of the longest subarray such that K is the second largest element on insertion. Examples: Input: a[] = {9, 5, 5, 6, 8}, K = 7 Output: 4 The longest subarray is {9, 5, 5, 6}, in which if K is inserted it becomes {9,...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/longest-subarray-with-only-one-value-greater-than-k?ref=asr10
HTML
Longest subarray with only one value greater than k
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.0116494764, 0.00344804814, -0.0140056424, 0.0331833586, 0.0294890199, -0.0222152807, 0.0149169127, 0.0369105339, -0.0500131175, 0.0377315, 0.00463844556, -0.0266649053, 0.0296532139, -0.0193583276, 0.00588220591, 0.0028549016, 0.0014295032, 0.00274407165, -0.0160005856, -0.0358268619, 0.00163269183, -0.0363851152, -...
12 Apr, 2021
Length of longest subarray with product greater than or equal to 0 12 Apr, 2021 Given an array arr[] of N integers, the task is to find the length of the longest subarray whose product is greater than or equals to 0.Examples: Input: arr[] = {-1, 1, 1, -2, 3, 2, -1 } Output: 6 Explanation: The longest subarray with prod...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/length-of-longest-subarray-with-product-greater-than-or-equal-to-0?ref=asr10
HTML
Length of longest subarray with product greater than or equal to 0
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.00941196643, 0.0292377714, -0.00612765551, 0.0252726097, 0.0273328014, -0.0101457322, 0.0024411846, 0.0201785769, -0.0171870682, 0.0114862677, -0.00186087412, 0.00975768268, 0.0439695455, -0.00643104, -0.0200939123, -0.0113381026, -0.0176527277, 0.00800087675, 0.0105055599, -0.0233535282, 0.00172946637, 0.001404033...
31 May, 2021
Subarray with difference between maximum and minimum element greater than or equal to its length 31 May, 2021 Given an array arr[], the task is to find a subarray with the difference between the maximum and the minimum element is greater than or equal to the length of subarray. If no such subarray exists then print -1....
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/subarray-with-difference-between-maximum-and-minimum-element-greater-than-or-equal-to-its-length?ref=asr6
HTML
Subarray with difference between maximum and minimum element greater than or equal to its length
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.0227924865, 0.0176805612, -0.00183140906, 0.011301578, 0.0192097705, -0.00725645805, 0.019471921, 0.0237682667, -0.0461966582, 0.0142143564, -0.0141051272, -0.029855974, 0.0445363745, -0.00569812162, -0.0305550396, -0.00912427716, -0.0140468711, 0.0272199102, 0.0109666083, -0.0438664332, 0.00908058509, -0.0209137443...
19 May, 2021
Maximize the number of indices such that element is greater than element to its left 19 May, 2021 Given an array arr[] of N integers, the task is to maximize the number of indices such that an element is greater than the element to its left, i.e. arr[i+1] > arr[i] after rearranging the array.Examples: Input: arr[] = {2...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/maximize-the-number-of-indices-such-that-element-is-greater-than-element-to-its-left?ref=asr10
HTML
Maximize the number of indices such that element is greater than element to its left
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.0228242725, 0.0193335023, -0.0128337173, 0.0220345054, 0.0205813348, 0.028684346, 0.00841102097, 0.0182278268, -0.015155633, 0.0159532987, -0.0162060242, -0.00293595972, 0.0114279315, -0.0141526284, -0.0274207182, -0.0106223691, -0.0310220569, 0.0212131478, -0.0262834541, -0.0529459938, 0.00774366781, -0.0243564211...
23 Nov, 2023
Number of indices pair such that element pair sum from first Array is greater than second Array 23 Nov, 2023 Given two integer arrays A[] and B[] of equal sizes, the task is to find the number of pairs of indices {i, j} in the arrays such that A[i] + A[j] > B[i] + B[j] and i < j.Examples: Input: A[] = {4, 8, 2, 6, 2}, ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/number-of-indices-pair-such-that-element-pair-sum-from-first-array-is-greater-than-second-array?ref=asr9
HTML
Number of indices pair such that element pair sum from first Array is greater than second Array
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.00811621267, -0.000205292148, -0.0165564567, 0.0328660309, 0.0236234237, -0.00121318863, 0.0179605912, 0.029193677, -0.0230679419, 0.0233919732, -0.0046174461, -0.0250121299, 0.0421549268, -0.0193338674, -0.0250275601, 0.00715954881, 0.00283141644, 0.0284530334, -0.0147202788, -0.0562271439, -0.0180840325, -0.00432...
26 Jul, 2021
Probability of obtaining pairs from two arrays such that element from the first array is smaller than that of the second array 26 Jul, 2021 Given two arrays arr1[] and arr2[] consisting of N and M integers respectively, the task is to find the probability of randomly selecting the two numbers from arr1[] and arr2[] res...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/probability-of-obtaining-pairs-from-two-arrays-such-that-element-from-the-first-array-is-smaller-than-that-of-the-second-array?ref=asr10
HTML
Probability of obtaining pairs from two arrays such that element from the first array is smaller than that of the second array
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.0109266965, -0.000833842496, -0.0223187, 0.0148978531, -0.00230848533, -0.0183876567, 0.0137426071, 0.0298438407, -0.0128601277, 0.0074890391, -0.0125071369, -0.0090895351, 0.0269075911, -0.0116407024, -0.00531493127, -0.00986772124, 0.00579628348, 0.0384760909, 0.0118573112, -0.0294266678, -0.0138549227, -0.010950...
07 Dec, 2021
Largest element smaller than current element on left for every element in Array 07 Dec, 2021 Given an array arr[] of the positive integers of size N, the task is to find the largest element on the left side of each index which is smaller than the element present at that index. Note: If no such element is found then pri...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/largest-element-smaller-than-current-element-on-left-for-every-element-in-array?ref=asr10
HTML
Largest element smaller than current element on left for every element in Array
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.00578014087, -0.00272113108, -0.00704718614, 0.0148988459, 0.0143598486, -0.0017507351, 0.0137082255, 0.0343349203, -0.0255983416, 0.0101202745, -0.000388158369, -0.00525723305, 0.0488798, -0.0133059891, -0.00399219897, 0.0411246754, -0.00245766598, 0.0343992785, -0.0252282843, -0.0501991361, -0.024102021, -0.018100...
03 Aug, 2022
Count of elements on the left which are divisible by current element | Set 2 03 Aug, 2022 Given an array A[] of N integers, the task is to generate an array B[] such that B[i] contains the count of indices j in A[] such that j < i and A[j] % A[i] = 0Examples: Input: arr[] = {3, 5, 1} Output: 0 0 2 Explanation: 3 and 5 ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-elements-on-the-left-which-are-divisible-by-current-element-set-2?ref=asr10
HTML
Count of elements on the left which are divisible by current element | Set 2
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.0065078605, -0.0288619827, -0.00744607346, 0.0127930939, 0.00804637093, -0.00834055617, 0.0242663287, 0.0207838081, 0.0171422679, 0.0218333341, -0.00164883025, -0.00701672165, 0.0362563767, -0.0186847541, 0.0130395731, 0.0141050024, -0.0117038125, 0.0105509236, -0.0323604047, -0.0302136466, -0.0154964197, -0.0071677...
27 Mar, 2023
Construct Array of given size with elements at even positions divisible by their adjacent left 27 Mar, 2023 Given an integer N, the task is to construct and print an Array, such that: The size of array is N The elements in array are in range [1, 2*N] Each element in the array are distinct The elements at even positions...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/construct-array-of-given-size-with-elements-at-even-positions-divisible-by-their-adjacent-left?ref=asr7
HTML
Construct Array of given size with elements at even positions divisible by their adjacent left
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.00730425771, 0.00854553096, -0.0151820406, 0.00614082, 0.0221380871, 0.0130272238, 0.0198767576, 0.0252023526, -0.00739847962, 0.012437311, 0.00507160462, -0.0076811458, 0.0447349921, -0.0257594902, -0.00572296558, 0.0190082751, -0.0114213517, 0.017533496, -0.024383029, -0.0435223952, -0.00421950966, 0.00241495227,...
24 Jan, 2022
Construct an Array of size N with sum divisible by K and array maximum is minimized 24 Jan, 2022 Given integers N and K. The task is to construct an array of size N such that sum of all elements is divisible by K and the maximum element is as minimum as possible. Note: There can be many possible arrays. Printing any on...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/construct-an-array-of-size-n-with-sum-divisible-by-k-and-array-maximum-is-minimized?ref=asr10
HTML
Construct an Array of size N with sum divisible by K and array maximum is minimized
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[-0.0212193094, -0.000936119119, -0.0107998969, 0.0244973283, 0.0372874513, 0.00125395146, 0.00698407972, 0.00812187418, -0.0151169291, 0.0162730161, 0.0023505874, -0.028346071, 0.0364679471, -0.0342143066, -0.0139023066, 0.00618286803, -0.0232241694, -0.0172827616, -0.0190827455, -0.0185412876, -0.0137340156, -0.00654...
31 Aug, 2022
Find a point such that sum of the Manhattan distances is minimized 31 Aug, 2022 Given N points in K dimensional space where and . The task is to determine the point such that the sum of Manhattan distances from this point to the N points is minimized. Manhattan distance is the distance between two points measured along...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/find-a-point-such-that-sum-of-the-manhattan-distances-is-minimized?ref=asr10
HTML
Find a point such that sum of the Manhattan distances is minimized
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.00970137585, 0.0121184867, -0.00178978196, 0.0103270579, 0.00175685121, -0.0241315942, 0.00775187975, 0.0273719728, -0.0258439891, 0.00429745251, -0.0470513403, -0.0356441587, 0.026449915, -0.0194422677, -0.0428889059, -0.0040373, -0.0219186544, 0.0282676872, -0.0125136543, -0.00327001559, -0.00513718463, -0.0311919...
31 May, 2022
Find a point whose sum of distances from all given points on a line is K 31 May, 2022 Given a sorted array arr[] consisting of N integers, representing points on a line and an integer K, the task is to find any point P between the first and last point such that the sum of distances of all given points from P is equal t...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/find-a-point-whose-sum-of-distances-from-all-given-points-on-a-line-is-k?ref=asr8
HTML
Find a point whose sum of distances from all given points on a line is K
Google SWE Interview Experience (Google Online Coding Challenge) 2022, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, Check if two non-duplicate strings can be made equal after at most two swaps in one string, Check if every vertex triplet in graph conta...
GeeksforGeeks
[0.00519941933, 0.0138482796, -0.00833494682, 0.0144761065, -0.00127549947, -0.00544838514, -0.00303630205, 0.0307418816, -0.0292986, 0.0251563843, -0.0373809747, -0.033888232, 0.0523333624, -0.0127513856, -0.0320985653, 0.0103483237, -0.017608026, 0.0222265236, -0.0326470137, -0.0323872231, -0.0266862623, -0.031463522...
01 Feb, 2023
Lexicographically smallest string obtained after concatenating array 01 Feb, 2023 Given n strings, concatenate them in an order that produces the lexicographically smallest possible string. Examples: Input : a[] = ["c", "cb", "cba"] Output : cbacbc Possible strings are ccbcba, ccbacb, cbccba, cbcbac, cbacbc and cbaccb...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/lexicographically-smallest-string-obtained-concatenating-array?ref=asr9
HTML
Lexicographically smallest string obtained after concatenating array
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.0295231733, 0.0222813785, -0.00806188397, 0.032469932, 0.0111962883, 0.00363827241, 0.0128225647, 0.0121692745, -0.036528673, -0.00714449678, -0.0270351097, -0.00947271287, 0.0189593267, 0.0006893432, -0.0303849615, -0.00101729156, 0.00357572339, 0.0436731689, -0.0183477346, -0.020099109, -0.0192651227, -0.022906869...
13 Mar, 2023
Print the given 3 string after modifying and concatenating 13 Mar, 2023 Given three strings(without spaces). The task is to print the new string after modifying the three given string as follows: Replace all the vowels present in the first string with “*”. Don’t change anything in the second string. Replace all the con...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/print-the-given-3-string-after-modifying-and-concatenating?ref=asr8
HTML
Print the given 3 string after modifying and concatenating
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.0146469, 0.00816684868, -0.0108153503, 0.040147312, 0.0288663767, 0.0143950256, -0.0134409545, 0.00874692388, -0.0155475428, 0.00791497435, 0.00667468179, 0.0140057644, 0.00297097745, -0.0226076692, -0.0105176801, -0.00259507354, 0.00118591043, 0.0321483798, -0.0486347303, 0.00138912757, 0.0306676626, -0.00857137516...
25 Jan, 2022
Count of Pairs in given Array having both even or both odd or sum as K 25 Jan, 2022 Given an array arr[] of distinct integers of size N and an integer K, The task is to find the total no of possible pairs in the array such that, either both are even or both are odd or the sum of the pair is K Note: No element is part o...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-pairs-in-given-array-having-both-even-or-both-odd-or-sum-as-k?ref=asr9
HTML
Count of Pairs in given Array having both even or both odd or sum as K
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0260895211, 0.00626486726, -0.0151432985, 0.032131467, 0.0219385661, 0.031701, 0.0174955055, 0.0137365861, 0.00422013737, 0.0164654553, 0.0188484099, -0.034068577, 0.0228302516, -0.0143284816, -0.0339455865, -0.0162502192, -0.0348065272, 0.0138903251, -0.0113613177, -0.0345605426, -0.00588436285, -0.000746595382, -...
26 Nov, 2021
Generate an alternate odd-even sequence having sum of all consecutive pairs as a perfect square 26 Nov, 2021 Given an integer N, the task is to print a sequence of length N consisting of alternate odd and even numbers in increasing order such that the sum of any two consecutive terms is a perfect square. Examples: Inpu...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/generate-an-alternate-odd-even-sequence-having-sum-of-all-consecutive-pairs-as-a-perfect-square?ref=asr10
HTML
Generate an alternate odd-even sequence having sum of all consecutive pairs as a perfect square
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0188163873, 0.0031243877, -0.00915464, 0.0305599496, 0.0221526269, 0.0362182111, 0.0141189639, 0.0340563282, -0.0130246766, -0.00194169104, 0.00347302482, -0.0220325217, 0.046573896, -0.00372991525, -0.0204177834, 0.0116634918, -0.0463870652, 0.0105758775, -0.0306933988, -0.03047988, -0.030346429, -0.000766917947, ...
31 May, 2022
C++ Program to Rearrange array elements into alternate even-odd sequence by anticlockwise rotation of digits 31 May, 2022 Given an array arr[] consisting of N positive integers, the task is to rotate the digits of array elements in an anti-clockwise direction such that elements of the array elements are in alternate ev...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/cpp-program-to-rearrange-array-elements-into-alternate-even-odd-sequence-by-anticlockwise-rotation-of-digits?ref=asr10
HTML
C++ Program to Rearrange array elements into alternate even-odd sequence by anticlockwise rotation of digits
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0248160772, 0.0121039199, -0.021136241, 0.0374978222, 0.0018304137, 0.0366767, -0.00780064194, 0.0178517606, -0.0267776418, 0.0116097266, -0.00265533547, -0.0233563073, 0.0193115305, -0.0288456473, -0.0312633924, -0.0100663248, -0.0278116446, 0.0161943138, -0.0218357146, -0.0350344628, -0.00371784973, -0.000271806,...
25 May, 2023
Rearrange Odd and Even values in Alternate Fashion in Ascending Order 25 May, 2023 Given an array of integers (both odd and even), the task is to arrange them in such a way that odd and even values come in alternate fashion in non-decreasing order(ascending) respectively. If the smallest value is Even then we have to p...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/rearrange-odd-and-even-values-in-alternate-fashion-in-ascending-order?ref=asr7
HTML
Rearrange Odd and Even values in Alternate Fashion in Ascending Order
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0132419327, 0.0197443645, -0.0228601135, 0.0189315602, 0.00369995181, 0.0121327937, 0.0137330014, 0.0318009593, -0.0281433407, 0.0156634115, -0.0122174611, -0.0116925249, 0.0323766954, -0.0302261505, -0.0269410666, -0.0058928295, -0.0310558882, 0.045550894, -0.0293286797, -0.0580138899, -0.0167894829, -0.0225214455...
18 Jan, 2022
Java Program For Arranging Single Linked List In Alternate Odd and Even Nodes Order 18 Jan, 2022 Given a singly linked list, rearrange the list so that even and odd nodes are alternate in the list.There are two possible forms of this rearrangement. If the first data is odd, then the second node must be even. The third ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/java-program-for-arranging-single-linked-list-in-alternate-odd-and-even-nodes-order?ref=asr10
HTML
Java Program For Arranging Single Linked List In Alternate Odd and Even Nodes Order
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.0141206123, 0.00945207104, -0.0188121516, 0.0117748426, 0.00366813946, 0.0248528905, 0.0254355, 0.0256961416, -0.030878298, 0.0205906425, 0.00741293794, 0.00870847702, 0.0194407552, -0.022706436, -0.00247992296, 0.00495601306, -0.0155848013, 0.0363670923, -0.0160677545, -0.03734833, -0.0053431415, -0.0204679891, -0....
22 Dec, 2022
Biggest number by arranging numbers in certain order 22 Dec, 2022 Given an array of n numbers. Arrange them in a way that yields the largest value. While arranging the order of even numbers with respect to each other and the order of odd numbers with respect to each other should be maintained respectively. Examples: In...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/biggest-number-by-arranging-numbers-in-certain-order?ref=asr5
HTML
Biggest number by arranging numbers in certain order
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.00366601069, 0.0101276841, -0.0128137926, 0.0273479931, 0.00710479775, 0.00713725807, -0.00189386879, 0.0277375188, -0.019054329, 0.038530644, -0.00597273652, -0.0107119735, 0.0278835911, -0.012270079, -0.0259846505, 0.0139417956, -0.00362137728, 0.0320060775, -0.0421013, -0.0488855503, 0.00590375811, -0.0114017595...
12 Sep, 2022
Number of array elements derivable from D after performing certain operations 12 Sep, 2022 Given an array of N integers and 3 integers D, A and B. The task is to find the number of array elements that we can convert D into by performing the following operations on D: Add A (+A) Subtract A (-A) Add B (+B) Subtract B (-B...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/number-of-array-elements-derivable-from-d-after-performing-certain-operations?ref=asr10
HTML
Number of array elements derivable from D after performing certain operations
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.00559841515, 0.00350995222, -0.0169411469, 0.0275960602, 0.0173746794, 0.0229605902, 0.0160574056, 0.017441377, 0.00435200706, 0.0204927847, 0.00762018096, -0.0230272859, 0.0285965223, -0.017441377, -0.0106549142, 0.0243445616, 6.54598771e-05, 0.0166576821, -0.0344492197, -0.0305807702, -0.00087488268, -0.022076848...
22 Mar, 2022
Minimum N-Digit number required to obtain largest N-digit number after performing given operations 22 Mar, 2022 Given a positive integer N, the task is to find the minimum N-digit number such that performing the following operations on it in the following order results into the largest N-digit number: Convert the numbe...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-n-digit-number-required-to-obtain-largest-n-digit-number-after-performing-given-operations?ref=asr5
HTML
Minimum N-Digit number required to obtain largest N-digit number after performing given operations
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.00711892825, -0.00229984079, -0.0122553706, 0.0293219928, 0.044351276, 0.0329735279, 0.00844711624, 0.0435676835, -0.0233196821, 0.053064812, 0.00805532, -0.0132426955, 0.0266264379, -0.0325033739, -0.0200756136, 0.0159225781, -0.0112367012, -0.00800046884, -0.0111896861, -0.0164240766, 0.0231002755, 0.00696221, 0....
11 Nov, 2021
Minimize cost to reach the end of given Binary Array using jump of K length after performing given operations 11 Nov, 2021 Given a binary array arr[] of N integers and an integer P, the task is to find the minimum cost to reach the end of the array from Pth index using jumps of length K. A jump to index i is valid if a...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimize-cost-to-reach-the-end-of-given-binary-array-using-jump-of-k-length-after-performing-given-operations?ref=asr10
HTML
Minimize cost to reach the end of given Binary Array using jump of K length after performing given operations
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0218566433, 0.0134872952, -0.0150151523, 0.0113347471, 0.00128230907, -0.00604745606, 0.0138485618, 0.0218867492, -0.00577650592, 0.0138937207, 0.00787260663, -0.0573511086, 0.0453992, -0.0222179107, -0.0310990531, -0.0252886787, -0.0199900977, 0.0196890421, -0.018228922, -0.0339590833, -0.0248521473, -0.0466034226...
28 Dec, 2023
Minimize cost to reach bottom right from top left corner of Matrix with given separate cost for each move 28 Dec, 2023 Given an integer N and three N x N matrices X[][], Y[][], and Z[][], the task is to calculate the minimum cost required to reach the bottom right from the top left of the matrix using the following mov...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimize-cost-to-reach-bottom-right-from-top-left-corner-of-matrix-with-given-separate-cost-for-each-move?ref=asr10
HTML
Minimize cost to reach bottom right from top left corner of Matrix with given separate cost for each move
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
null
15 Dec, 2022
Number of shortest paths to reach every cell from bottom-left cell in the grid 15 Dec, 2022 Given two number N and M. The task is to find the number of shortest paths to reach the cell(i, j) in the grid of size N × M when the moves started from the bottom-left cornerNote: cell(i, j) represents the ith row and jth colum...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/number-of-shortest-paths-to-reach-every-cell-from-bottom-left-cell-in-the-grid?ref=asr2
HTML
Number of shortest paths to reach every cell from bottom-left cell in the grid
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0294460468, 0.0105070835, -0.0127060711, 0.02220832, 0.0299703088, -0.0146283647, 0.0514359251, 0.0478243418, -0.0322421119, 0.0165433772, -0.00352602568, -0.00102394912, 0.0576105639, 0.0111915367, -0.0239121709, -0.00690642325, 0.019834578, 0.0067389505, -0.00263405219, -0.0426108465, 0.0129754832, -0.0089342976,...
06 Nov, 2024
Grid Unique Paths – Count Paths in matrix 06 Nov, 2024 Try it on GfG Practice Given an matrix of size m x n, the task is to find the count of all unique possible paths from top left to the bottom right with the constraints that from each cell we can either move only to the right or down. Examples: Input: m = 2, n = 2Ou...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-possible-paths-top-left-bottom-right-nxm-matrix?ref=asr8
HTML
Grid Unique Paths – Count Paths in matrix
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0157970898, -0.0138194878, -0.0168966372, 0.0345526747, 0.0277655423, -6.00387793e-05, 0.0281294212, 0.0482535064, -0.00524064712, 0.0053949, 0.00881219748, -0.00100758858, 0.0613531433, -0.020298114, -0.00707981735, -0.00552542182, 0.0171972327, 0.0195387136, 0.00598818064, -0.0467663482, 0.00535534788, -0.0165485...
20 Oct, 2023
Difference between sums of odd and even digits 20 Oct, 2023 Try it on GfG Practice Given a long integer, we need to find if the difference between sum of odd digits and sum of even digits is 0 or not. The indexes start from zero (0 index is for leftmost digit). Examples: Input: 1212112Output: YesExplanation:the odd pos...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/difference-sums-odd-even-digits?ref=asr9
HTML
Difference between sums of odd and even digits
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.019884672, -0.00133831939, -0.00928301, 0.0348543674, -0.00335469539, 0.0191504229, 0.0342549793, 0.0221773274, 0.00302503258, 0.0236757956, -0.0027478158, -0.038151, 0.0129242875, 0.00210534758, -0.0368922837, 0.00122874381, -0.00670564501, 0.0100697055, 0.0184910968, -0.0350941233, -0.0109313251, -0.00357010029, ...
09 Jan, 2024
Balancing Odd-Even Index Sums with Subarray Negation 09 Jan, 2024 Given an array A[] of size N. The task is to check whether the sum of elements of A on the odd and even indexes is equal or not, where you are allowed to choose a subarray A[i, j] with 1 ≤ i ≤ j ≤ N and multiply −1 by all elements of the subarray. Exampl...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/balancing-odd-even-index-sums-with-subarray-negation?ref=asr10
HTML
Balancing Odd-Even Index Sums with Subarray Negation
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0151514076, 0.0258697383, -0.0108853299, 0.027053915, -0.00115950778, 0.000765256118, 0.0214973874, 0.0148022268, -0.00514662033, 0.0261430088, -0.00564382318, 0.0016880231, 0.0559296422, -0.0277522765, -0.0414158702, -0.011242101, -0.0242301058, 0.0222109314, -0.0139900018, -0.0426607765, -0.014483409, 0.003939669...
22 Feb, 2023
Sort elements of an array A[] placed on a number line by shifting i-th element to (i + B[i])th positions minimum number of times 22 Feb, 2023 Given two arrays A[] and B[] consisting of N positive integers such that each array element A[i] is placed at the ith position on the number line, the task is to find the minimum...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/sort-elements-of-an-array-a-placed-on-a-number-line-by-shifting-i-th-element-to-i-bith-positions-minimum-number-of-times?ref=asr6
HTML
Sort elements of an array A[] placed on a number line by shifting i-th element to (i + B[i])th positions minimum number of times
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.00299376389, -0.00788137317, -0.0169370957, 0.0231065657, -0.000593377277, 0.00354785845, 0.0072941985, 0.0380092263, -0.0367521755, 0.0225607399, -0.00342587498, -0.015084601, 0.0151259508, -0.0219487567, -0.00949403644, -0.00720322784, -0.00582626183, 0.0289783124, -0.0376122631, -0.0368844941, 0.0041226279, -0.01...
20 Jan, 2025
Sort Even and Odd Placed Elements in Increasing Order 20 Jan, 2025 Given a list, we need to sort the elements at even and odd positions in increasing order. For example, sort the elements at even indices (0, 2, 4, …) and odd indices (1, 3, 5, …) separately in increasing order, then combine them while maintaining their ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/sort-even-and-odd-placed-elements-in-increasing-order?ref=asr10
HTML
Sort Even and Odd Placed Elements in Increasing Order
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.00160501234, 0.00830027647, -0.00437745405, 0.00631288625, -0.0298498198, 0.0274077971, 0.0247839224, 0.000744459452, -0.0259269979, 0.0363965146, -0.0236148704, -0.017094152, 0.0107358033, -0.0118658878, -0.0118399085, -0.021016974, -0.0112164142, 0.0335388295, -0.0202895645, -0.0385527685, -0.0136909094, -0.019341...
07 Jul, 2021
Check if a Binary Tree contains node values in strictly increasing and decreasing order at even and odd levels 07 Jul, 2021 Given a Binary Tree, the task is to check if it consists of node values arranged in strictly increasing order at even levels and strictly decreasing at odd levels (Assuming the root node to be at ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-a-binary-tree-contains-node-values-in-strictly-increasing-and-decreasing-order-at-even-and-odd-levels?ref=asr9
HTML
Check if a Binary Tree contains node values in strictly increasing and decreasing order at even and odd levels
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.00926345121, 0.0240385439, -0.0160107184, 0.0115175322, 0.0140112508, -0.00684087491, 0.0350168943, 0.012483567, -0.01109068, 0.0135020232, 0.0197400618, -0.000263740629, 0.00622680644, -0.00400267961, -0.018841425, 0.0121540669, 0.00295052514, 0.00112048816, -0.00482643, -0.0590105057, -0.0103043728, -0.0183172207...
03 Apr, 2023
Convert a Binary Search Tree into a Skewed tree in increasing or decreasing order 03 Apr, 2023 Given a Binary Search Tree and a binary integer K, the task is to convert Binary search tree into a Skewed Tree in increasing order if K = 0 or in decreasing order if K = 1. Examples: Input: K = 0, 5 / \ 3 6 Output: 3 \ 5 \...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/convert-a-binary-search-tree-into-a-skewed-tree-in-increasing-or-decreasing-order?ref=asr10
HTML
Convert a Binary Search Tree into a Skewed tree in increasing or decreasing order
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.0127802249, -0.0269404743, -0.0174303073, 0.00972017087, 0.0265504681, 0.0022312894, 0.0122477161, 0.018075319, -0.0284255017, 0.0261154603, -0.0110551948, 0.00385881797, 0.0103576826, -0.0144452546, -0.00231004064, 0.0101326788, 0.00198753504, 0.0360306352, -0.0198603496, -0.0512409024, 0.00441382779, -0.0412807278...
09 Feb, 2022
Count subarrays with elements in alternate increasing-decreasing order or vice-versa 09 Feb, 2022 Given an array arr[] of size N, the task is to find the count of subarrays with elements in alternate increasing-decreasing order or vice-versa. A subarray {a, b, c} will be valid if and only if either (a < b > c) or (a > ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-subarrays-with-elements-in-alternate-increasing-decreasing-order-or-vice-versa?ref=asr9
HTML
Count subarrays with elements in alternate increasing-decreasing order or vice-versa
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.00154822215, 0.0215417538, -0.0162220802, 0.0017738333, 0.0171720218, 9.55650394e-05, 0.0159297902, 0.017858902, -0.0208987147, 0.0227547549, -0.00518448884, -0.0294335764, 0.0454802811, 0.00185603974, -0.0318011232, -0.0281475, -0.0244792644, 0.0227109119, -0.00402994454, -0.0344317295, -0.000895137317, 0.00170898...
17 Jan, 2023
Minimize changes to make all characters equal by changing vowel to consonant and vice versa 17 Jan, 2023 Given a string str[] of lower-case characters, the task is to make all characters of the string equal in the minimum number of operations such that in each operation either choose a vowel and change it to a consonan...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimize-changes-to-make-all-characters-equal-by-changing-vowel-to-consonant-and-vice-versa?ref=asr10
HTML
Minimize changes to make all characters equal by changing vowel to consonant and vice versa
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.00420080451, 0.0222003311, -0.0136104506, 0.0213531088, 0.0235182308, 0.028931031, 0.0197528023, 0.0191566106, -0.0182152539, -0.0114531741, -0.00372816506, -0.0157520361, -0.00277111912, -0.0170228686, -0.0117434254, 0.00111688056, 0.005185307, 0.0125671132, -0.0178387109, 0.00637377, -0.0141360406, -0.0119866095, ...
08 Mar, 2022
Count of N size strings consisting of at least one vowel and one consonant 08 Mar, 2022 Given an integer N, which represents the length of a string, the task is to count the number of strings possible of length N which consists of only one vowel and one consonant. Note: Since the output can be large print in modulo 100...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-n-size-strings-consisting-of-at-least-one-vowel-and-one-consonant?ref=asr10
HTML
Count of N size strings consisting of at least one vowel and one consonant
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0042429734, 0.0267772116, -0.0189509485, 0.0085159326, 0.0459080748, 0.0102551021, 0.00819358695, 0.0346334577, -0.0110272327, -0.0100526987, -0.00847845059, 0.00374633563, 0.00528122764, 0.00184974156, -0.00439665, 0.00559607707, 0.0168219656, 0.00282052788, 0.0134260878, -0.000705600483, 0.0107498653, 0.009625402...
16 Feb, 2023
Program to find if a character is vowel or Consonant 16 Feb, 2023 Try it on GfG Practice Given a character, check if it is vowel or consonant. Vowels are ‘a’, ‘e’, ‘i’, ‘o’ and ‘u’. All other characters (‘b’, ‘c’, ‘d’, ‘f’ ….) are consonants. Examples: Input : x = 'c' Output : Consonant Input : x = 'u' Output : Vowel W...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/program-find-character-vowel-consonant?ref=asr10
HTML
Program to find if a character is vowel or Consonant
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0189828407, 0.0166765917, -0.0152695309, 0.036034096, 0.0201484542, 0.0224796813, 0.00401512068, 0.0228127129, -0.0207645632, -0.00989105925, -0.0183667317, -0.00491638947, 0.00319919153, -0.0472905859, -0.0380988941, 0.00153507083, 0.0193991326, 0.0181669127, 0.000602580316, 0.00575729599, -0.000207885008, 0.00489...
12 Sep, 2022
Check if the sum of primes is divisible by any prime from the array 12 Sep, 2022 Given an array arr[], the task is to check whether the sum of primes in the array is divisible by any of the primes in the array. If it is then print YES, otherwise print NO. Examples: Input: arr[] = {2, 3} Output: NO Primes: 2, 3 Sum = 2 ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-the-sum-of-primes-is-divisible-by-any-prime-from-the-array/?ref=next_article
HTML
Check if the sum of primes is divisible by any prime from the array
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0124501856, 0.0173108224, -0.0158896726, 0.04441851, -0.00173958647, -0.00828500465, 0.0113540851, 0.0208032243, 0.0130473711, 0.0334726311, -0.0239176601, 0.0257470142, 0.0574507639, -0.0304489043, 0.0203950219, 0.0159047898, -0.0056997207, 0.00206558174, -0.0290277544, -0.0220127143, -0.000551357225, 0.0048417388...
23 Jun, 2022
K-Primes (Numbers with k prime factors) in a range 23 Jun, 2022 Given three integers A, B and K. We need to find no. of K-prime numbers in the range [A, B]. A number is called K-prime if it has exactly K distinct prime factors. Examples: Input : A = 4, B = 10, K = 2. Output : 6 10 Given range is [4, 5, 6, 7, 8, 9, 10]....
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/k-primes-numbers-k-prime-factors-range?ref=asr10
HTML
K-Primes (Numbers with k prime factors) in a range
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.0203400068, 0.00294424198, -0.00896478, 0.0102369599, 0.0130417086, -0.00381282112, 0.0108618904, 0.010527106, 0.0183908176, 0.0317821875, -0.00125265121, -0.0199829023, 0.0530000739, -0.0301603451, -0.00421456248, 0.00517055765, 0.00385745917, -0.00468326034, -0.0160845257, -0.0147751467, -0.027541589, 0.0075214873...
19 Apr, 2023
Check if a number exists having exactly N factors and K prime factors 19 Apr, 2023 Given two numbers N and K, the task is to find whether an integer X exists such that it has exactly N factors and K out of them are prime.Examples: Input: N = 4, K = 2 Output: Yes Explanation: One possible number for X is 6. The number 6...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-a-number-exists-having-exactly-n-factors-and-k-prime-factors?ref=asr10
HTML
Check if a number exists having exactly N factors and K prime factors
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.00083996274, 0.00470337225, -0.0231563523, 0.00880310312, 0.00481655495, 0.00921391416, 0.0293436758, 0.0313222781, 0.0294945873, 0.0393708311, -0.0158204343, 0.00795213599, 0.0421878211, -0.0288741775, -0.00102807663, 0.0210100729, -0.00156045484, 0.00675323745, -0.00997685, -0.0185284354, 0.00619570771, 0.00821203...
21 Aug, 2023
Check whether a number has exactly three distinct factors or not 21 Aug, 2023 Try it on GfG Practice Given a positive integer n(1 <= n <= 1018). Check whether a number has exactly three distinct factors or not. Print “Yes” if it has otherwise “No“. Examples : Input : 9Output: YesExplanationNumber 9 has exactly three fa...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-whether-number-exactly-three-distinct-factors-not?ref=asr10
HTML
Check whether a number has exactly three distinct factors or not
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.0138795394, 0.00319455913, -0.0171990693, 0.00931811519, 0.0145512559, 0.0220104344, 0.0363351814, 0.0245567095, 0.040115539, 0.0353041738, 0.00375302113, 0.00963054132, 0.0403967239, -0.0211825036, -0.0122471116, -0.00440130569, 0.0131219057, 0.0150589487, -0.000818166416, -0.0181207266, -0.000722974, 0.00901349913...
03 Aug, 2023
Check whether a number has consecutive 0’s in the given base or not 03 Aug, 2023 Given a decimal number N, the task is to check if a number has consecutive zeroes or not after converting the number to its K-based notation. Examples: Input: N = 4, K = 2 Output: No 4 in base 2 is 100, As there are consecutive 2 thus the ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-whether-a-number-has-consecutive-0s-in-the-given-base-or-not?ref=asr10
HTML
Check whether a number has consecutive 0’s in the given base or not
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0168001056, -0.0147310551, -0.0111029316, 0.0319682844, 0.0191314295, -0.0108115161, 0.0456648134, 0.019116858, 0.0137475273, 0.0124725848, 0.00438944623, -0.0181551874, 0.000341730251, -0.0048957807, -0.0318225771, -0.0162318442, 0.00759866, 0.0159112886, -0.0195685532, 0.00365362223, 0.014337644, -0.0079993559, -...
25 Oct, 2022
Add two integers of different base and represent sum in smaller base of the two 25 Oct, 2022 Given two integers X, Y in base B1 and B2 respectively, the task is to find the sum of integers X and Y and represent the result in min of ( B1 and B2 ). Example: Input: X = 123, Y = 234, B1 = 6, B2 = 8 Output: 543 Explanation:...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/add-two-integers-of-different-base-and-represent-sum-in-smaller-base-of-the-two?ref=asr10
HTML
Add two integers of different base and represent sum in smaller base of the two
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.0115966834, -0.000987412408, -0.0172293577, 0.0282989182, 0.0191269964, 0.00829840545, 0.0256783701, 0.0330430157, -0.0128015336, 0.0114460764, 0.00124720822, -0.0133060645, 0.0332839862, -0.0219433345, -0.0245187, 0.00580963679, -0.00539546972, 0.037591327, -0.0510856472, -0.0233590323, 0.00643465295, -0.0294887088...
15 Apr, 2021
Count of integers up to N which represent a Binary number 15 Apr, 2021 Given an integer N, the task is to count every number i from 1 to N (both inclusive) such that i is a binary representation of some integer where N can be any value within the range[1, 109] Examples: Input: N = 100 Output: 4 Explanation: Valid integ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-integers-up-to-n-which-represent-a-binary-number?ref=asr10
HTML
Count of integers up to N which represent a Binary number
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0124484813, -0.0127587905, -0.0194412805, -0.00333222374, 0.0399217382, 0.0322145037, 0.028793877, 0.0366310067, 0.0285196509, 0.0160062201, -0.00940311328, -0.0332536809, 0.0340041965, -0.0165691078, -0.0268165544, 0.0098505374, 0.0102835279, 0.0239876807, -0.0157464258, -0.032243371, 0.00274768635, 0.0027314492, ...
14 Feb, 2023
Count of ways to represent N as sum of a prime number and twice of a square 14 Feb, 2023 Given an integer N, the task is to count the number of ways so that N can be written as the sum of a prime number and twice of a square, i.e. , where P can be any prime number and A is any positive integer. Note: Examples: Input: N...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-ways-to-represent-n-as-sum-of-a-prime-number-and-twice-of-a-square?ref=asr10
HTML
Count of ways to represent N as sum of a prime number and twice of a square
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.0034874382, 0.00577636575, -0.0239853822, 0.00774101261, 0.0169005152, 0.0324356407, 0.0456040837, 0.0387164429, 0.0125919459, 0.0464840047, -0.00407341868, 0.0170370545, 0.046210926, -0.0237729866, 0.00357277505, 0.00957291294, -0.0193582214, -0.00268716691, -0.0243494865, -0.0134035954, 0.00757413125, -0.000197460...
11 May, 2021
Count ways to represent an integer as an exponent 11 May, 2021 Given an integer N, the task is to count the number of ways in which N can be expressed as an exponent, i.e., xy, where x and y are positive integers. Examples: Input: N = 64Output: 4Explanation: 64 can be expressed as 26, 43, 82 and 641 Input: N = 27Output...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-ways-to-represent-an-integer-as-an-exponent?ref=asr10
HTML
Count ways to represent an integer as an exponent
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0264736321, -0.00189934915, -0.0248804502, 0.0018100118, 0.0394871049, 0.0216791946, 0.00505500473, 0.0471701175, 0.0519645549, 0.0380577073, -0.00521506742, -0.00731449481, 0.0358242765, 0.00830837339, 0.00970054697, 0.01057903, -0.00640623225, 0.0171676595, -0.0352882519, -0.00412068516, 0.00643601129, -0.0199073...
26 Sep, 2023
Represent Integer as sum of exactly X Powers of three. The powers can repeat 26 Sep, 2023 Given two integers N and X (1<=N<=X<=1e9), the task is to find if it is possible to represent N as exactly X powers of 3. Examples: Input: N = 9, X = 5Output: Yes Explanation: 9 = 3^1 + 3^1 + 3^0 + 3^0 + 3^0 Input: N = 9, X = 4O...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/represent-integer-as-sum-of-exactly-x-powers-of-three-the-powers-can-repeat?ref=asr8
HTML
Represent Integer as sum of exactly X Powers of three. The powers can repeat
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0304217748, 0.0216693059, -0.0186008271, 0.0162044913, 0.0362957194, 0.0194629226, 0.0378153473, 0.0278062634, 0.0319998488, 0.028083887, -0.00758352596, 0.00237259152, 0.0281861685, -0.0324382037, -0.00631595217, 0.000847484625, -0.0261697397, 0.0255122092, -0.0296765734, 0.00343377399, -0.00719266059, -0.01053511...
29 Dec, 2022
Express 2^N in exactly N+1 powers of 2 29 Dec, 2022 Given a positive integer N, the task is to express 2^N in the sum of powers of 2 and in exactly N+1 terms. Print those N+1 terms. Example: Input: N = 4Output: 1 1 2 4 8Explanation: 2^4 = 2^0 + 2^0 + 2^1 + 2^2 + 2^3 = 1 + 1 + 2 + 4 + 8 Input: N = 5Output: 1 1 2 4 8 16 ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/express-2n-in-exactly-n1-powers-of-2?ref=asr10
HTML
Express 2^N in exactly N+1 powers of 2
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0327646583, 0.022240486, -0.00636770111, 0.00612094067, 0.0284062922, 0.0135365725, 0.0285344794, 0.05896613, 0.0111843366, 0.0223686732, -0.012536712, -0.0124854371, 0.0240222886, -0.0156901181, -0.0375075862, -0.0221122988, -0.0309444014, 0.00947944634, -0.0218815617, -0.00254772138, -0.0138698593, -0.0153311947,...
15 Jun, 2022
Minimum cost to form a number X by adding up powers of 2 15 Jun, 2022 Given an array arr[] of N integers and an integer X. Element arr[i] in array denotes the cost to use 2i. The task is to find the minimum cost to choose the numbers which add up to X. Examples: Input: arr[] = { 20, 50, 60, 90 }, X = 7 Output: 120 22 +...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-cost-to-form-a-number-x-by-adding-up-powers-of-2?ref=asr10
HTML
Minimum cost to form a number X by adding up powers of 2
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0220868662, 0.0146927591, -0.0128644248, -0.00513989571, 0.0190469846, 0.00828257482, 0.0400618166, 0.0358911566, 0.00798152387, 0.00719952537, -0.0121007832, -0.0317792408, 0.0328659639, -0.0266980864, -0.00673326338, -0.0239959713, -0.0223071482, 0.00228541787, -0.0244952757, -0.0203686729, -0.00303988112, -0.016...
14 Jul, 2021
Minimum cost to convert all elements of a K-size subarray to 0 from given Ternary Array with subarray sum as cost 14 Jul, 2021 Given an array arr[] of N integers, where each array element is either 0, 1, or 2, and an integer K, the task is to print the minimum cost needed to convert all the elements of the array to 0s ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-cost-to-convert-all-elements-of-a-k-size-subarray-to-0-from-given-ternary-array-with-subarray-sum-as-cost?ref=asr10
HTML
Minimum cost to convert all elements of a K-size subarray to 0 from given Ternary Array with subarray sum as cost
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.0078133354, 0.00757286837, -0.0122453319, 0.00742858788, 0.0242834911, -0.00739529263, 0.0164997522, 0.0222117733, -0.0142060649, 0.0202288441, 0.0101218205, -0.0533023365, 0.0436540507, -0.0158930346, -0.00354966638, -0.0443939529, -0.017994348, 5.173514e-05, -0.0108765177, -0.0285601094, -0.0229220763, -0.0194593...
08 Aug, 2022
Minimize cost to convert all occurrences of each distinct character to lowercase or uppercase 08 Aug, 2022 Given a string S consisting of N alphabets and two positive integers L and U, representing the cost of converting any character to lowercase and uppercase respectively, the task is to modify the string S such that...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimize-cost-to-convert-all-occurrences-of-each-distinct-character-to-lowercase-or-uppercase?ref=asr9
HTML
Minimize cost to convert all occurrences of each distinct character to lowercase or uppercase
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[-0.00444534, 0.0369159952, -0.010007916, 0.0209285039, 0.0283400267, 0.0221873615, 0.0113533204, 0.0236822553, -0.0394966528, -0.0161605813, -0.000986432773, 0.00599137461, 0.00646344619, -0.0374510065, -0.0101259341, -0.0151928356, -0.0131471921, 0.000560093205, -0.0296933, -0.000462974305, -0.0053422763, -0.02634159...
02 Sep, 2022
Check if lowercase and uppercase characters are in same order 02 Sep, 2022 Given string str containing only lower and uppercase alphabets. The task is to check if both lowercase characters and uppercase characters follow the same order respectively. Note: If a character occurs more than once in lowercase then the occur...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/check-if-lowercase-and-uppercase-characters-are-in-same-order?ref=asr10
HTML
Check if lowercase and uppercase characters are in same order
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.00307421, 0.0341805331, -0.0149388863, 0.0300740395, 0.00694480818, 0.00317611732, 0.0184490345, 0.0141915642, -0.0246993601, -0.0178602356, 0.00910373777, 0.0122289015, 0.00926226, -0.000702501333, -0.0162448119, -0.0111796316, 0.00219478575, 0.0166977346, -0.0204569884, -0.0143123437, 0.0173469223, -0.0041140439, ...
02 Aug, 2023
Number of substrings having an equal number of lowercase and uppercase letters 02 Aug, 2023 Try it on GfG Practice Given string S consists of lowercase and uppercase letters, the task is to find the number of substrings having an equal number of lowercase and uppercase letters. Examples: Input: S = “gEEk”Output: 3Expla...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/number-of-substrings-having-an-equal-number-of-lowercase-and-uppercase-letters?ref=asr10
HTML
Number of substrings having an equal number of lowercase and uppercase letters
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.00561480876, 0.0241257139, -0.0124909431, 0.0061460943, 0.0248137098, 0.0254405495, 0.0227344334, 0.0249971747, -0.01278143, -0.0108779753, 0.00422735093, -0.0052975663, 0.0184994377, -0.00378206489, -0.0189428143, -0.0121928118, 0.00482743606, 0.00374766509, -0.00655124756, -0.0241410024, 0.00336926756, 0.012200456...
07 Nov, 2023
Count Strings that does not contain any alphabet’s both uppercase and lowercase 07 Nov, 2023 Given an array of strings arr[], containing N strings, the task is to count the number of strings that do not contain both the uppercase and the lowercase character of an alphabet. Example: Input: arr[]={ “abcdA”, “abcd”, “abcd...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-strings-that-does-not-contain-any-alphabets-both-uppercase-and-lowercase?ref=asr10
HTML
Count Strings that does not contain any alphabet’s both uppercase and lowercase
Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program to Modify given array to a non-decreasing array by rotation, Chec...
GeeksforGeeks
[0.00880513433, 0.0196731426, -0.0134769361, 0.0185658634, 0.0258465949, -0.0135906981, -0.00149406667, 0.022494426, -0.010875592, -0.0525122732, 0.00758788688, -0.00354746031, 0.0175344273, -0.00589284161, -0.0333396792, -0.0141215846, -0.00828183163, 0.0218876973, -0.00760305533, -0.0252853725, 0.0135906981, 0.022100...
14 Oct, 2023
Count of subarray that does not contain any subarray with sum 0 14 Oct, 2023 Given an array arr, the task is to find the total number of subarrays of the given array which do not contain any subarray whose sum of elements is equal to zero. All the array elements may not be distinct.Examples: Input: arr = {2, 4, -6} Out...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-subarray-that-does-not-contain-any-subarray-with-sum-0?ref=asr9
HTML
Count of subarray that does not contain any subarray with sum 0
Count of subarray that does not contain any subarray with sum 0, Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program ...
GeeksforGeeks
[0.0115064597, 0.00387668819, -0.0121806664, 0.00746871112, 0.0240467023, -0.0163607467, 0.0254999921, 0.0267435294, -0.00843507424, 0.00391788967, 0.00466700783, -0.0162408892, 0.0410516933, -0.0111169182, -0.0148700019, -0.0112592503, -0.0237920024, 0.0234324262, 0.00691436324, -0.0543260723, 0.0156715587, 0.00712411...
14 Feb, 2022
Modify array such that the array does not contain any common divisors other than 1 14 Feb, 2022 Given an array arr[] consisting of N integers and an integer X, the task is to check if it is possible to modify the array such that the array does not contain any common divisor other than 1, by repeatedly dividing any arra...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/modify-array-such-that-the-array-does-not-contain-any-common-divisors-other-than-1?ref=asr9
HTML
Modify array such that the array does not contain any common divisors other than 1
Count of subarray that does not contain any subarray with sum 0, Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program ...
GeeksforGeeks
[-0.0198019687, 0.0148254801, -0.0206635706, 0.0366329, 0.0188809466, 0.000722797879, 0.0218222737, 0.00730504, 0.0360684022, 0.00279834657, -0.0165635366, -0.0177668072, 0.0341669396, -0.00970786717, 0.0136444923, 0.0220896676, -0.0114756348, 0.0157465022, -0.0348799862, -0.00750558497, 0.00359309907, 0.00822234806, -...
28 Jun, 2021
Length of the longest substring that does not contain any vowel 28 Jun, 2021 Given a string S consisting of N lowercase characters, the task is to find the length of the longest substring that does not contain any vowel. Examples: Input: S = “geeksforgeeks”Output: 3The substring “ksf” is the longest substring that does...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/length-of-the-longest-substring-that-does-not-contain-any-vowel?ref=asr10
HTML
Length of the longest substring that does not contain any vowel
Count of subarray that does not contain any subarray with sum 0, Google SWE Interview Experience (Google Online Coding Challenge) 2022, When Do We Pass Arguments by Reference or Pointer in C++?, Morgan Stanley Interview Experience (On-Campus), How to use cURL to Get JSON Data and Decode JSON Data in PHP ?, C++ Program ...
GeeksforGeeks
[0.0118410587, 0.0317815803, -0.00875240657, 0.0317228884, 0.0426688977, 0.000512177183, 0.00805544201, 0.00850296579, -0.0346574746, -0.0214958508, -0.00438353932, 0.00598655781, 0.00939067919, -0.0121638635, 0.0174607933, 0.00406440301, 0.0122225555, -0.00749053387, -0.00269431784, -0.00248706271, -0.0106598875, 0.00...
09 Aug, 2021
DFA that begins with ‘a’ but does not contain substring ‘aab’ 09 Aug, 2021 Prerequisite: Introduction to Deterministic Finite Automata Construct a DFA that accepts string str starting with input alphabet ‘a’ but does not contain ‘aab’ as a substring over input {a, b}. Examples: Input: str = “babba” Output: Not Accepted...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/dfa-that-begins-with-a-but-does-not-contain-substring-aab?ref=asr5
HTML
DFA that begins with ‘a’ but does not contain substring ‘aab’
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[0.0322304778, 0.0130691612, -0.00678124232, 0.0214869846, 0.00484710047, -0.0147057427, 0.00642886851, 0.00845697708, -0.0431619026, -0.0190125369, -0.0169139542, -0.0189342313, 0.0197172854, -0.0264202226, -0.0195763353, 0.0146587593, 0.0103519661, 0.0262949336, -0.00919304695, -0.0214556623, 0.0012509278, -0.0014711...
10 Aug, 2021
Count of Numbers in Range where the number does not contain more than K non zero digits 10 Aug, 2021 Given a range represented by two positive integers L and R and a positive integer K. Find the count of numbers in the range where the number does not contain more than K non zero digits.Examples: Input : L = 1, R = 1000...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-numbers-in-range-where-the-number-does-not-contain-more-than-k-non-zero-digits?ref=asr9
HTML
Count of Numbers in Range where the number does not contain more than K non zero digits
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.0112222135, 0.00708448235, -0.0174840614, 0.0307280738, 0.0169601943, -0.00286694407, 0.030024128, 0.0390280895, -0.00244539487, 0.0157896783, 0.00650331751, -0.054514911, 0.0293856636, -0.0375547148, -0.0101826647, 0.0123108746, -0.0119752726, 0.000123612655, -0.0170420483, -0.034051355, -0.00695351604, 0.00953601...
23 May, 2022
Count numbers in range L-R that are divisible by all of its non-zero digits 23 May, 2022 Given a range l – r (inclusive), count the numbers that are divisible by all of its non-zero digits.Examples: Input : 1 9 Output : 9 Explanation: all the numbers are divisible by their digits in the range 1-9. Input : 10 20 Output ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-numbers-range-l-r-divisible-non-zero-digits?ref=asr9
HTML
Count numbers in range L-R that are divisible by all of its non-zero digits
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00377109321, 0.00558707584, -0.0115036648, 0.0186284687, -0.00232855859, -0.0222164989, 0.0450773798, 0.0217625033, 0.0239739, 0.0198586509, -0.000212124, -0.00176747108, 0.0161827505, -0.0377841592, -0.00145809504, 0.00725294743, 0.00862591807, -0.00121004495, 0.00841356535, -0.0282795373, 0.006231457, 0.015567658...
25 Apr, 2023
Minimum removals in range to make bitwise AND non-zero for given range queries 25 Apr, 2023 Given an array queries[][] of Q range queries, the task is to find the minimum removals from the range[l, r] such that the bitwise AND of the range is a non-zero value. Examples: Input: queries[][] = { {1, 5}, {3, 4}, {5, 10}, {...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-removals-in-range-to-make-bitwise-and-non-zero-for-given-range-queries?ref=asr10
HTML
Minimum removals in range to make bitwise AND non-zero for given range queries
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.000182499352, -0.0101677468, -0.0162333045, 0.0277712326, 0.0208869074, 0.0110617066, 0.02678537, 0.0386658423, 0.00752764149, 0.00773233315, 0.00692192139, -0.0357583873, 0.0239948798, -0.0422751, -0.0421748422, 0.0175784212, -0.0198509172, 0.0088727586, -0.0175450016, -0.0444473401, 0.0111285448, -0.00087202841, ...
11 Nov, 2021
Minimum palindromic subarray removals to make array Empty 11 Nov, 2021 Given an array arr[] consisting of N elements, the task is to find the minimum palindromic subarray removals required to remove all elements from the array.Examples: Input: arr[] = {1, 3, 4, 1, 5}, N = 5 Output: 3 Explanation: Removal of 4 from the ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-palindromic-subarray-removals-to-make-array-empty?ref=asr10
HTML
Minimum palindromic subarray removals to make array Empty
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00999868754, 0.00321360305, -0.0121678701, 0.0146145904, 0.008216599, 0.000815269188, 0.0112476107, 0.0209906716, -0.0191939753, 0.0245840624, -0.0242334884, -0.0283965655, 0.0316978134, -0.0207131319, -0.018434396, -0.010393084, -0.0222030748, 0.00120601407, -0.00788793433, -0.0683036745, 0.00497378083, -0.0209468...
18 May, 2021
Minimum substring removals required to make all remaining characters of a string same 18 May, 2021 Given a string str of length N, the task is to find the minimum number of substrings required to be removed to make all the remaining characters of the string same. Note: The substring to be removed must not contain the l...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-substring-removals-required-to-make-all-remaining-characters-of-a-string-same?ref=asr10
HTML
Minimum substring removals required to make all remaining characters of a string same
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[0.0235501342, -0.00208912464, -0.00718532316, 0.0152015481, 0.0144972596, 0.017599294, -0.00195064105, 0.0168237854, 0.00269647455, -0.00938523468, -0.0205430593, -0.0191819631, 0.0118304603, -0.00170730555, -0.0144972596, 0.0113240061, -0.00158365944, 0.00411494263, -0.0183273219, -0.0372560583, 0.00462931069, -0.022...
22 Jul, 2022
Minimum removals required to place all 0s before 1s in a Binary String 22 Jul, 2022 Given a binary string S, the task is to find the minimum number of characters required to be removed from S, such that all the 0s are placed before 1s. Examples: Input: S = “001101”Output: 1Explanation: Removing S[4] (= ‘0’) modifies th...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-removals-required-to-place-all-0s-before-1s-in-a-binary-string?ref=asr10
HTML
Minimum removals required to place all 0s before 1s in a Binary String
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[0.00241843821, -0.0022856968, -0.00358765316, 0.00876456592, 0.0100447014, 0.0241480153, 0.0439319313, 0.0241189208, 0.0181982927, -0.0041458942, -0.0308105387, -0.0170927215, 0.01363781, -0.0155652864, -0.0275956523, -0.00539693562, 0.00560423033, 0.0158125851, -0.0284830201, -0.0405861214, -0.0148961246, -0.00866273...
02 Feb, 2023
Minimum removals required to convert given array to a Mountain Array 02 Feb, 2023 Given an array arr[] consisting of N integers???, the task is to find the minimum number of array elements required to be removed to make the given array a mountain array. A mountain array has the following properties: Length of the array...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-removals-required-to-convert-given-array-to-a-mountain-array?ref=asr10
HTML
Minimum removals required to convert given array to a Mountain Array
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[0.00117533875, 0.015058279, -0.0160865653, 0.0134635651, 0.0189448483, 0.0169579927, -0.00560328318, 0.0221168473, 0.0136117088, 0.00102447276, -0.010178281, 0.0010152139, 0.0122697093, -0.0226222761, -0.00591264, -0.00511528365, -0.0207748488, 0.0080607105, -0.0160517078, -0.0353625566, 0.0100388527, -0.034996558, -0...
29 Mar, 2023
Minimum operations of given type required to empty given array 29 Mar, 2023 Given an array arr[] of size N, the task is to find the total count of operations required to remove all the array elements such that if the first element of the array is the smallest element, then remove that element, otherwise move the first ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-operations-of-given-type-required-to-empty-given-array/?ref=next_article
HTML
Minimum operations of given type required to empty given array
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00443605846, -0.00960236695, -0.0141601339, 0.0299822167, 0.00211101, -0.00350645883, 0.00833911914, 0.0304690506, -0.011071261, 0.0302508138, 0.0035820019, -0.0263057854, 0.0141349528, -0.0147896605, -0.0137656312, -0.00754171936, -0.016367672, 0.0268765558, -0.026708683, -0.0539209843, -0.000536146166, -0.0221928...
21 Apr, 2021
Minimum removal of subsequences of distinct consecutive characters required to empty a given string 21 Apr, 2021 Given a binary string, str, the task is to empty the given string by minimum number of removals of a single character or a subsequence containing distinct consecutive characters from str. Examples: Input: st...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimum-removal-of-subsequences-of-distinct-consecutive-characters-required-to-empty-a-given-string?ref=asr10
HTML
Minimum removal of subsequences of distinct consecutive characters required to empty a given string
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[0.0169979334, 0.00249902881, -0.0100566065, 0.00963317, 0.0187521689, 0.0150395408, 0.022517724, 0.0185706951, 0.00264458498, -0.011682298, -4.95032655e-05, -0.0224723555, 0.0137163037, -0.024226591, -0.0307747275, -0.000183481083, 0.0174969826, 0.0158486068, -0.0180716459, -0.044944711, 0.0142304758, -0.0140943713, -...
05 Jul, 2021
Count of distinct GCDs among all the non-empty subsequences of given array 05 Jul, 2021 Given an integer array arr[] of size N, the task is to calculate the total number of distinct Greatest Common Divisors(GCDs) among all the non-empty subsequences of arr[]. Examples: Input: arr[]={3,4,8} N=3Output:4Explanation:The di...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-of-distinct-gcds-among-all-the-non-empty-subsequences-of-given-array?ref=asr10
HTML
Count of distinct GCDs among all the non-empty subsequences of given array
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[0.00777452299, 0.0118917776, -0.0174191538, 0.0171476863, 0.035351079, 0.0180224143, 0.0275840983, 0.0283532552, 0.0234366804, 0.022396056, 0.00780468574, -0.00332736014, 0.0418361314, -0.00728060305, 0.00464510778, -0.000373031944, 0.00947873481, 0.0160768982, -0.00648128241, -0.0396945551, 0.00691864686, -0.01499857...
28 Feb, 2022
Rearrange array to obtain maximum possible value of concatenation of prefix GCDs 28 Feb, 2022 Given an array arr[] consisting of N positive integers, the task is to rearrange the array elements such that the number formed by concatenating the GCD of elements of the array arr[] from index 0 to i for each index i is the ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/rearrange-array-to-obtain-maximum-possible-value-of-concatenation-of-prefix-gcds?ref=asr10
HTML
Rearrange array to obtain maximum possible value of concatenation of prefix GCDs
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00824724231, 0.0103186788, -0.0131139625, 0.0446937419, 0.00963333342, 0.0178959779, -0.00179421809, 0.0250112452, -0.0212996, 0.0159400478, -0.00860916637, -0.00217924337, 0.0430920348, -0.0219926462, -0.00586778624, 0.00102320476, -0.00668403972, 0.0236405544, -0.0421371721, -0.0283070616, -0.00843205489, -0.0300...
15 Sep, 2021
Rearrange given array to obtain positive prefix sums at exactly X indices 15 Sep, 2021 Given an array arr[] consisting of N integers whose absolute values are distinct and an integer K, the task is to find such an arrangement of the given array by the following operations, such that it has positive prefix sum at exactl...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/rearrange-given-array-to-obtain-positive-prefix-sums-at-exactly-x-indices?ref=asr2
HTML
Rearrange given array to obtain positive prefix sums at exactly X indices
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.000301076361, 0.013407426, -0.0142915994, 0.027851468, 0.0155263934, 0.00511067593, -0.00165115611, 0.0139867123, -0.0206561256, 0.00276494818, -0.0101451296, -0.0285679549, 0.0293149278, -0.0102442186, -0.0257020127, -0.00623113755, -0.0260526333, 0.0357023217, -0.042470824, -0.0371962711, -0.020823814, -0.0162505...
24 Jul, 2024
Minimize insertions in an array to obtain all sums upto N 24 Jul, 2024 Given a sorted array arr[] of positive integers of size K, and an integer N. The task is to find the minimum number of elements to be inserted in this array, such that all positive integers in range [1, N] can be obtained as a sum of subsets of the ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimize-insertions-in-an-array-to-obtain-all-sums-upto-n?ref=asr7
HTML
Minimize insertions in an array to obtain all sums upto N
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.0288551338, 0.0230940115, -0.0201886892, 0.0278151594, 0.00968991, 0.00403196, -0.0121330218, 0.0292182975, 0.0062934896, 0.043612849, -0.0170687679, -0.00900484808, 0.026098378, -0.0249098372, -0.0322886966, 0.0129666515, -0.008150585, 0.00662776642, -0.0321236216, -0.0345007032, -0.013915834, -0.0158059429, -0.02...
19 May, 2022
Minimize insertions in Array to divide it in pairs with Bitwise XOR as X 19 May, 2022 Given an array arr of length N of distinct numbers and an integer X, the task is to find the minimum number of elements that should be added in the array such that the array elements can be grouped in pairs where the bitwise XOR of ea...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/minimize-insertions-in-array-to-divide-it-in-pairs-with-bitwise-xor-as-x?ref=asr10
HTML
Minimize insertions in Array to divide it in pairs with Bitwise XOR as X
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00924926531, 0.00801551901, -0.0163682103, 0.00681625633, 0.0252879672, 0.0315716416, 0.0223913454, 0.0156938657, 0.0107818693, 0.0190655943, -0.0114638777, -0.0183605962, 0.00574726518, -0.0171651654, -0.0152723994, 0.00426447066, -0.022697866, 0.0187437478, -0.0399090089, -0.0320007727, -0.00159390818, -0.0028199...
12 Jan, 2024
Count Number of Pairs where Bitwise AND and Bitwise XOR is Equal 12 Jan, 2024 Given an integer array arr of size N, the task is to count the number of pairs whose BITWISE AND and BITWISE XOR are equal. Example: Input: N = 3, arr[] = {0,0,1}Output: 1Explanation: There is only one pair arr[0] and arr[1] as 0&0=0 and 0^0=...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-number-of-pairs-where-bitwise-and-and-bitwise-xor-is-equal?ref=asr10
HTML
Count Number of Pairs where Bitwise AND and Bitwise XOR is Equal
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.0063516181, -0.0174550507, -0.00999418832, -0.013589167, 0.0247768015, 0.0237371121, 0.0179968607, 0.0320399776, 0.0205301866, 0.0139698982, 0.000934438314, -0.0334164649, 0.00509593775, 0.00267060823, -0.0269001089, 0.00014860864, -0.0248060878, 0.0262997244, -0.0126153752, -0.0364916, 0.0129741402, 0.0110265547, ...
06 Apr, 2021
Count pairs with odd Bitwise XOR that can be removed and replaced by their Bitwise OR 06 Apr, 2021 Given an array arr[] consisting of N integers, the task is to count the number of pairs whose Bitwise XOR is odd, that can be removed and replaced by their Bitwise OR values until no such pair exists in the array. Example...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/count-pairs-with-odd-bitwise-xor-that-can-be-removed-and-replaced-by-their-bitwise-or?ref=asr9
HTML
Count pairs with odd Bitwise XOR that can be removed and replaced by their Bitwise OR
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00904046837, -0.00879467744, -0.0174971838, 0.0184035357, 0.0135722235, 0.0383125357, 0.0170516893, 0.0233500618, 0.000790656894, 0.0138180135, 0.00209305645, -0.0251166783, 0.00630221236, -0.017604718, -0.0447338037, -0.0145246601, -0.0424295217, 0.0183420889, -0.0157612916, -0.0431054421, 0.0206924565, -0.0026153...
13 May, 2021
Find the player to be able to replace the last element that can be replaced by its divisors 13 May, 2021 Given an array arr[] consisting of N integers and two players A and B playing a game together by performing the following operations: Choose an integer from arr[] and replace that number with one of its divisors. A ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/find-the-player-to-be-able-to-replace-the-last-element-that-can-be-replaced-by-its-divisors?ref=asr10
HTML
Find the player to be able to replace the last element that can be replaced by its divisors
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[0.00750697358, -0.00689447206, -0.0130769107, 0.0226625614, -0.00855205487, -0.00668009603, 0.0220347475, -0.000257202832, 0.0361682214, 0.0552476496, -0.0142942574, 0.00234281877, 0.0109790927, -0.023321, -0.0218969341, 0.00591829745, 0.00748783303, 0.0313907117, -0.0579732805, -0.0427219905, -0.00494977925, 0.000699...
04 May, 2021
Find the player who wins the game by removing the last of given N cards 04 May, 2021 Given two integers N and K, where N represents the total number of cards present when game begins and K denotes the maximum number of cards that can be removed in a single turn. Two players A and B get turns to remove at most K cards, ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/find-the-player-who-wins-the-game-by-removing-the-last-of-given-n-cards?ref=asr10
HTML
Find the player who wins the game by removing the last of given N cards
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00235382398, -0.00452438183, -0.011331954, 0.0347594693, 0.00889604166, -0.0108432444, -0.00710919732, -0.00302961771, 0.0213810448, 0.0406850725, -0.027612092, -0.0120955622, 0.015043092, -0.0240842197, -0.0214421339, 0.0058148806, 0.00095498818, 0.0164328609, -0.0389135033, -0.0245882012, 0.00222210144, 0.0041654...
27 Sep, 2022
Find the player who will win the Coin game 27 Sep, 2022 Given N coins, the task is to find who win the coin game.Coin game is a game in which each player picks coins from the given N coins in such a way that he can pick coins ranging from 1 to 5 coins in one turn and the game continues for both the players. The player ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/find-the-player-who-will-win-the-coin-game?ref=asr10
HTML
Find the player who will win the Coin game
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.017533021, -0.0235812347, -0.00599724473, -0.00860341266, -0.0115731535, -0.0166359823, 0.0128779365, 0.0164728854, 0.0143254297, 0.0325380266, -0.0493642911, -0.0143254297, -0.0114508299, -0.0266121365, -0.00488953851, 0.00945288129, -0.00356776593, 0.0248860177, -0.0305808522, -0.0164321102, 0.00816168915, -0.001...
10 Sep, 2021
Make a fair coin from a biased coin 10 Sep, 2021 You are given a function foo() that represents a biased coin. When foo() is called, it returns 0 with 60% probability, and 1 with 40% probability. Write a new function that returns 0 and 1 with a 50% probability each. Your function should use only foo(), no other library...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/print-0-and-1-with-50-probability?ref=asr8
HTML
Make a fair coin from a biased coin
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00441632606, -0.0400311165, -0.0135177979, 0.00917059742, 0.0169433318, 0.011589976, -6.57048513e-05, 0.0282184035, 0.00317591452, 0.0259603169, -0.0142320907, 0.00278804591, 0.0245010089, -0.0195700843, -0.0231645908, 0.0209372267, -0.000447393046, 0.023748314, 0.0128495889, -0.0188327506, -0.00726197613, 0.020599...
17 Jun, 2021
Philaland Coin | TCS Mockvita 2020 17 Jun, 2021 Problem Description The problem solvers have found a new Island for coding and named it as Philaland. These smart people were given a task to make purchase of items at the Island easier by distributing various coins with different value. Manish has come up with a solution...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/philaland-coin-tcs-mockvita-2020?ref=asr10
HTML
Philaland Coin | TCS Mockvita 2020
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.0169712584, 0.00613200199, -0.0126271751, -0.00581073575, 0.0178372823, 0.0116494074, 0.0193458386, 0.0544197746, -0.0151693719, 0.0431335382, -0.0258968845, -0.0139681147, 0.0107275117, -0.0206029695, 0.0182283893, -0.00525550311, -0.00430916343, 0.001223083, -0.0153090535, -0.000566145114, 0.0203236062, -0.010720...
25 Apr, 2024
Corona Virus | TCS Codevita 2020 25 Apr, 2024 Problem Description: A city is represented as a two-dimensional rectangular matrix. The outer wall of the given matrix denotes the boundaries of the city. Citizens are dispersed in the city at different locations. They are either depicted by {a, c}. Coronavirus has already ...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/corona-virus-tcs-codevita-2020?ref=asr10
HTML
Corona Virus | TCS Codevita 2020
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00289286859, -0.0106491111, -0.0137422904, 0.0419629, 0.0176553503, -0.0284162629, -0.00262733968, 0.0307268295, -0.000504854484, 0.0157547202, 0.0188385844, -0.0134255197, 0.0184379611, -0.027465947, -0.00876711588, 0.00419722172, -0.0088463081, 0.00236879825, -0.0246709064, -0.0470685102, 0.0171429254, -0.0036708...
11 Jan, 2022
TCS Codevita Interview Experience 2020 11 Jan, 2022 Round 1: The first Round was online Coding round, The duration of the coding Round was 6 Hours and we can give the test from our place. There were 6 coding questions in total. The difficulty level varied from easy to moderate. some of the questions were so simple that...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/tcs-codevita-interview-experience-2020?ref=asr9
HTML
TCS Codevita Interview Experience 2020
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.0261847675, 0.0151125733, -0.0121017136, 0.0110333441, -0.00896135438, 0.00712246401, 0.0106836958, 0.0421390869, 0.00959590171, -0.0084045073, 0.028204957, -0.0563063137, -0.000851458171, 0.00422167871, -0.00351266959, 0.0540789254, -0.0163557678, 0.020137148, -0.0519551374, -0.036000818, 0.00660446659, 0.01643346...
11 Jan, 2022
TCS Interview Experience | Codevita-9 2020 11 Jan, 2022 There are three rounds for this coding competition. Competition is divided into two zones, I am from the Kolkata zone. Round 1: This round is of 24 hours where you can choose your 6 hours according to your comfortability. After the start, you will get a random six...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/tcs-interview-experience-codevita-9-2020?ref=asr10
HTML
TCS Interview Experience | Codevita-9 2020
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[0.00866695121, -0.00650620414, -0.0118381763, -0.00214676769, 0.00195505633, 0.017078286, 0.0190593041, 0.0403871909, 0.0211202018, 0.00208885502, 0.013395831, -0.0598778464, -0.00512827886, -0.026568, 0.00183823227, 0.041697219, 0.00139989227, 0.00825157668, -0.0655652806, -0.0200657882, 0.0125650819, 0.00808382872, ...
11 Jan, 2022
TCS Codevita Interview Experience ( Sep 2020) 11 Jan, 2022 Hello Geeks, My Codevita rank was ~5**. I was Interviewed on (15.9.20) My Slot was 2:00 – 5:00 Round 1:  Codevita All those who completed at least one question in codevita were called for interview. Be Careful they take plagiarism very seriously. Round 2: Inter...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/tcs-codevita-interview-experience-sep-2020?ref=asr9
HTML
TCS Codevita Interview Experience ( Sep 2020)
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.0134419687, 0.000655106211, -0.012503515, 0.0088256048, -0.0154982861, 0.0173751935, 0.00928793103, 0.0467570722, 0.00621035509, 0.0183688495, 0.0103160897, -0.0566936396, -0.00891531, -0.00728681684, -0.00625865767, 0.0430032574, -0.0022581541, 0.0187690724, -0.0546235219, -0.0215430316, 0.0109302253, 0.0156086925...
29 Aug, 2024
TCS Digital Interview Experience through CodeVita Season 9 2020 29 Aug, 2024 Round 1 : ( Online test ) In this round, you have to solve 6 questions within 6 hours. I was able to solve two questions:- Q1. Mr. Binary is lost and wants to be found but the problem is he understands only binary. His house is located at a ma...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/tcs-digital-interview-experience-through-codevita-season-9-2020?ref=asr8
HTML
TCS Digital Interview Experience through CodeVita Season 9 2020
C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from indices having unequal characters in a Binary St...
GeeksforGeeks
[-0.00602397881, 0.0163568743, -0.0093477983, -9.30173192e-05, 0.0138197169, 0.0367391855, 0.01197, 0.0505163781, 0.0161726121, 0.0112400362, 0.0265338551, -0.0727980137, -0.00332204718, -0.0165411383, -0.00990767404, 0.041756805, -0.00689214049, 0.0251164492, -0.0628761649, -0.0300773736, 0.00827765558, 0.0181428064, ...
12 Jan, 2022
TCS Codevita 2019 Season 8 Interview Experience 12 Jan, 2022 I am from Hyderabad and I have solved 2 programs in tcs codevita 2019. I was called for an interview with in 2 weeks, after the declaration results. There are 3 rounds. 1)Technical round 2)Managerial round 3)H.R First, I got an invitation mail from tcs to att...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/tcs-codevita-2019-season-8-interview-experience?ref=asr10
HTML
TCS Codevita 2019 Season 8 Interview Experience
TCS Codevita 2019 Season 8 Interview Experience, C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from...
GeeksforGeeks
[0.000316458812, 0.0319466032, -0.0039863321, 0.00496543106, -0.00379400887, 0.00403878372, 0.00250019948, 0.0564240813, 0.0069026486, 0.0102665536, 0.0216940381, -0.0535147563, 0.00658793794, 0.00749710156, -0.00531860627, 0.0626063943, 0.0153858429, 0.00309115555, -0.0633896738, -0.00939235743, 0.0137563422, 0.003285...
11 Jan, 2022
TCS Interview Experience | Codevita Season 9 11 Jan, 2022 I want to share my interview experience for the codevita. Basically TCS will be recruiting for the digital package through one of its process known   codevita contest. There will be 6 questions which we have to solve in 6 hours of time. If you do atleast one pro...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/tcs-interview-experience-codevita-season-9?ref=asr10
HTML
TCS Interview Experience | Codevita Season 9
TCS Codevita 2019 Season 8 Interview Experience, C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from...
GeeksforGeeks
[-0.0115228947, 0.0132461516, -0.0116634183, 0.00937067252, 0.00418980746, 0.0307079963, 0.0119370678, 0.0555288158, 0.0236226749, 0.0178094544, 0.0136381378, -0.0535467, -0.000492293155, -0.00245175837, 0.000236670501, 0.0511208288, 0.00419720355, 0.0181348771, -0.0552329794, -0.0180017501, 0.00891212374, 0.0194513574...
23 May, 2022
TCS CodeVita Interview Experience (Season 10) 23 May, 2022 Every year TCS conducts its prestigious annual coding competition called Codevita. TCS has huge prize money for the winners, also eligible participants get interview calls from TCS. Let us see my complete experience throughout this process. Round 1: Codevita ha...
HTML/HTML Tutorial/HTML Code to JSON Converter App Using HTML, CSS, and JavaScript/How to parse JSON object using JSON.stringify() in JavaScript ?/How Does the JSON.parse() Method Works in JavaScript?/How to Parse JSON using Node.js?/How to parse JSON Data into React Table Component ?/How to use cURL to Get JSON Data a...
https://www.geeksforgeeks.org/tcs-codevita-interview-experience-season-10/?ref=next_article
HTML
TCS CodeVita Interview Experience (Season 10)
TCS Codevita 2019 Season 8 Interview Experience, C++ Program to Modify given array to a non-decreasing array by rotation, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a string can be made palindromic by swapping pairs of characters from...
GeeksforGeeks
[0.000409280736, 0.0131216478, -0.0127927847, 0.00676225265, -0.0053686942, 0.00479729427, 0.00834079739, 0.0481455959, 0.0303705316, 0.0206855051, 0.0234644, -0.0536376126, 0.0150208343, -0.0205210745, -0.00619496359, 0.0498885736, 0.00133395195, 0.00983301457, -0.0642927885, -0.0244674347, -0.00293099461, 0.004100515...