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 ⌀ |
|---|---|---|---|---|---|---|---|---|
20 Apr, 2024 | Sum of subsets of all the subsets of an array | O(N)
20 Apr, 2024
Given an array arr[] of length N, the task is to find the overall sum of subsets of all the subsets of the array.Examples:
Input: arr[] = {1, 1} Output: 6 All possible subsets: a) {} : 0 All the possible subsets of this subset will be {}, Sum = 0 b) {1} ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/sum-of-subsets-of-all-the-subsets-of-an-array-on?ref=asr10 | Python Tutorial | Sum of subsets of all the subsets of an array | O(N) | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a Queen can attack a given cell on chessboard, Minimum adjacent swaps required to Sort Binary array, Print u... | GeeksforGeeks | [-0.0202729627, -0.00192212674, -0.0100646932, 0.00934681203, 0.00422473066, -0.00819102395, 0.0359514877, 0.0393111706, -0.00931091793, 0.0192104988, -0.0286147427, -0.00216441159, 0.0770142898, -0.0134818079, -0.0198853072, 0.00763825513, -0.0163389742, 0.0104451701, -0.0186218359, -0.0420965478, -0.000452938111, -0.... |
19 May, 2021 | Rearrange an Array such that Sum of same-indexed subsets differ from their Sum in the original Array
19 May, 2021
Given an array A[] consisting of N distinct integers, the task is to rearrange the given array such that the sum of every same-indexed non-empty subsets of size less than N, is not equal to their sum in the... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/rearrange-an-array-such-that-sum-of-same-indexed-subsets-differ-from-their-sum-in-the-original-array?ref=asr9 | Python Tutorial | Rearrange an Array such that Sum of same-indexed subsets differ from their Sum in the original Array | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a Queen can attack a given cell on chessboard, Minimum adjacent swaps required to Sort Binary array, Print u... | GeeksforGeeks | [-0.00606398, -0.0057781022, -0.00631958898, 0.0327448212, -0.000327498652, -0.00394511875, 0.0125920922, 0.021121351, -0.0190361217, -0.00117210043, -0.0254263394, -0.0109037291, 0.0127737084, -0.0343861, -0.00719067641, -0.00305216969, -0.0241617486, 0.04323823, -0.0394175537, -0.0354085304, -0.00961895939, -0.023677... |
11 Jun, 2021 | Construct two N-length arrays with same-indexed elements as co-prime and a difference of N in their sum
11 Jun, 2021
Given a positive integer N, the task is to generate two arrays of length N such that the same-indexed elements of both the arrays are co-prime and absolute difference between the sum of elements of the a... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/construct-two-n-length-arrays-with-same-indexed-elements-as-co-prime-and-a-difference-of-n-in-their-sum?ref=asr10 | Python Tutorial | Construct two N-length arrays with same-indexed elements as co-prime and a difference of N in their sum | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a Queen can attack a given cell on chessboard, Minimum adjacent swaps required to Sort Binary array, Print u... | GeeksforGeeks | [-0.00321255345, -0.0275486447, -0.0196900778, 0.00246671704, 0.0189478789, 0.025758639, 0.0221204124, 0.0131485481, 0.0118751684, 0.0151495719, 0.00373645779, -0.0193408076, 0.0369061604, -0.0258896146, 0.0134614352, 0.00710909301, -0.00255221548, 0.0220185425, -0.00621408969, -0.011816957, -0.00740015134, -0.01235541... |
18 Nov, 2021 | Minimum swaps of same-indexed elements required to make sum of two given arrays even
18 Nov, 2021
Given two arrays arr1[] and arr2[] of size N, the task is to count the minimum number of swaps of same-indexed elements from both the arrays arr1[] and arr2[] required to make the sum of all elements of both the arrays eve... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/minimum-swaps-to-make-sum-of-two-given-arrays-even?ref=asr10 | Python Tutorial | Minimum swaps of same-indexed elements required to make sum of two given arrays even | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a Queen can attack a given cell on chessboard, Minimum adjacent swaps required to Sort Binary array, Print u... | GeeksforGeeks | [-0.0212098546, 0.0043197982, -0.0242443271, 0.0283636618, -0.00327620725, 0.021870207, 0.0188514572, 0.0315868035, -0.0254392494, 0.0174206961, -0.0194803644, -0.0192445237, 0.0488345511, -0.0119099077, -0.0194331966, -0.0144333933, -0.0281435438, 0.035753306, -0.0156990662, -0.0379544795, 0.000685409294, -0.026964345... |
14 Dec, 2022 | Minimize array length by repeatedly replacing pairs of unequal adjacent array elements by their sum
14 Dec, 2022
Given an integer array arr[], the task is to minimize the length of the given array by repeatedly replacing two unequal adjacent array elements by their sum. Once the array is reduced to its minimum possible... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/minimize-array-length-by-repeatedly-replacing-pairs-of-unequal-adjacent-array-elements-by-their-sum?ref=asr9 | Python Tutorial | Minimize array length by repeatedly replacing pairs of unequal adjacent array elements by their sum | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a Queen can attack a given cell on chessboard, Minimum adjacent swaps required to Sort Binary array, Print u... | GeeksforGeeks | [0.0116549125, 0.0317558534, -0.013342604, 0.0186629966, 0.00800707657, 0.0306509063, 0.0279566534, 0.0181180909, -0.0123133389, 0.0220383797, -0.0196165796, -0.0168466456, 0.0311201289, -0.0223713778, 0.00182108011, -0.0242482722, -0.0394450687, 0.00151267892, -0.00567230955, -0.0310595855, -0.010481853, -0.0172553249... |
31 May, 2022 | Make all array elements equal by replacing adjacent pairs by their sum
31 May, 2022
Given an array arr[] consisting of N integers, the task is to replace a minimum number of pairs of adjacent elements by their sum to make all array elements equal. Print the minimum number of such operations required.
Examples:
Input: a... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/make-all-array-elements-equal-by-replacing-adjacent-pairs-by-their-sum?ref=asr9 | Python Tutorial | Make all array elements equal by replacing adjacent pairs by their sum | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a Queen can attack a given cell on chessboard, Minimum adjacent swaps required to Sort Binary array, Print u... | GeeksforGeeks | [-0.00669776648, 0.0148148211, -0.012032059, 0.0195829924, 0.00281066983, 0.0239046477, 0.0143603301, 0.0293107014, -0.00999880861, 0.00920942891, -0.021688005, -0.0190407932, 0.0438863151, -0.0180839691, -0.0250687823, -0.0238727536, -0.0259937122, 0.0260096602, -0.0146633238, -0.0362955146, -0.00192261778, -0.0356895... |
23 Dec, 2023 | Maximize modulus by replacing adjacent pairs with their modulus for any permutation of given Array
23 Dec, 2023
Given an array A[] consisting of distinct elements, the task is to obtain the largest possible modulus value that remains after repeatedly replacing adjacent elements by their modulus, starting from the first... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximize-modulus-by-replacing-adjacent-pairs-with-their-modulus-for-any-permutation-of-given-array?ref=asr10 | Python Tutorial | Maximize modulus by replacing adjacent pairs with their modulus for any permutation of given Array | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a Queen can attack a given cell on chessboard, Minimum adjacent swaps required to Sort Binary array, Print u... | GeeksforGeeks | [-0.0258996692, -0.00172306143, -0.0157235954, 0.022392422, 0.0204364583, 0.0234547127, -0.0185479391, 0.0273329187, -0.0204870421, 0.0416148342, -0.0101339202, 0.0226959344, 0.0544297732, -0.02800739, 0.0260008387, -0.00841823593, -0.0177722983, 0.0186491106, -0.040131, -0.0126547534, 0.0136074433, -0.0184973553, -0.0... |
05 May, 2021 | Smallest array that can be obtained by replacing adjacent pairs with their products
05 May, 2021
Given an array arr[] of size N, the task is to print the least possible size the given array can be reduced to by performing the following operations:
Remove any two adjacent elements, say arr[i] and arr[i+1] and insert a s... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/smallest-array-that-can-be-obtained-by-replacing-adjacent-pairs-with-their-products?ref=asr7 | Python Tutorial | Smallest array that can be obtained by replacing adjacent pairs with their products | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Check if a Queen can attack a given cell on chessboard, Minimum adjacent swaps required to Sort Binary array, Print u... | GeeksforGeeks | [0.0124219283, 0.0237684231, -0.0111286864, 0.0158728417, 0.0162131693, 0.0345499776, 0.0288597122, 0.0145115349, -0.0087736249, 0.00286725326, -0.0502322353, -0.016921049, 0.00563581195, -0.00691203726, 0.0158320032, -0.0236867461, -0.0450864956, 0.00626541628, 0.0114826262, -0.00542140612, 0.0124899941, -0.0138581069... |
24 Jun, 2024 | Maximize profit possible by selling M products such that profit of a product is the number of products left of that supplier
24 Jun, 2024
Given an array arr[] consisting of N positive integers, such that arr[i] represents the number of products the ith supplier has and a positive integer, M, the task is to find the max... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximize-profit-possible-by-selling-m-products-such-that-profit-of-a-product-is-the-number-of-products-left-of-that-supplier?ref=asr3 | Python Tutorial | Maximize profit possible by selling M products such that profit of a product is the number of products left of that supplier | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [-0.0416190326, -0.00658837147, -0.0154854208, 0.0250656512, 0.0240291022, -0.00688677188, -0.0180296786, 0.0286464579, -0.00805681664, 0.0351798609, -0.00102182571, -0.00405981857, 0.0245002601, -0.0148100937, -0.00901483931, 0.00574421184, 8.52135e-05, 0.0296358913, -0.0286307521, -0.00865361746, 0.00467232522, 0.001... |
06 May, 2021 | Maximum profit by buying and selling a stock at most twice | Set 2
06 May, 2021
Given an array prices[] which denotes the prices of the stocks on different days, the task is to find the maximum profit possible after buying and selling the stocks on different days using transaction where at most two transactions are all... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximum-profit-by-buying-and-selling-a-stock-at-most-twice-set-2?ref=asr10 | Python Tutorial | Maximum profit by buying and selling a stock at most twice | Set 2 | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [-0.0145457191, -0.00157176121, -0.015907649, 0.00551502081, 0.0225985199, -0.0195579343, -0.0369304493, 0.0421564542, -0.0414596535, 0.0232319757, 0.00271989894, -0.00767668756, 0.0409212187, -0.0520700328, -0.000215275853, 0.00191521272, -0.0094305668, 0.0214899741, -0.0290597659, -0.0239762869, 0.0250689965, 6.70803... |
01 Jul, 2021 | Maximum profit that can be obtained by buying at most K books
01 Jul, 2021
Given an integer K and an array arr[] consisting of N integers, where an array element arr[i] represents the price of the ith book. Profit of buying ith book represents max(0, -1 * arr[i]), the task is to find the maximum profit possible by buyi... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximum-profit-that-can-be-obtained-by-buying-at-most-k-books?ref=asr5 | Python Tutorial | Maximum profit that can be obtained by buying at most K books | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [0.00321041164, 0.000346357236, -0.00692899944, 0.0211282559, 0.0143773025, -0.0305350758, -0.0171518698, 0.0100744981, -0.0330870859, 0.0363512821, -0.0143031171, -0.0344521143, 0.0124484589, -0.0296003297, -0.0126487622, -0.00573830958, -0.00693641789, 0.0120107606, -0.0310395434, -0.019837413, -0.0225674696, 0.00381... |
09 Jun, 2022 | Maximum array sum that can be obtained after exactly k changes
09 Jun, 2022
Given an array arr[] of n integers and an integer k. The task is to maximize the sum of the array after performing the given operation exactly k times. In a single operation, any element of the array can be multiplied by -1 i.e. the sign of the... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximum-array-sum-that-can-be-obtained-after-exactly-k-changes?ref=asr10 | Python Tutorial | Maximum array sum that can be obtained after exactly k changes | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [0.00255788746, 0.00279167295, -0.0126990667, 0.0349853, 0.0197715666, 0.0251938161, -0.00144298642, 0.024549434, -0.0329107, 0.027802784, -0.0101686837, -0.0186242498, 0.0324392021, -0.0306160673, -0.0208717342, 0.00482501648, -0.0435666, 0.0177441165, -0.029075833, -0.0312133, -0.0162353162, -0.0285571832, -0.0209817... |
09 May, 2022 | Minimum number of insertions required such that first K natural numbers can be obtained as sum of a subsequence of the array
09 May, 2022
Given an array arr[] consisting of N positive integers and a positive integer K, the task is to find the minimum number of elements that are required to be inserted such that all num... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/minimum-number-of-insertions-required-such-that-first-k-natural-numbers-can-be-obtained-as-sum-of-a-subsequence-of-the-array?ref=asr10 | Python Tutorial | Minimum number of insertions required such that first K natural numbers can be obtained as sum of a subsequence of the array | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [0.00828707684, 0.00879199617, -0.0120379012, 0.026896935, 0.00672022672, 0.0010749558, 0.0149071217, 0.0222645067, -0.00549800275, 0.0278426558, -0.0141697805, -0.0299905632, 0.0524153635, -0.0222645067, -0.0184175093, 0.00944117736, -0.0190105867, 0.0201005712, -0.0323949382, -0.0375082418, -0.0206936486, -0.02601533... |
28 Jul, 2023 | Check if a given number can be expressed as pair-sum of sum of first X natural numbers
28 Jul, 2023
Given an integer N, the task is to check if N is the sum of a pair of integers which can be expressed as the sum of first X natural numbers, where X can be any positive integer. If satisfies the required condition. Print... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/check-if-a-given-number-can-be-expressed-as-pair-sum-of-sum-of-first-x-natural-numbers?ref=asr8 | Python Tutorial | Check if a given number can be expressed as pair-sum of sum of first X natural numbers | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [-0.0226282887, 0.015726814, -0.0200020634, 0.0365839265, 0.00779088028, 0.0211319514, 0.0162154138, 0.0185668, 0.00395078911, 0.0221549571, -0.0122608067, 0.000192052263, 0.0354845785, -0.0333774909, -0.0143373571, 0.0144060664, -0.00805426575, 0.0188569073, -0.00861921, -0.0221549571, -0.000493848638, 0.0154672442, -... |
31 May, 2022 | Check if N can be expressed as product of 3 distinct numbers
31 May, 2022
Given a number N. Print three distinct numbers (>=1) whose product is equal to N. print -1 if it is not possible to find three numbers.Examples:
Input: 64 Output: 2 4 8 Explanation: (2*4*8 = 64)Input: 24 Output: 2 3 4 Explanation: (2*3*4 = 24)Inp... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/check-if-n-can-be-expressed-as-product-of-3-distinct-numbers?ref=asr10 | Python Tutorial | Check if N can be expressed as product of 3 distinct numbers | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [-0.00630319631, -0.00410312787, -0.0189205892, 0.0172925387, -0.00207906472, 0.0462894402, -0.00635819789, 0.0225873701, 0.0369318165, 0.046494782, -0.00257591344, -0.00431580096, 0.0330303609, -0.0181725658, 0.0213553309, 0.0108903395, 0.0038611202, 0.022440698, -0.022338029, 0.00970230252, -0.0122910496, 0.010127648... |
31 May, 2021 | Largest palindrome not exceeding N which can be expressed as product of two 3-digit numbers
31 May, 2021
Given a positive integer N, the task is to find the largest palindromic number less than N and it can be expressed as the product of two 3-digit numbers.
Examples:
Input: N = 101110Output: 101101Explanation: The num... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/largest-palindrome-not-exceeding-n-which-can-be-expressed-as-product-of-two-3-digit-numbers?ref=asr2 | Python Tutorial | Largest palindrome not exceeding N which can be expressed as product of two 3-digit numbers | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [-0.0314682089, -0.000904671673, -0.0200080518, 0.0436367579, 0.00656046858, 0.053711623, -0.00657227496, 0.024919549, 0.00583240204, 0.0301773679, -0.0100355102, -0.0109642865, 0.0417162366, -0.0259112921, 0.00670214649, 0.016450366, -0.0238490943, -0.00240852241, -0.00675330777, 0.00170898833, 0.00762698753, -0.00514... |
14 Sep, 2023 | Count of primes below N which can be expressed as the sum of two primes
14 Sep, 2023
Given an integer N, the task is to find the count of all the primes below N which can be expressed as the sum of two primes.Examples:
Input: N = 6 Output: 1 5 is the only such prime below 6. 2 + 3 = 5.Input: N = 11 Output: 2
Recommende... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/count-of-primes-below-n-which-can-be-expressed-as-the-sum-of-two-primes?ref=asr9 | Python Tutorial | Count of primes below N which can be expressed as the sum of two primes | Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that profit of a product is the number of products left of that s... | GeeksforGeeks | [0.00181683723, -0.00107613427, -0.0160377435, -0.00362777244, 0.0100255571, 0.0195159987, 0.022411922, 0.0335864052, 0.0186818466, 0.0394726805, -0.004556356, 0.0210111756, 0.0584535636, -0.0255439244, 0.0280306414, 0.0166987702, -0.0117017301, 0.0165413823, -0.0123312781, -0.0258586984, 0.00576036749, 0.00854611862, ... |
18 Mar, 2022 | Count of numbers below N whose sum of prime divisors is K
18 Mar, 2022
Given two integers K and N, the task is to find the count of integers from the range [2, N – 1] whose sum of prime divisors is KExample:
Input: N = 20, K = 7 Output: 2 7 and 10 are the only valid numbers. sumPFactors(7) = 7 sumPFactors(10) = 2 + 5 =... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/count-of-numbers-below-n-whose-sum-of-prime-divisors-is-k?ref=asr9 | Python Tutorial | Count of numbers below N whose sum of prime divisors is K | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0172909424, 0.00962023623, -0.00921886228, -0.0108371014, 0.0231522787, 0.0187945012, 0.0162970629, 0.0112767015, 0.0208969377, 0.0365186743, -0.00164212973, -0.0244009979, 0.00592186069, -0.0146660823, -0.0185906291, -0.00357732642, -0.0100216111, -0.018488694, -0.00662585814, 0.00508725736, 0.00549818808, 0.01885... |
12 Apr, 2023 | Find sum of inverse of the divisors when sum of divisors and the number is given
12 Apr, 2023
Given an integer N and the sum of its divisors. The task is to find the sum of the inverse of the divisors of N.Examples:
Input: N = 6, Sum = 12 Output: 2.00 Divisors of N are {1, 2, 3, 6} Sum of inverse of divisors is equal t... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/find-sum-of-inverse-of-the-divisors-when-sum-of-divisors-and-the-number-is-given?ref=asr10 | Python Tutorial | Find sum of inverse of the divisors when sum of divisors and the number is given | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0319021456, 0.0164145436, -0.00825876836, 0.0147151547, 0.0254908185, -0.00306082936, 0.0470936447, 0.0379015021, 0.0181268044, 0.0437463671, -0.0352236778, 0.0220791698, 0.0323913656, -0.026289016, -0.00527840201, 0.0203540325, -0.0218731835, -0.00392017886, -0.0049565481, 0.000958319637, -0.0287608542, 0.03545541... |
07 Jan, 2024 | Find the value of P and modular inverse of Q modulo 998244353
07 Jan, 2024
Given two integer P and Q, the task is to find the value of P and modular inverse of Q modulo 998244353. That is
[Tex]P * Q^{-1} \% 998244353 [/Tex]
Note: P and Q are co-prime integersExamples:
Input: P = 1, Q = 4Output: 748683265Explanation:... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/find-the-value-of-p-and-modular-inverse-of-q-modulo-998244353?ref=asr10 | Python Tutorial | Find the value of P and modular inverse of Q modulo 998244353 | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0339311473, 0.00945844315, -0.014851653, 0.0419261083, 0.000578872277, 0.0131916823, 0.0445278585, 0.0318714306, 0.0327115767, 0.0664530173, -0.0360992737, -0.0193911642, 0.0437690131, -0.0250689387, -0.000426426064, 0.0182122458, -0.0199060924, 0.0318714306, -0.0315191112, 0.00307772052, -0.0029913343, -0.01124714... |
07 Oct, 2023 | Find the largest possible value of K such that K modulo X is Y
07 Oct, 2023
Given three integers N, X, and Y, the task is to find out the largest positive integer K such that K % X = Y where 0 ≤ K ≤ N. Print -1 if no such K exists.
Examples:
Input: N = 15, X = 10, Y = 5Output:15Explanation:As 15 % 10 = 5
Input: N = 187... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/find-the-largest-possible-value-of-k-such-that-k-modulo-x-is-y?ref=asr10 | Python Tutorial | Find the largest possible value of K such that K modulo X is Y | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.026943583, 0.0213223659, -0.0136998771, 0.0273114629, 0.0121253477, 0.0130597651, 0.0145607181, 0.0156570021, -0.0108230505, 0.0256486423, 0.0095943287, -0.00888799783, 0.0390836447, -0.0227497425, -0.00516504515, 0.0367880687, 0.0100946464, 0.0173051078, -0.0202481542, -0.0237650927, 0.0171873868, -0.0103668785, -... |
10 Jan, 2023 | Count of Pairs such that modulo of product of one with their XOR and X is 1
10 Jan, 2023
Given two arrays A[] and B[] of length N and M respectively and a prime number X, the task is to find the number of ordered pair of indices (i, j) that satisfies the following conditions:
1 ? i ? N and 1 ? j ? M
( Ai ? Bj ) < X
(( ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/count-of-pairs-such-that-modulo-of-product-of-one-with-their-xor-and-x-is-1?ref=asr10 | Python Tutorial | Count of Pairs such that modulo of product of one with their XOR and X is 1 | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0183761269, 0.0046894229, -0.0180708766, 0.0181777142, 0.0169414468, 0.0101190805, 0.0203297362, 0.0189103168, 0.016498832, 0.0166514572, -0.00732221548, -0.00693302, 0.0296551622, -0.0201465841, -0.0019860412, 0.00512059033, -0.0005465906, 0.0255495328, -0.0357449241, -0.0200855341, 0.000347461813, 0.00806626491, ... |
09 Dec, 2022 | Count pairs whose product modulo 10^9 + 7 is equal to 1
09 Dec, 2022
Given an array arr[], the task is to count the number of unordered pairs (arr[i], arr[j]) from the given array such that (arr[i] * arr[j]) % 109 + 7 is equal to 1.
Example:
Input: arr[] = {2, 236426, 280311812, 500000004}Output: 2Explanation: Two such... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/count-pairs-whose-product-modulo-109-7-is-equal-to-1?ref=asr10 | Python Tutorial | Count pairs whose product modulo 10^9 + 7 is equal to 1 | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00443583075, -0.00112606247, -0.0204344708, 0.00861319, 0.00145485369, 0.0195830334, 0.00661383523, 0.0285231136, 0.0223806109, 0.0312294662, -0.0117452592, -0.00705475733, 0.0316855907, -0.00932778791, 0.00591444131, -0.00935059413, -0.0316551849, 0.0243419539, -0.014155128, -0.0141247194, -0.0179713871, 0.0002189... |
08 Sep, 2022 | Sort elements of array whose modulo with K yields P
08 Sep, 2022
Given an array of integers and a number K. The task is to sort only those elements of the array which yields remainder P upon division by K . Sorting must be done at their relative positions only without affecting any other elements.
Examples:
Input : arr... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/sort-elements-of-array-whose-modulo-with-k-yields-p?ref=asr10 | Python Tutorial | Sort elements of array whose modulo with K yields P | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00060346094, 0.0111021586, -0.0167674571, 0.0427943282, -0.00622497592, 0.00853602216, 0.0112087633, 0.0156861767, 0.00703212852, 0.0390479229, -0.0154272793, -0.0459315628, 0.0338090435, -0.0311134569, -0.0101350984, -0.013241875, -0.0228439476, 0.0374945328, -0.0648158938, -0.0303672217, -0.0271995272, -0.0082085... |
27 Aug, 2022 | Sum of the natural numbers (up to N) whose modulo with K yield R
27 Aug, 2022
Given three integers N, K, and R. The task is to calculate the sum of all those numbers from 1 to N which yields remainder R upon division by K.Examples:
Input: N = 20, K = 4, R = 3 Output: 55 3, 7, 11, 15 and 19 are the only numbers that giv... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/sum-natural-numbers-up-to-n-whose-modulo-with-k-yield-r?ref=asr9 | Python Tutorial | Sum of the natural numbers (up to N) whose modulo with K yield R | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0127679948, -0.0100806924, -0.00579490885, 0.0171166584, 0.00320854597, -0.0128408037, 0.022160314, 0.0154486774, 0.0278526284, 0.0198171977, -0.0279320572, -0.0277202502, 0.0308708791, -0.0427056, -0.0261052214, 0.0117023401, -0.0125363311, -0.0131452763, -0.0345245525, -0.0137806972, -0.000814960804, 0.042996835,... |
19 Aug, 2022 | Maximum set of number from the first N natural numbers whose Bitwise AND is positive
19 Aug, 2022
Given a positive integer N, the task is to find the maximum set of numbers from the first N natural numbers whose Bitwise AND is positive
Examples:
Input: N = 7Output: 4Explanation:The set of numbers from the first N(= 7) ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximum-set-of-number-from-the-first-n-natural-numbers-whose-bitwise-and-is-positive?ref=asr10 | Python Tutorial | Maximum set of number from the first N natural numbers whose Bitwise AND is positive | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0105967103, 0.00565005, -0.00602085842, 0.0105355466, 0.0515614823, 0.0232730061, 0.0299552046, 0.0347718894, 0.0134026222, 0.0263312198, -0.000862034, 0.000430539163, 0.0138613535, -0.00745821884, -0.0153140053, -0.00481286412, -0.011934679, 0.00346342707, -0.00808133, -0.0500323772, 0.0371267162, 0.0214074962, -0... |
02 Dec, 2022 | Find pair whose bitwise OR and bitwise AND follows the given condition
02 Dec, 2022
Given 2 arrays arr1[] and arr2[], of size N and M respectively, the task is to find a pair of value (say a and b) such that the following conditions are satisfied:
(a | b) ? arr1[i] for all values of i in the range [0, N-1].
(a & b) ? a... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/find-pair-whose-bitwise-or-and-bitwise-and-follows-the-given-condition?ref=asr10 | Python Tutorial | Find pair whose bitwise OR and bitwise AND follows the given condition | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00403706031, -0.0143383974, -0.0138582345, 0.000453153538, 0.0157050136, 0.014013364, 0.00631598616, 0.010836903, -0.0212305784, -0.00146357284, -0.00377297075, -0.0174040515, 0.0393290184, -0.00547385495, -0.0346012637, -0.00358644594, -0.00667426176, 0.0423429646, -0.00449875509, -0.0232841969, -0.0030693477, 0.0... |
06 Jan, 2024 | Maximize sum of selected integers from an Array of pair of integers as per given condition
06 Jan, 2024
Given an array arr[] having N pair of integers of the form (x, y), the task is to maximize the sum y values in selected pairs such that if a pair (xi, yi) is selected, the next xi pairs cannot be selected.
Examples:
... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximize-sum-of-selected-integers-from-an-array-of-pair-of-integers-as-per-given-condition?ref=asr10 | Python Tutorial | Maximize sum of selected integers from an Array of pair of integers as per given condition | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0195351634, 0.00387464021, -0.0140284402, 0.0318941437, 0.0229405276, 0.00218649325, -0.000156252238, 0.0385055356, -0.0105898529, 0.0290701836, 0.00837221276, -0.0096845245, 0.0594360679, -0.0341533124, -0.0279239882, -0.0050208359, -0.0305486117, 0.019800948, -0.0232561473, -0.0479408875, -0.0164869465, -0.016055... |
17 Nov, 2021 | Maximize the sum of elements arr[i] selected by jumping index by value i
17 Nov, 2021
Given an array arr[], the task is to calculate the maximum sum of elements from the array such that, if an ith element is picked, then arr[i] is added to the sum and i jumps are taken ahead from the current index.
Examples:
Input: N =... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximize-the-sum-of-elements-arri-selected-by-jumping-index-by-value-i?ref=asr10 | Python Tutorial | Maximize the sum of elements arr[i] selected by jumping index by value i | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00402265042, 0.0103429034, -0.00995135, 0.0132906307, 0.0101582082, -0.000655666168, -0.00393769098, 0.0289896801, -0.0412238576, 0.0289601292, 0.000878685038, -0.0128251994, 0.0770103037, -0.0183660407, -0.023906881, 0.0212768298, -0.014177165, 0.0184990205, -0.0261970963, -0.0453019142, 0.00896877423, -0.02575382... |
30 Mar, 2022 | Count number of pairs (i, j) such that arr[i] * arr[j] = arr[i] + arr[j]
30 Mar, 2022
Given an array arr[] of length N, count the number of pairs (i, j) such that arr[i] * arr[j] = arr[i] + arr[j] and 0 <= i < j <= N. It is also given that elements of the array can be any positive integers including zero.
Examples:
Inp... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/count-number-of-pairs-i-j-such-that-arri-arrj-arri-arrj-2?ref=asr10 | Python Tutorial | Count number of pairs (i, j) such that arr[i] * arr[j] = arr[i] + arr[j] | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [0.000481049618, -0.0162786096, -0.0106057609, 0.018919168, 0.00820459332, 0.0145593444, 0.0295539461, 0.0232862458, 0.0158723705, 0.0078418795, 0.00031533459, -0.0375481658, 0.0385927819, 0.0109757297, -0.00908961613, -0.000386063854, -0.033050511, 0.0300037116, -0.00550237345, -0.0302648656, 7.77568421e-05, -0.015059... |
01 Jun, 2024 | Strassen algorithm in Python
01 Jun, 2024
Strassen's algorithm is an efficient method for matrix multiplication. It reduces the number of arithmetic operations required for multiplying two matrices by decomposing them into smaller submatrices and performing recursive multiplication. Strassen's algorithm is based on the... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/strassen-algorithm-in-python?ref=asr5 | Python Tutorial | Strassen algorithm in Python | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00418048631, -0.0279425699, -0.00564145111, 0.0219637733, 0.00452302163, -0.0239567049, 0.0459204763, 0.0125388643, 0.00535600493, 0.0666386709, -0.000647767796, -0.00462682033, 0.0361218937, 0.00713096047, 0.0198566616, -0.0109092277, 0.00919655152, 0.00350839086, -0.0303091761, -0.0158292782, 0.00555322226, 0.001... |
12 Apr, 2024 | What is the stupidest sorting algorithm? (Worst Sorting Algorithm)
12 Apr, 2024
Bogo sort stands out as the undisputed champion of stupidity. Unlike other sorting algorithms that follow a structured approach, Bogo sort relies on sheer luck and randomness to achieve its goal.
How Bogo Sort Works?Bogo sort operates on th... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/what-is-the-stupidest-sorting-algorithm?ref=asr10 | Python Tutorial | What is the stupidest sorting algorithm? (Worst Sorting Algorithm) | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00155728043, -0.0141223883, -0.0210661124, 0.0147880455, 0.0192779731, -0.0273311287, 0.0188342016, -0.0135350432, -0.0333873108, 0.0476663224, -0.0274094399, -0.0162237789, 0.0164065082, -0.00829461869, -0.0113618663, 0.0260520205, 0.0166414455, 0.00648363773, -0.0393912829, -0.0230239294, -0.0254907794, -0.011642... |
01 Sep, 2022 | Sorting objects using In-Place sorting algorithm
01 Sep, 2022
Given an array of red, blue and yellow objects, the task is to use an in-place sorting algorithm to sort the array in such a way that all the blue objects appear before all the red objects and all the red objects appear before all the yellow objects.Examples... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/sorting-objects-using-in-place-sorting-algorithm?ref=asr10 | Python Tutorial | Sorting objects using In-Place sorting algorithm | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0197385475, -0.00318324519, -0.0204342511, 0.0499611758, 0.00606717635, 0.00352300727, 0.02455993, 0.00774980662, -0.0250776634, -0.000506103621, -0.0327627547, 0.0164541826, 0.0360471196, -0.0106782308, -0.0034987384, 0.00450184522, -0.0331672318, 0.0261454862, -0.0355293863, -0.0403184108, 0.00911694393, -0.00863... |
29 Aug, 2022 | In-Place Algorithm
29 Aug, 2022
In-place has more than one definition. One strict definition is.
An in-place algorithm is an algorithm that does not need an extra space and produces an output in the same memory that contains the data by transforming the input ‘in-place’. However, a small constant extra space used for v... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/in-place-algorithm?ref=asr10 | Python Tutorial | In-Place Algorithm | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0259315316, 0.00926649384, -0.0274405405, 0.0611222312, 0.00115373335, 0.00980124, 0.0158079788, 0.00573204039, -0.029857887, 0.0173755903, -0.0041278014, 0.0194266718, 0.0539727472, -0.0181520712, 0.00323594734, 0.00580895599, -0.00122881762, 0.0298285857, -0.0391170569, -0.0504273064, 0.00308761024, -0.0255359653... |
16 Feb, 2023 | Print * in place of characters for reading passwords in C
16 Feb, 2023
While writing a C program, if you want to type password and it should not be visible on screen or an * symbol is to be printed. Examples:
Input : abcdefg
Output : *******
Note : Below solution uses getch() which may not work on all compilers as thi... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/print-in-place-of-characters-for-reading-passwords-in-c?ref=asr10 | Python Tutorial | Print * in place of characters for reading passwords in C | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [0.00977893, 0.00358976983, -0.00866652746, 0.0388432965, 0.0285365414, -0.0155395884, -0.00229716883, 0.0278327763, -0.0156531, -0.0227361545, -0.0307159442, -0.032486707, -0.00906948932, -0.0077697942, 0.0192059781, 0.0058089, 0.0132012721, 0.0169698205, -0.00308181019, 0.00836004876, 0.0374357663, -0.0220550913, -0.... |
10 May, 2022 | Efficiently Reading Input For Competitive Programming using Java 8
10 May, 2022
As we all know, while solving any CP problems, the very first step is collecting input or reading input. A common mistake we all make is spending too much time on writing code and compile-time as well. In Java, it is recommended to use Buff... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/efficiently-reading-input-for-competitive-programming-using-java-8?ref=asr9 | Python Tutorial | Efficiently Reading Input For Competitive Programming using Java 8 | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [0.0227439143, 0.00114585855, -0.017609207, 0.025311267, -0.0100252777, 0.0131439036, -0.0102142859, 0.00930862408, 0.00476062903, 0.0277053639, 0.0220036339, 0.00284102047, 0.0682317391, -0.0435032472, 3.42391686e-05, 0.0129155191, 0.00644988427, -0.00108384038, -0.0256892834, 0.00202592509, -0.00267170114, -0.0203498... |
04 Jan, 2024 | Competitive Programming vs General Programming
04 Jan, 2024
Programming enthusiasts face a crossroads - Competitive Programming or General Programming? This article sheds light on the distinctions between Competitive Programming vs General Programming, offering a quick guide for those navigating the coding landscape. W... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/competitive-programming-vs-general-programming?ref=asr10 | Python Tutorial | Competitive Programming vs General Programming | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [0.000778195797, -0.0139464187, -0.0295606572, 0.0282954145, 0.0185185429, 0.00651671551, 0.0174258351, 0.0046368246, -0.00558216171, 0.00749799702, 0.0174545906, -0.020948384, 0.0439959168, -0.0652174801, 0.00107024389, 0.031659808, 0.023507623, 0.029761944, -0.0276052821, -0.021063406, 0.000997456489, -0.00697320933,... |
19 Feb, 2020 | Difference between General tree and Binary tree
19 Feb, 2020
General Tree:
In the data structure, General tree is a tree in which each node can have either zero or many child nodes. It can not be empty. In general tree, there is no limitation on the degree of a node. The topmost node of a general tree is called the roo... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-general-tree-and-binary-tree?ref=asr10 | Python Tutorial | Difference between General tree and Binary tree | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00546797365, 0.00680713076, -0.0192236751, 0.0157809872, 0.0362324752, 0.0130725801, 0.0114354985, -0.0118688438, -0.0110021532, -0.0215950366, 0.0186940301, 0.00376468641, -0.0175143685, -0.0165513791, -0.0358472764, 0.0258803386, 0.0057478426, 0.023256192, 0.00335842534, -0.0478605703, 0.0105567705, -0.0361121, -... |
05 Sep, 2024 | Difference between General Management and Project Management
05 Sep, 2024
With an emphasis on long-term strategy and organizational objectives, general management includes the overall administration and coordination of an organization’s resources and operations. Project management, on the other hand, is focused on orga... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-general-management-and-project-management?ref=asr4 | Python Tutorial | Difference between General Management and Project Management | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0251147691, 0.00766974175, -0.0242801383, 0.0298443381, 0.00282319845, 0.00644308887, 0.0133920144, 0.000502279552, -0.0306030922, -0.0568559915, 0.0264046509, -0.0150612742, -0.00461891713, -0.0591828376, -0.0207266398, 0.0101736309, -0.0276186578, 0.0239766371, -0.000990332454, 0.0125320926, 0.00308085885, -0.033... |
20 Apr, 2023 | Differences between Operational Database Systems and Data Warehouse
20 Apr, 2023
The Operational Database is the source of data for the information distribution center. It incorporates point by point data utilized to run the day to day operations of the trade. The information as often as possible changes as upgrades ar... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/differences-between-operational-database-systems-and-data-warehouse?ref=asr9 | Python Tutorial | Differences between Operational Database Systems and Data Warehouse | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0216082726, 0.00070864585, -0.0210740771, 0.0369931497, 0.023758417, -0.00175116491, 0.00356576568, -0.00019573317, -0.0379279964, -0.00995609909, 0.0677896142, -0.0296479408, 0.00364255649, -0.0234646089, -0.061646346, 0.0248268116, -0.00013240159, 0.0367527604, 0.0222359542, -0.00509156613, 0.0685909092, 0.009909... |
14 Feb, 2025 | Data Modeling Techniques For Data Warehouse
14 Feb, 2025
Data modeling is the process of designing a visual representation of a system or database to establish how data will be stored, accessed, and managed. In the context of a data warehouse, data modeling involves defining how different data elements interact and how... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/data-modeling-techniques-for-data-warehouse?ref=asr8 | Python Tutorial | Data Modeling Techniques For Data Warehouse | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.038737651, -0.0227900613, -0.0296870545, 0.00538401585, 0.0349756554, -0.0244257115, 0.00125996186, -0.0161384176, -0.00879843626, 0.0155386785, 0.0744766146, -0.0290873162, 0.0237578209, -0.0125876926, -0.0292508807, 0.0171879586, 0.0199140441, 0.0223266277, 0.0302050095, -0.0114495521, 0.0235261042, 0.00328663504... |
11 Dec, 2022 | Types of Keys in Data Warehouse Schema
11 Dec, 2022
Types of Schema are as following below as follows:
Star Schema – In figuring, the star schema is the least complex style of information store composition and is the methodology most broadly used to create information distribution centers. The star schema of at least o... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/types-of-keys-in-data-warehouse-schema?ref=asr10 | Python Tutorial | Types of Keys in Data Warehouse Schema | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0164570343, -0.0226214, -0.0216805972, -0.00438807439, 0.0569817759, -0.0301337838, 0.0366772786, 0.00107507815, -0.0132274106, -0.00213611452, 0.045551721, -0.000252753089, 0.0243345052, -0.0296844449, -0.0325208977, 0.0346833393, 0.0127219046, -0.00829170551, 0.00987141207, -0.00479879789, 0.015333687, -0.0079055... |
23 Feb, 2022 | Difference between Star Schema and Fact Constellation Schema
23 Feb, 2022
Star Schema:
Star schema is a multidimensional model type that uses simple queries in order to access data from the database. A star schema depicts each dimension with only one-dimension table. Star schema is easy to operate as compared to fact c... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-star-schema-and-fact-constellation-schema?ref=asr5 | Python Tutorial | Difference between Star Schema and Fact Constellation Schema | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [0.005042715, -0.0158859901, -0.0278836228, 0.0158859901, 0.0457137935, -0.0505230762, 0.0232022442, 0.00787904207, -0.0120423995, 0.00851217937, 0.0445114709, -0.00226714322, 0.0162952915, -0.00970171, -0.0551532954, 0.00707962643, 0.0192371421, 0.021296436, 0.0141592529, 0.0113580991, 0.0098871747, -0.0169348232, 0.0... |
07 Aug, 2024 | Difference between Document Type Definition (DTD) and XML Schema Definition (XSD)
07 Aug, 2024
Document Type Definition and XML Schema Definition both contain a set of rules that control the structure and elements of XML files, but they are different in syntax and usage. They check whether an XML document has a valid s... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-document-type-definition-dtd-and-xml-schema-definition-xsd?ref=asr10 | Python Tutorial | Difference between Document Type Definition (DTD) and XML Schema Definition (XSD) | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0181762855, 0.0193364751, -0.0190786552, 0.0617048405, 0.0672049895, -0.00561115844, 0.0251660645, -0.00265160366, -0.00248330459, -0.0326858051, 0.0459205471, -0.0136286337, 0.0303940736, -0.0382718965, -0.025266327, 0.0268705375, -0.00772742834, -0.00214491645, -0.0161567, 0.00564696686, 0.00470162788, 0.00467656... |
02 May, 2024 | What is the Difference Between Document Fingerprint and Message Digest?
02 May, 2024
Technologies like Document Fingerprint and Message Digests play crucial roles in the wide area of data security and lack of honesty. These cryptographic techniques serve distinctive functions, but they are all grounded on the principle... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/what-is-the-difference-between-document-fingerprint-and-message-digest?ref=asr10 | Python Tutorial | What is the Difference Between Document Fingerprint and Message Digest? | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00734465756, -0.0169456191, -0.0243836399, -0.0046993359, 0.0532798879, 0.0195909403, 0.00466043409, 0.0143625401, -0.000569424941, 0.0129698562, 0.0187973436, -0.00974878762, 0.0235122405, -0.0482070968, -0.0331132, 0.00855061319, -0.00587417, 0.0017564157, 0.0187039804, -0.0363498293, 0.00996663794, -0.0135845039... |
06 Sep, 2024 | Difference between Circuit switching and Message switching
06 Sep, 2024
Data is transmitted through various networks and while doing that, there are several techniques that are used in switching data so that it gets to intended destination. Both methods circuit switching and message switching are distinct. In this arti... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-circuit-switching-and-message-switching?ref=asr9 | Python Tutorial | Difference between Circuit switching and Message switching | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0384790525, -0.0115022128, -0.0194915067, 0.0472539365, 0.00828574318, 0.0468685515, 0.00151003595, 0.011442923, -0.036018528, -0.0198768899, 0.0164084397, -0.0280292314, 0.0446748286, -0.0191061236, -0.0139256809, -0.00488769915, 0.000648481713, 0.0185428709, 0.0410581566, -0.0166752432, 0.0351588242, -0.005176736... |
16 Sep, 2024 | Difference between Shared Memory Model and Message Passing Model in IPC
16 Sep, 2024
Inter-Process Communication (IPC) is a critical aspect of modern operating systems, enabling processes to exchange data and synchronize their actions. Two primary models for IPC are the Shared Memory Model and the Message Passing Model... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-shared-memory-model-and-message-passing-model-in-ipc?ref=asr10 | Python Tutorial | Difference between Shared Memory Model and Message Passing Model in IPC | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0538962744, -0.0264396816, -0.026125636, 0.0283837747, 0.0139227053, 0.0123823844, -0.000297455757, 0.0174519848, -0.0230599474, -0.00711463718, 0.00487892888, -0.0201886706, 0.0496790856, -0.0393305197, -0.00409007492, 0.0101915402, 0.00864374172, 0.0359806977, 0.00489762193, -0.00405642716, 0.0556010939, 0.005862... |
15 Oct, 2024 | What is Distributed Shared Memory and its Advantages?
15 Oct, 2024
Distributed shared memory can be achieved via both software and hardware. Hardware examples include cache coherence circuits and network interface controllers. In contrast, software DSM systems implemented at the library or language level are not transp... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/what-is-distributed-shared-memory-and-its-advantages?ref=asr10 | Python Tutorial | What is Distributed Shared Memory and its Advantages? | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0178863779, -0.00158772687, -0.0245992541, 0.00756112672, 0.0182666294, 0.0405112579, 0.0386685096, 0.00274767238, -0.0049140011, 0.0327892564, 0.0160582531, -0.00359226624, 0.0319995061, -0.0457762592, -0.0329940058, 0.0357727557, -0.00037682234, 0.0117804399, 0.0169211291, -0.00275864126, 0.0501637608, 0.00163068... |
01 Oct, 2024 | Difference between Virtual memory and Cache memory
01 Oct, 2024
Virtual Memory and Cache Memory are important substructures of contemporary computing systems that perform an important function in terms of enhancing capabilities. But they are dissimilar in terms of functionality and function differently. Virtual memory ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-virtual-memory-and-cache-memory?ref=asr10 | Python Tutorial | Difference between Virtual memory and Cache memory | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0497754663, 0.00474821869, -0.0153236249, 0.0436700769, 0.016120635, 0.0332638472, -0.0071430048, 0.00803776, -0.0183612816, -0.00703773927, 0.0353691541, -0.0283614881, 0.0100302827, -0.0457753837, -0.0077445209, 0.0189928748, -0.0099024605, 0.01048142, -0.00157804019, 0.0061241868, 0.0406624936, -0.00479333242, -... |
12 May, 2023 | Cache Memory Design
12 May, 2023
Prerequisite – Cache Memory A detailed discussion of the cache style is given in this article. The key elements are concisely summarized here. we are going to see that similar style problems should be self-addressed in addressing storage and cache style. They represent the subsequent ca... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/cache-memory-design?ref=asr10 | Python Tutorial | Cache Memory Design | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0322859399, 0.0127618434, -0.0161768645, 0.0124567794, 0.0223374628, 0.0333028175, -0.00885533, 0.0196766276, -0.010685713, -0.015456575, 0.0496915318, -0.0222866181, 0.0457934923, -0.0504711419, -0.00519879861, 0.0119907092, -0.0115670096, 0.000963387836, 0.00056405057, -0.0127364211, 0.0282184184, -0.0341332704, ... |
01 May, 2022 | Cache Hits in Memory Organization
01 May, 2022
The user has a memory machine. It has one layer for data storage and another layer for the cache. The user has stored an array with length N in the first layer. When the CPU needs data, it immediately checks in cache memory whether it has data or not. If data is present it... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/cache-hits-in-memory-organization?ref=asr9 | Python Tutorial | Cache Hits in Memory Organization | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0221492033, 0.023785511, -0.0195682216, 0.0305837821, 0.00188829121, 0.0293354634, -0.0190621465, 0.0398449488, -0.00629219553, -0.000693744107, 0.0196188297, -0.0223347638, 0.0326249488, -0.0399799, 0.00180394552, 0.00926116761, -0.00599698536, 0.00874665752, -0.00694165798, -0.0285426136, 0.00590842217, -0.017459... |
03 Jun, 2024 | Cache Organization | Set 1 (Introduction)
03 Jun, 2024
Cache is close to CPU and faster than main memory. But at the same time is smaller than main memory. The cache organization is about mapping data in memory to a location in cache. A Simple Solution: One way to go about this mapping is to consider last few bits of l... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/cache-organization-set-1-introduction?ref=asr5 | Python Tutorial | Cache Organization | Set 1 (Introduction) | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0180703308, -0.00306706293, -0.0187169481, 0.0229112227, 0.00445641624, 0.0427116901, 0.00559673458, 0.0394960791, -0.0057758647, -0.0108614219, 0.0320512429, -0.0453331135, 0.0427466445, -0.0438301638, -0.0129935117, 0.0128624402, -0.00804339442, 0.0111585166, -0.00599868596, -0.0305482969, 0.0512050949, -0.035791... |
21 Aug, 2021 | Write Through and Write Back in Cache
21 Aug, 2021
Prerequisite – Multilevel Cache Organisation Cache is a technique of storing a copy of data temporarily in rapidly accessible storage memory. Cache stores most recently used words in small memory to increase the speed at which data is accessed. It acts as a buffer betw... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/write-through-and-write-back-in-cache?ref=asr10 | Python Tutorial | Write Through and Write Back in Cache | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.032362476, 0.0238701943, -0.0168698, 0.033624839, 0.0201404765, 0.0461911224, -0.00352530065, 0.0167550407, 0.00933146756, -0.0160664767, 0.0507241637, -0.0165685546, 0.0104360376, -0.0326493755, -0.0253907721, 0.00729805371, -0.0159804057, 0.0178596098, 0.0141012026, -0.00933864, 0.0396497697, -0.0230955612, -0.01... |
29 Aug, 2024 | Difference between Buffer and Cache
29 Aug, 2024
Among all the categories existing in the field of computing, both buffers and caches are important for improving system efficiency. But they are different from each other concerning their functions and the modes they employ. Thus, it is vital to comprehend the difference... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-buffer-and-cache?ref=asr8 | Python Tutorial | Difference between Buffer and Cache | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0322306752, 0.00743112294, -0.0157802086, 0.0319975428, 0.0314147063, 0.0332506336, -0.0284276884, -0.00925976224, -0.0326386578, -0.0139515689, 0.00779539347, -0.0192626361, 0.0188255124, -0.0335420482, -0.00438217679, 0.0214045476, -0.00661515631, 0.0145854, 0.0235318895, 0.0208362862, 0.0353779718, -0.0228324886... |
12 Sep, 2024 | Difference Between CPU Cache and TLB
12 Sep, 2024
The CPU Cache and Translation Lookaside Buffer (TLB) are two important microprocessor hardware components that improve system performance, although they have distinct functions. Even though some people may refer to TLB as a kind of cache, it’s important to recognize the... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/whats-difference-between-cpu-cache-and-tlb?ref=asr10 | Python Tutorial | Difference Between CPU Cache and TLB | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0104906401, -0.00551996427, -0.0213681031, 0.0411889143, 0.0376301445, 0.0341951549, -0.0156199131, 0.00729548233, 0.0144981267, 0.000807976583, 0.0291355103, -0.0241687018, 0.0186912883, -0.02187871, -0.0125021199, -0.00330346869, -0.0145368092, 0.00939206313, 0.0116201639, 0.00411579711, 0.0470376797, -0.00480047... |
25 May, 2022 | Communication channel between CPU and IOP
25 May, 2022
There is a communication channel between IOP and CPU to perform task which come under computer architecture. This channel explains the commands executed by IOP and CPU while performing some programs. The CPU do not executes the instructions but it assigns the task ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/communication-channel-between-cpu-and-iop?ref=asr10 | Python Tutorial | Communication channel between CPU and IOP | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0420379117, -0.00131838315, -0.0159671903, 0.0233644191, -0.0117122792, 0.0105470652, 0.0295588467, 0.0324455686, -0.0157115944, 0.0273637343, 0.0256647766, -0.0277847145, 0.049765911, -0.0278448537, -0.000867802475, -0.0101711899, -0.0168392211, 0.0256196726, 0.0222518276, 0.0185381789, 0.041586861, -0.0142080924,... |
21 Jun, 2021 | Register Organization in RISC CPU
21 Jun, 2021
RISC processors :They are processors that use a small instruction set and simple addressing mode so that their instructions can be executed much faster within the CPU with less referring to the memory. This type of processor is classified as a reduced instruction set compu... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/register-organization-in-risc-cpu?ref=asr9 | Python Tutorial | Register Organization in RISC CPU | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0263679344, 0.016392393, -0.0205115061, -0.000181043128, 0.018998364, 0.0641124696, 0.0250369292, 0.0260456912, -0.00324170082, 0.00538006751, -0.0238600392, -0.0475239307, 0.0314117484, -0.0355869047, -0.0221787672, 0.0327287428, -0.00812614337, 0.0163783822, 0.00591947511, 0.00218214979, 0.0795801654, 0.023972123... |
05 May, 2023 | Flag register of 8086 microprocessor
05 May, 2023
Prerequisite – Flag register in 8085 microprocessor The Flag register is a Special
Introduction :
The flag register is a 16-bit register in the Intel 8086 microprocessor that contains information about the state of the processor after executing an instruction. It is som... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/flag-register-8086-microprocessor?ref=asr10 | Python Tutorial | Flag register of 8086 microprocessor | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0615970604, -0.00819177367, -0.0181457326, -0.00353825884, 0.00411573146, 0.0172725767, 0.00382798747, 0.0260517467, -0.016367672, 0.00981901586, 0.0261311233, -0.00781869888, 0.0362914652, -0.0442609787, -0.0647404119, 0.00659231422, -0.00930306129, 0.00276631117, 0.0120971547, -0.0254326, 0.0220034849, -0.0095808... |
22 May, 2018 | Arithmetic instructions in 8086 microprocessor
22 May, 2018
Arithmetic Instructions are the instructions which perform basic arithmetic operations such as addition, subtraction and a few more. Unlike in 8085 microprocessor, in 8086 microprocessor the destination operand need not be the accumulator.
Following is the tab... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/arithmetic-instructions-8086-microprocessor?ref=asr10 | Python Tutorial | Arithmetic instructions in 8086 microprocessor | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0237424243, 0.0237916075, -0.0179881752, 0.020680869, -0.00804119464, 0.0274925232, 0.0100760832, 0.0115084983, 0.026115438, 0.00914163329, 0.0180496536, -0.00221470953, 0.0443618186, 0.0121908933, -0.053214509, 0.0294106063, -0.0107031493, 0.0159102529, -0.0211358, -0.0309598278, -0.00157688558, 0.00876047555, 0.0... |
06 May, 2023 | Data transfer instructions in 8085 microprocessor
06 May, 2023
Data transfer instructions are the instructions that transfer data in the microprocessor. They are also called copy instructions. Here is the following is the table showing the list of logical instructions:
OPCODE
OPERAND
EXPLANATION
No. of bytes
Machine cy... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/data-transfer-instructions-8085-microprocessor?ref=asr10 | Python Tutorial | Data transfer instructions in 8085 microprocessor | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0455868021, 0.0232518166, -0.0101551609, 0.0367241167, -0.0111038247, 0.0219147727, -0.00182251714, 0.0180182476, -0.00987501815, -0.00127417024, 0.0154842325, -0.0352979377, 0.0354762115, -0.0145674031, -0.0211762153, -0.0243851189, -0.0095375739, 0.0211889502, -0.00142777106, 0.00630320329, 0.0352215357, -0.01382... |
24 Sep, 2020 | Logical Instructions in AVR Microcontroller
24 Sep, 2020
Logical Instructions are the instructions which perform basic arithmetic operations such as AND, OR, XOR, etc. In AVR micro-controller, the destination operand is always a register.
The following table shows the logical instructions :
Instruction
Operand
Explanat... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/logical-instructions-in-avr-microcontroller?ref=asr5 | Python Tutorial | Logical Instructions in AVR Microcontroller | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.041586712, 0.0226027034, -0.0227723289, -0.00977471471, 0.00467179064, 0.0545065813, -0.00657655252, 0.00470006187, -0.0305044614, 0.00420531863, 0.0331054, -0.0476649888, 0.0148988422, -0.0173866954, -0.0303913765, 0.0299390405, -0.0334446505, 0.0366110094, -0.0157187022, -0.0540259741, 0.0345189497, 0.0353670828,... |
05 Sep, 2024 | Difference between 8051 and AVR
05 Sep, 2024
(IC) which is comparable to a little stand alone computer and it is designed to perform the specific tasks of embedded systems. 8051 and AVR comes under the family of micro-controller. 8051 micro-controller and AVR micro-controller differs from each other in terms of differe... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-8051-and-avr?ref=asr10 | Python Tutorial | Difference between 8051 and AVR | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0702394247, 0.0327372216, -0.0275016185, -0.00694158487, -0.00951526593, 0.0351197124, -0.0255015, -0.000771185092, 0.00386052113, -0.018648155, 0.010890347, -0.0353844352, 0.0410906523, -0.0502970777, -0.00750411768, 0.0316783339, -0.00939761195, 0.00506279804, -0.015456792, -0.0242220126, 0.0357373953, -0.0312077... |
19 Sep, 2024 | Difference between 8051 and MSP430
19 Sep, 2024
(IC) which is comparable to a little stand alone computer and it is designed to perform the specific tasks of embedded systems. 8051 and MSP430 comes under the family of micro-controller. 8051 micro-controller and MSP430 micro-controller differs from each other in terms o... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-8051-and-msp430?ref=asr7 | Python Tutorial | Difference between 8051 and MSP430 | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0380054414, 0.0210448038, -0.0209029932, 0.0126850251, 0.0166911948, 0.0513073467, -0.021058986, 0.007608179, 0.02161205, -0.018251121, 0.0174002517, -0.0163508486, 0.0401042476, -0.0419194326, -0.0213142447, 0.0133444481, -0.00121780497, 0.0275255833, 0.00272986852, -0.00866467319, 0.0333256684, -0.0227890834, -0.... |
04 Mar, 2024 | Difference Between Electric Potential and Potential Difference
04 Mar, 2024
The flow of electric charges is known as electricity, and it is responsible for producing electric current. An important word associated with electricity is electric potential. A potential difference is required to create the flow of electrons ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/electric-potential-vs-potential-difference?ref=asr10 | Python Tutorial | Difference Between Electric Potential and Potential Difference | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0303274039, 0.0175538063, -0.0132642826, 0.0489100628, -0.0274624452, 0.0190575123, 0.0187092852, 0.0138974227, 0.00371771865, -0.000282439782, 0.0452061929, -0.00986906886, -0.000617806101, -0.0321001969, -0.00958415587, -0.00524319056, -0.00589611614, 0.034221217, -0.0110008074, 0.005923816, -0.0157730989, -0.049... |
19 Dec, 2023 | Difference between Electric Field and Magnetic Field
19 Dec, 2023
Difference between an Electric Field and a Magnetic Field is Electric Field is the region around an electric charge in which another charge experiences the force of attraction and repulsion, whereas a magnetic field is the region around magnetic material... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-electric-field-and-magnetic-field?ref=asr10 | Python Tutorial | Difference between Electric Field and Magnetic Field | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.000825351, -0.00800715853, -0.00596848968, 0.0421069115, -0.0210888609, -0.00261103, -0.0171118341, -0.00247974088, -0.00538432691, -0.0114531275, -0.0106860455, -0.018409973, 0.00627827272, -0.0106270388, -0.0165453739, 0.00162414904, 0.00939380657, 0.00622516731, -0.0181621462, 0.00381475897, -0.00229829643, -0.0... |
03 Feb, 2022 | Magnetic Field due to Current in Straight Wire
03 Feb, 2022
All the magnetic fields that are known are due to current charges (or moving charges). A current-carrying wire produces a magnetic field because inside the conductor charges are moving. This can also be verified by a simple experiment of keeping a magnetic com... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/magnetic-field-due-to-current-in-straight-wire?ref=asr10 | Python Tutorial | Magnetic Field due to Current in Straight Wire | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [0.0318658762, 0.00573726138, -0.00248433929, 0.0220943559, -0.0397239178, -0.00666530058, -0.0107282642, 0.0215840936, 0.00651541119, 0.0054566171, 0.0100904359, -0.0215330664, 0.0208569691, -0.0109770168, 0.0117168967, -0.00762204221, 0.0211376138, 0.00276657823, -0.0663851202, -0.00722658914, 0.0171703249, -0.040412... |
14 Mar, 2024 | Why is DNA Negatively Charged?
14 Mar, 2024
DNA, or deoxyribonucleic acid, is a molecule that contains the genetic instructions necessary for the development and functioning of all known living organisms. It consists of two long chains, known as strands, that coil around each other to form a double helix. The DNA is ne... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/why-is-dna-negatively-charged?ref=asr9 | Python Tutorial | Why is DNA Negatively Charged? | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00288462359, -0.0248057041, -0.00375584164, 0.0288393758, 0.00126652466, -0.0024850294, 0.0199625548, -0.0123822726, 0.0346566439, 0.0130065307, 0.00941875856, -0.00780666247, 0.0125263315, -0.0153526459, -0.0167932417, -0.0155584449, -0.0491174906, -0.018782638, -0.0330925658, 0.0123548321, 0.0103585767, -0.032818... |
07 Jun, 2024 | Difference Between Gene and DNA
07 Jun, 2024
The difference between genes and DNA lies in their specific roles. Genes and DNA are the basic components that make up an organism’s genetic code. Genes are specific segments of DNA that contain instructions for producing proteins and determining various traits in an organis... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-gene-and-dna?ref=asr10 | Python Tutorial | Difference Between Gene and DNA | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0030097384, -0.025154015, -0.0135589559, 0.0408113822, -0.000447677565, -0.0287320726, 0.0188318826, -0.0184686966, 0.0528906882, -0.0177019704, 0.0125837335, -0.035619162, 0.0214683469, -0.0262166709, -0.0036789428, 0.00829948, -0.0315837599, 0.0221140105, 0.00248345453, 0.0123819634, 0.0203115307, -0.0461112112, ... |
08 Aug, 2023 | Difference Between DNA Polymerase 1, 2 And 3
08 Aug, 2023
Difference Between DNA Polymerase 1, 2, And 3: DNA polymerase is an extended group of enzymes that is vital to the replication and repair of DNA ,from simple bacteria to huge eukaryotes. Enzymes such as these use an existing DNA template to initiate the formatio... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-dna-polymerase-1-2-and-3?ref=asr9 | Python Tutorial | Difference Between DNA Polymerase 1, 2 And 3 | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.00309072039, -0.0179243665, -0.0237396341, 0.0334124118, 0.0340504944, 0.0255958792, 0.00133689516, 0.000320401654, 0.0687970817, 0.0450429469, 0.0317011848, -0.00680864882, 0.0188669898, -0.032832332, 0.0134142702, 0.00324842869, -0.00374511932, 0.00813557394, 0.0118045583, 0.00625757594, 0.00369617529, -0.0349496... |
19 Jan, 2024 | DNA Repair - Damage & Types of Repair
19 Jan, 2024
DNA Repair is an important process in which cells recognize and rectify damage to the DNA molecules that make up their genetic material. DNA Repair is an important process as it protects cells from environmental damage and in the ageing process. In human beings, meta... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/dna-repair?ref=asr10 | Python Tutorial | DNA Repair - Damage & Types of Repair | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit possible by selling M products such that p... | GeeksforGeeks | [-0.0121149868, -0.0180533938, -0.00564466277, 0.0287234746, 0.0276120063, 0.035376396, 0.00191231805, -0.00627184752, 0.0671325848, 0.0110432152, 0.0384885035, -0.0281518623, 0.0321213864, -0.0382979661, -0.0127580492, -0.00304462481, -0.0101302247, -0.0142982248, 0.00166323048, -0.00408067042, -0.00184185896, -0.0415... |
30 May, 2024 | What Is the Role of DNA in Heredity?
30 May, 2024
Deoxyribonucleic acid (DNA) is a molecule that contains the genetic information that makes each species unique. When organisms reproduce, some of their DNA is passed on to their offspring, ensuring some continuity between generations while also allowing for slight chang... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/what-is-the-role-of-dna-in-heredity?ref=asr10 | Python Tutorial | What Is the Role of DNA in Heredity? | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, What Is the Role of DNA in Heredity?, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit poss... | GeeksforGeeks | [-0.0320722796, -0.00514290342, -0.00404953025, 0.0338338241, 0.0164410919, -0.00213612709, 0.0314243548, -0.0329429284, 0.0275975484, -0.00209942833, -0.00921774283, -0.0242364388, 0.00337629579, -0.0129888682, 0.0158741586, 0.0022171177, -0.0162689872, 0.00978467707, -0.00548205152, 0.0217257291, 0.0538992472, -0.024... |
22 Mar, 2024 | NCERT Solutions for Class 10 Science Chapter 8 Heredity
22 Mar, 2024
NCERT Solutions for Class 10 Science Chapter 9 Heredity and Evolution: This article includes free NCERT Solutions for Class 10 Science Chapter 9 Heredity and Evolution. It has been developed by the subject matter experts at GFG, according to the lates... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/ncert-solutions-for-chapter-8-heredity-class-10-science?ref=asr2 | Python Tutorial | NCERT Solutions for Class 10 Science Chapter 8 Heredity | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, What Is the Role of DNA in Heredity?, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit poss... | GeeksforGeeks | [-0.00078206195, -0.00862006098, -0.012752438, 0.0290270504, -0.00434865057, -0.00148591772, 0.0378170423, 0.00538367592, 0.0173637066, 0.0477656424, 0.0163132325, -0.0397017151, 0.0200516824, -0.0462208278, -0.014752971, -0.00843468308, -0.016436819, 0.0204224382, 0.0084269587, 0.0197736155, -0.026926104, -0.041215632... |
22 Apr, 2024 | NCERT Solutions for Class 9 History Social Science Chapter 5: Pastoralists in the Modern World
22 Apr, 2024
NCERT Solutions for Class 9 History Social Science Chapter 5 - Pastoralists in the Modern World: Nomads are individuals who do not reside in a fixed location but instead migrate from one area to another to sustai... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/ncert-solutions-for-class-9-history-social-science-chapter-5-pastoralists-in-the-modern-world?ref=asr10 | Python Tutorial | NCERT Solutions for Class 9 History Social Science Chapter 5: Pastoralists in the Modern World | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, What Is the Role of DNA in Heredity?, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit poss... | GeeksforGeeks | [0.0224614907, 0.00731660333, -0.0225489587, 0.036211282, 0.0270972345, 0.00888663344, -0.0109595982, -0.0190152973, 0.0123765618, 0.0177907608, 0.0251729637, -0.0405146517, 0.0141433924, -0.0411094278, -0.0158227552, -0.00708044274, 0.0163737964, 0.0272371825, 0.0680842102, 0.0366311222, -0.00930647459, -0.0105222641,... |
17 Nov, 2023 | NCERT Solutions for Chapter 2 Nationalism in India Class 10 Social Science History
17 Nov, 2023
NCERT Solutions For Class 10 History Social Science Chapter 2 Nationalism In India– This article includes free NCERT Solutions For Class 10 History Social Science Chapter 2 Nationalism In India according to the latest CBSE S... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/ncert-solutions-for-chapter-2-nationalism-in-india-class-10-social-science-history?ref=asr9 | Python Tutorial | NCERT Solutions for Chapter 2 Nationalism in India Class 10 Social Science History | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, What Is the Role of DNA in Heredity?, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit poss... | GeeksforGeeks | [0.0292100292, -0.0133094732, -0.0210183468, 0.0365648419, -0.0124565084, -0.00268160948, -0.00469533121, 0.0231749, 0.0126818204, 0.0268764459, 0.0183467958, -0.031591896, 0.0410710722, -0.0367579646, 0.000552214391, -0.0258947313, 0.0225311518, 0.020310225, 0.0286467504, 0.0122794779, -0.021678187, -0.00217465847, 0.... |
05 Apr, 2024 | NCERT Solutions For Class 9 Geography Social Science Chapter 2: Physical Features of India
05 Apr, 2024
NCERT Solutions for Class 9 Geography Chapter 2, which covers the Physical Features of India, provides answers to the exercises found at the end of the chapter. The questions mainly focus on different geographical re... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/ncert-solutions-for-class-9-geography-social-science-chapter-2-physical-features-of-india?ref=asr10 | Python Tutorial | NCERT Solutions For Class 9 Geography Social Science Chapter 2: Physical Features of India | Count of numbers below N whose sum of prime divisors is K, Minimum swaps to reach permuted array with at most 2 positions left swaps allowed, What Is the Role of DNA in Heredity?, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Maximize profit poss... | GeeksforGeeks | [0.0096241748, 0.0081513254, -0.0180170778, 0.0112139164, -0.00545889419, -0.00453544082, 0.00476143369, -0.0140271364, 0.000657035, 0.0144401584, 0.0173001345, 0.0085253818, 0.0384967, -0.0227707196, -0.0246410035, -0.00529134786, 0.000137470808, 0.0140738944, 0.0116425231, 0.0178923924, -0.0174871646, 0.00140271371, ... |
22 Apr, 2021 | Count tiles of dimensions 2 * 1 that can be placed in an M * N rectangular board that satisfies the given conditions
22 Apr, 2021
Given two integers M and N, the task is to find the minimum number of tiles of size 2 * 1 that can be placed on an M * N grid such that the following conditions are satisfied:
Each tile must... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/count-tiles-of-dimensions-2-1-that-can-be-placed-in-an-m-n-rectangular-board-that-satisfies-the-given-conditions?ref=asr7 | Python Tutorial | Count tiles of dimensions 2 * 1 that can be placed in an M * N rectangular board that satisfies the given conditions | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [-0.0119493678, 0.000106293119, -0.0144764837, 0.00328096235, 0.0476655066, 0.024387002, 0.00958060846, 0.035947077, 0.0338092521, -0.00351354945, 0.00311930617, -0.0178019833, 0.0286098607, -0.0236348063, -0.0409089327, -0.0167066809, -0.0145688588, -0.00155140529, -0.00101282599, -0.0214573946, 6.59306e-05, -0.005017... |
10 Mar, 2022 | Generate an array B[] from the given array A[] which satisfies the given conditions
10 Mar, 2022
Given an array A[] of N integers such that A[0] + A[1] + A[2] + … A[N – 1] = 0. The task is to generate an array B[] such that B[i] is either ?A[i] / 2? or ?A[i] / 2? for all valid i and B[0] + B[1] + B[2] + … + B[N – 1] = ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/generate-an-array-b-from-the-given-array-a-which-satisfies-the-given-conditions?ref=asr10 | Python Tutorial | Generate an array B[] from the given array A[] which satisfies the given conditions | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [-0.00659884838, -0.0192883443, -0.0120338788, 0.00701394351, -0.0214763228, 0.00086365, 0.0176434815, 0.0190090276, -0.00753378216, 0.0134382192, -0.0120571554, -0.020141812, 0.0362800881, -0.00787129, -0.01413651, 0.00217246031, -0.0377077051, 0.0173952, -0.0385766886, -0.0387939364, -0.00474449852, -0.01983146, -0.0... |
08 Dec, 2021 | Longest sub-sequence that satisfies the given conditions
08 Dec, 2021
Given an array arr[] of N integers, the task is to find the longest sub-sequence in the given array such that for all pairs from the sub-sequence (arr[i], arr[j]) where i != j either arr[i] divides arr[j] or vice versa. If no such sub-sequence exists... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/longest-sub-sequence-that-satisfies-the-given-conditions?ref=asr10 | Python Tutorial | Longest sub-sequence that satisfies the given conditions | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [0.0202195123, 0.00227351417, -0.0059800311, 0.0400610901, 0.00964521151, -0.0211171079, 0.0252271481, 0.0211486015, 0.0060272729, 0.0444073416, -0.00796025153, -0.0154795796, 0.0476197861, -0.0198888201, -0.00347818132, 0.00688943639, 0.00637765, 0.0199360605, -0.00670046918, -0.0371320955, -0.00437380793, -0.00079819... |
12 Jan, 2023 | Check if there exists a connected graph that satisfies the given conditions
12 Jan, 2023
Given two integers N and K. The task is to find a connected graph with N vertices such that there are exactly K pairs (i, j) where the shortest distance between them is 2. If no such graph exists then print -1. Note:
The first-line... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/check-if-there-exists-a-connected-graph-that-satisfies-the-given-conditions?ref=asr9 | Python Tutorial | Check if there exists a connected graph that satisfies the given conditions | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [-0.00259528938, 0.0230181199, -0.011427436, 0.026743168, 0.012191738, 0.0062368568, 0.0355883, 0.0210146084, -0.0441069342, 0.0117242523, 0.00316295098, -0.0443443879, 0.0256597884, -0.0320858657, -0.0231813695, 0.00574710965, 0.00611442, -0.000939609774, 0.00425560679, -0.037339516, 0.00103514758, -0.0122362608, -0.0... |
06 Oct, 2022 | Check if given string satisfies the following conditions
06 Oct, 2022
Given a string S of length L, where L is a perfect square, the task is to check if the given string satisfies the following conditions:
Insert the characters of the string into a square matrix A[][] of dimensions ?L x ?L in row-wise manner.
Initializ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/check-if-given-string-satisfies-the-following-conditions?ref=asr4 | Python Tutorial | Check if given string satisfies the following conditions | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [0.0191240758, 0.0136332894, -0.00672657276, 0.0398622379, 0.0216893237, -0.00277061295, 0.0332329459, 0.0032552, 0.0214155056, -0.0373834595, -0.00749398582, -0.0161697157, 0.0359711312, -0.00181404897, -0.00729943, 0.0125884544, 0.00838749949, 0.00880543329, -0.0236925241, -0.0225396026, -0.00460808072, 0.00104573532... |
27 Apr, 2023 | Check if there exists any subarray with the given conditions
27 Apr, 2023
Given two integers N and X. Then the task is to return YES or NO by checking whether there exists a subarray in any permutation of length N such that it contains a subarray, where A*B is equal to the X. Here A and B denote the number of elements ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/check-if-there-exists-any-subarray-with-the-given-conditions?ref=asr2 | Python Tutorial | Check if there exists any subarray with the given conditions | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [-0.0380481482, 0.0431736819, -0.00603740197, 0.0413618647, 0.00327199767, -0.017569853, 0.0140415784, 0.0182016045, -0.0120450044, -0.00308128, -0.0308724, -0.0167354643, 0.0343053155, -0.024399925, -0.0106503824, 0.00718170684, 0.00610296102, 0.012098643, 0.0198942218, -0.0118721668, -0.00824853312, 0.00402592774, -0... |
10 Aug, 2022 | Check whether there exists a triplet (i, j, k) such that arr[i] < arr[k] < arr[j] for i < j < k
10 Aug, 2022
Given an array arr[], the task is to check that if there exist a triplet (i, j, k) such that arr[i]<arr[k]<arr[j] and i<j<k then print Yes else print No.
Examples:
Input: arr[] = {1, 2, 3, 4, 5}Output: NoExplana... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/check-whether-there-exists-a-triplet-i-j-k-such-that-arri-arrk-arrj-for-i-j-k?ref=asr10 | Python Tutorial | Check whether there exists a triplet (i, j, k) such that arr[i] < arr[k] < arr[j] for i < j < k | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [0.00693645654, -0.0115733268, -0.0146947326, 0.0388743132, 0.00614479557, 0.0114979306, 0.0134054562, 0.00584698049, -0.00279343175, 0.017009398, -0.0039884625, -0.0108118244, 0.0204474665, -0.00870072935, -0.0316362716, -0.00830866862, -0.00133074413, 0.029872, -0.0105177788, -0.0245791823, -0.00601662183, -0.0141141... |
17 Feb, 2023 | Maximum value of expression (arr[i] + arr[j] * arr[k]) formed from a valid Triplet
17 Feb, 2023
Given an array arr[] of N integers. The task is to find the maximum value of (arr[i] + arr[j] * arr[k]) among every triplet (i, j, k) such that arr[i] < arr[j] < arr[k] and i < j < k. If there doesn’t exist any such triplet... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximum-value-of-expression-arri-arrj-arrk-formed-from-a-valid-triplet?ref=asr8 | Python Tutorial | Maximum value of expression (arr[i] + arr[j] * arr[k]) formed from a valid Triplet | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [0.00158162357, -0.0132920286, -0.0107358694, 0.0196984038, 0.0161277689, 0.0265840571, 0.00448126672, 0.0231012907, 0.0052880547, 0.0443813168, 0.00488865469, -0.0196025465, 0.0385341, -0.0271751694, -0.0187238678, 0.00985719, -0.0057873046, 0.0171901714, -0.0383423902, -0.0315685682, 0.00341486908, -0.0313608795, -0.... |
06 Dec, 2024 | Convert Infix expression to Postfix expression
06 Dec, 2024
Try it on GfG Practice
Write a program to convert an Infix expression to Postfix form.
Infix expression: The expression of the form “a operator b” (a + b) i.e., when an operator is in-between every pair of operands.Postfix expression: The expression of the for... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/convert-infix-expression-to-postfix-expression?ref=asr10 | Python Tutorial | Convert Infix expression to Postfix expression | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [-0.000927078247, 0.00758134807, -0.0168675724, 0.0294358917, 0.0325491466, -0.000748972117, 0.0188442413, 0.0430584326, -0.0207220782, 0.0279863346, -0.00498285238, -0.00220110291, 0.0185806863, -0.0246424712, -0.00206417753, -0.00165237149, 0.0178229641, 0.0381167606, -0.0546878353, -0.0438491032, 0.0112423031, -0.05... |
14 Feb, 2025 | Prefix to Postfix Conversion
14 Feb, 2025
Try it on GfG Practice
Given a Prefix expression, convert it into a Postfix expression. Conversion of Prefix expression directly to Postfix without going through the process of converting them first to Infix and then to Postfix is much better in terms of computation and better ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/prefix-postfix-conversion?ref=asr10 | Python Tutorial | Prefix to Postfix Conversion | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [-0.00726431794, 0.0222356357, -0.0170686077, 0.0394493826, 0.0214954149, -0.00164826, 0.00743123051, 0.031582728, -0.00637169974, 3.93752271e-05, 0.0117274104, 0.00446672132, 0.0175766014, -0.0386075638, -0.00503277173, 0.00510171382, -0.00291008153, 0.0273591205, -0.0492028743, -0.02728655, 0.0166476984, -0.0521057, ... |
09 Dec, 2022 | Maximum sum increasing subsequence from a prefix and a given element after prefix is must
09 Dec, 2022
Given an array of n positive integers, write a program to find the maximum sum of increasing subsequence from prefix till ith index and also including a given kth element which is after i, i.e., k > i.
Examples :
Inpu... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximum-sum-increasing-subsequence-from-a-prefix-and-a-given-element-after-prefix-is-must?ref=asr10 | Python Tutorial | Maximum sum increasing subsequence from a prefix and a given element after prefix is must | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [-0.00197044434, 0.0156125939, -0.0142698316, 0.034387432, 0.0235658791, 0.00319799967, 0.00457254332, 0.034387432, -0.0405848, 0.0257746838, -0.00745670218, -0.0304783266, 0.0659145415, -0.0351501852, -0.00306491507, 0.00953440834, -0.00864453055, 0.0090179611, -0.0387414806, -0.0411250815, -0.0290322751, -0.0221675, ... |
11 Jan, 2022 | Maximum sum subsequence of any size which is decreasing-increasing alternatively
11 Jan, 2022
Given an array of integers arr[], find the subsequence with maximum sum whose elements are first decreasing, then increasing, or vice versa, The subsequence can start anywhere in the main sequence, not necessarily at the first... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/maximum-sum-subsequence-of-any-size-which-is-decreasing-increasing-alternatively?ref=asr9 | Python Tutorial | Maximum sum subsequence of any size which is decreasing-increasing alternatively | Class 12 NCERT Solutions- Mathematics Part I – Chapter 1 Relations And Functions -Miscellaneous Exercise on Chapter 1 | Set 1, Count of numbers below N whose sum of prime divisors is K, Uses of Square Numbers in Real-life, Mathematics | Unimodal functions and Bimodal functions, Minimum swaps to reach permuted array wit... | GeeksforGeeks | [-0.00563824922, 0.00607165508, -0.0153958406, 0.0285172947, 0.0226007123, 0.0289467257, -0.00956673361, 0.0401118919, -0.029821489, 0.0225848071, -0.00235987385, -0.0157218892, 0.0551896356, -0.0145131247, -0.0222985204, -0.0252250023, -0.0207398515, 0.0282310098, -0.0148232682, -0.0434200875, -0.0172248911, -0.006938... |
29 Aug, 2023 | Minimum in an array which is first decreasing then increasing
29 Aug, 2023
Given an array of N integers where array elements form a strictly decreasing and increasing sequence. The task is to find the smallest number in such an array. Constraints: N >= 3 Examples:
Input: a[] = {2, 1, 2, 3, 4}Output: 1Input: a[] = {8, 5... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/minimum-in-an-array-which-is-first-decreasing-then-increasing?ref=asr10 | Python Tutorial | Minimum in an array which is first decreasing then increasing | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Introduction to Divide and Conquer Algorithm, Sum of sum of all subsets of a set formed by... | GeeksforGeeks | [-0.00990073569, 0.0160615388, -0.0056874915, 0.00877565239, 0.00330347824, 0.00212795986, 0.0198790636, 0.0359406024, -0.014571772, 0.0115534449, -0.0306798648, 0.00949725695, 0.0332714394, -0.013563077, 0.00437230757, 0.0130199324, -0.0129035451, 0.0160149839, -0.025636388, -0.044972308, 0.0036662207, -0.0257139802, ... |
13 Sep, 2023 | Minimum toggles to partition a binary array so that it has first 0s then 1s
13 Sep, 2023
Try it on GfG Practice
Given an array of n integers containing only 0 and 1. Find the minimum toggles (switch from 0 to 1 or vice-versa) required such the array become partitioned, i.e., it has first 0s than 1s. There should be at ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/minimum-toggles-to-partition-a-binary-array-so-that-it-has-first-0s-then-1s?ref=asr10 | Python Tutorial | Minimum toggles to partition a binary array so that it has first 0s then 1s | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Introduction to Divide and Conquer Algorithm, Sum of sum of all subsets of a set formed by... | GeeksforGeeks | [-0.0141643686, -0.0199755933, -0.00949505437, -0.0104101468, 0.0294393618, 0.0278125331, 0.00525982212, 0.0382617861, 0.00958108902, 0.00889281463, -0.0113956295, -0.0278751031, 0.02918908, 0.0126079312, -0.0303622745, -0.0366349556, -0.0321924575, 0.0159163401, -0.0301902071, -0.0315198265, 0.00858778413, -0.01096545... |
08 Nov, 2022 | Sum of range in a series of first odd then even natural numbers
08 Nov, 2022
The sequence first consists of all the odd numbers starting from 1 to n and then remaining even numbers starting 2 up to n. Let’s suppose we have n as 1000. Then the sequence becomes 1 3 5 7….999 2 4 6….1000We are given a range (L, R), we need... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/sum-of-range-in-a-series-of-first-odd-then-even-natural-numbers?ref=asr8 | Python Tutorial | Sum of range in a series of first odd then even natural numbers | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Introduction to Divide and Conquer Algorithm, Sum of sum of all subsets of a set formed by... | GeeksforGeeks | [-0.0247696284, 0.0012907323, -0.0113592213, 0.0288253836, -0.0119652534, 0.00610694103, 0.0302860774, 0.0369524322, -0.0190356299, 0.0176837128, -0.0118875569, 0.00400525192, 0.0611004904, -0.0363308601, -0.0112737548, 0.03303653, -0.0251270328, 0.00310008833, -0.0150731113, -0.0350255594, 0.00134511979, 0.010123848, ... |
25 Jul, 2022 | Sum of sum-series of first N Natural numbers
25 Jul, 2022
Given a natural number n, find the sum of the sum-series of the first N natural number.
Sum-Series: is sum of first N natural numbers, i.e, sum-series of 5 is 15 ( 1 + 2 + 3 + 4 + 5 ).
Natural number123456Sum of natural number (sum-series)136101521Sum of sum-ser... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/sum-of-sum-series-of-first-n-natural-numbers?ref=asr9 | Python Tutorial | Sum of sum-series of first N Natural numbers | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Introduction to Divide and Conquer Algorithm, Sum of sum of all subsets of a set formed by... | GeeksforGeeks | [-0.0385984927, -0.0110954316, -0.00677763391, 0.0185665302, 0.027503062, 0.00865522213, 0.0221123584, 0.0413461849, -0.0230936762, 0.0219946, -0.030224584, -0.0181478336, 0.0355367847, -0.02533108, -0.011762728, 0.0227796547, -0.0177160539, -0.00114895939, -0.0120440386, -0.0356676243, -0.00822344236, 0.00976084, -0.0... |
28 Mar, 2022 | Difference between Sum of Cubes and Sum of First N Natural Numbers
28 Mar, 2022
Given an integer N, find the absolute difference between sum of the cubes of first N natural numbers and the sum of first N natural numbers.
Input: N = 3
Output: 30
Sum of first three numbers is 3 + 2 + 1 = 6
Sum of Cube of first three numb... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/difference-between-sum-of-cubes-and-sum-of-first-n-natural-numbers?ref=asr9 | Python Tutorial | Difference between Sum of Cubes and Sum of First N Natural Numbers | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Introduction to Divide and Conquer Algorithm, Sum of sum of all subsets of a set formed by... | GeeksforGeeks | [-0.0054367017, -0.0202132929, -0.00431631133, 0.0378619172, 0.0223284848, 0.0256863497, 0.0159564726, 0.0404794663, -0.000171755979, 0.024946034, -0.030908227, -0.0163927302, 0.0105098551, -0.000781629176, -0.00101049943, 0.0493368283, -0.000518469664, 0.0070991097, -0.0288194772, -0.00422707712, 0.00909532141, -0.016... |
05 Sep, 2024 | Python Program to Get Sum of cubes of alternate even numbers in an array
05 Sep, 2024
Given an array, write a program to find the sum of cubes of alternative even numbers in an array.
Examples:
Input : arr = {1, 2, 3, 4, 5, 6}Output : Even elements in given array are2,4,6Sum of cube of alternate even numbers are 2**3+6... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/python-program-to-get-sum-of-cubes-of-alternate-even-numbers-in-an-array?ref=asr10 | Python Tutorial | Python Program to Get Sum of cubes of alternate even numbers in an array | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Introduction to Divide and Conquer Algorithm, Sum of sum of all subsets of a set formed by... | GeeksforGeeks | [-0.0253562946, 0.00158476841, -0.015397233, 0.00904178, -0.00131122174, 0.0414349362, 0.0335987285, 0.0156593136, 0.0026814118, 0.0121146739, 0.00120065652, -0.0265749693, 0.0378706418, 0.00173136964, -0.00731204776, -0.000638821337, -0.0238100179, 0.0280688275, -0.0172317959, -0.0243997, -0.00904178, -0.0176642295, -... |
19 Feb, 2025 | Create a List of Tuples with Numbers and Their Cubes – Python
19 Feb, 2025
We are given a list of numbers and our task is to create a list of tuples where each tuple contains a number and its cube. For example, if the input is [1, 2, 3], the output should be [(1, 1), (2, 8), (3, 27)].
Using List ComprehensionList compr... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/python-program-to-create-a-list-of-tuples-from-given-list-having-number-and-its-cube-in-each-tuple?ref=asr10 | Python Tutorial | Create a List of Tuples with Numbers and Their Cubes – Python | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Introduction to Divide and Conquer Algorithm, Sum of sum of all subsets of a set formed by... | GeeksforGeeks | [0.00735731469, -0.0116203418, -0.00467735529, 0.00308470731, 0.00532159908, 0.0250225328, 0.036192622, 0.0102791646, 0.0346790068, -0.000330803741, 0.00455521233, -0.0250225328, -0.00438038027, -0.00278533739, 0.00179502193, 0.0124442074, -0.0333569907, 0.0589734726, -0.0432625413, -0.000484979217, -0.00235903473, -0.... |
01 Jun, 2023 | Python | Count tuples occurrence in list of tuples
01 Jun, 2023
Many a time while developing web and desktop products in Python, we use nested lists and have several queries about how to find the count of unique tuples. Let us see how to get the count of unique tuples in the given list of tuples. Below are some ways to... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/python-count-tuples-occurrence-in-list-of-tuples?ref=asr10 | Python Tutorial | Python | Count tuples occurrence in list of tuples | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Introduction to Divide and Conquer Algorithm, Sum of sum of all subsets of a set formed by... | GeeksforGeeks | [0.00508948648, -0.0140052857, -0.0144713111, -0.014544894, 0.00776913203, 0.0123251425, 0.0437573195, 0.0140175503, 0.0197447557, -0.016433524, -0.012410989, -0.0291879, -0.00488100154, -0.021694703, 0.00768328505, 0.00348599185, -0.0136373714, 0.0183221512, -0.00224734563, -0.00695971958, 0.0129505973, -0.0131590823,... |
18 Feb, 2025 | Find the Tuples Containing the Given Element from a List of Tuples – Python
18 Feb, 2025
The task of finding tuples containing a given element from a list of tuples in Python involves searching for a specific target value within each tuple. For example, given a list like [(1, 2, 3), (4, 5, 6)] and a target 2, the goal ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/python-find-the-tuples-containing-the-given-element-from-a-list-of-tuples?ref=asr10 | Python Tutorial | Find the Tuples Containing the Given Element from a List of Tuples – Python | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Find the Tuples Containing the Given Element from a List of Tuples – Python, Introduction ... | GeeksforGeeks | [0.00230242359, -0.00396913942, -0.00959047396, 0.0121074887, -0.047216624, 0.0195681807, 0.0107263578, -0.00243634172, 0.00993898325, -0.0153989708, -0.0260220654, -0.0186517294, 0.0288875904, -0.0066733174, -0.0160314515, 0.00506952684, 0.0053696325, 0.0434733704, -0.0337925442, -0.0309012029, -0.0148826595, 0.001807... |
10 Apr, 2023 | Python | Remove tuple from list of tuples if not containing any character
10 Apr, 2023
Given a list of tuples, the task is to remove all those tuples which do not contain any character value.
Example:
Input: [(', ', 12), ('...', 55),
('-Geek', 115), ('Geeksfor', 115),]
Output: [('-Geek', 115), ('Geeksfor', 115)]
Method... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/python-remove-tuple-from-list-of-tuples-if-not-containing-any-character?ref=asr2 | Python Tutorial | Python | Remove tuple from list of tuples if not containing any character | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Find the Tuples Containing the Given Element from a List of Tuples – Python, Introduction ... | GeeksforGeeks | [0.00260456093, -9.86268e-05, -0.0102685746, 0.00460719317, -0.0182986259, 0.00708648795, 0.0265759565, -0.0126697822, 0.0304803587, -0.0676762834, 0.00866777077, -0.0421935618, -0.0247669183, 0.0131383101, -0.00107696396, -0.0128324647, -0.0115570277, 0.0210967809, -0.0356081389, -0.0100408187, 0.00337730697, 0.009344... |
21 Jan, 2025 | Convert Tuple Value List to List of Tuples – Python
21 Jan, 2025
We are given a dictionary with values as a list of tuples and our task is to convert it into a list of tuples where each tuple consists of a key and its corresponding value. Note: Each key will appear with each value from the list of tuples. For example: ... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/python-convert-tuple-value-list-to-list-of-tuples?ref=asr6 | Python Tutorial | Convert Tuple Value List to List of Tuples – Python | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Find the Tuples Containing the Given Element from a List of Tuples – Python, Introduction ... | GeeksforGeeks | [0.0228459351, 0.00602227263, -0.00683149742, 0.00764658581, 0.000250866957, 0.038092196, 0.0377872698, -0.00710123871, 0.0210867506, 0.0049550347, -0.00502540171, -0.0365206562, -0.0189757291, -0.0456215031, -0.00820366107, 0.0104319602, -0.00733579649, 0.0631429702, -0.0500077344, -0.000937498407, 0.0301172268, -0.02... |
07 Apr, 2023 | Python program to convert Set into Tuple and Tuple into Set
07 Apr, 2023
Let’s see how to convert the set into tuple and tuple into the set. For performing the task we are use some methods like tuple(), set(), type().
tuple(): tuple method is used to convert into a tuple. This method accepts other type values as an arg... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/python-program-to-convert-set-into-tuple-and-tuple-into-set?ref=asr9 | Python Tutorial | Python program to convert Set into Tuple and Tuple into Set | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Find the Tuples Containing the Given Element from a List of Tuples – Python, Introduction ... | GeeksforGeeks | [0.0134044811, -0.00113676477, -0.00555613264, 0.0211282521, 0.00665863836, 0.0220750384, 0.0480119623, 0.00185931113, 0.0124203227, -0.0169424675, -0.0009101904, -0.0182754397, -0.021265287, -0.0444490612, 0.0132176159, -0.0046249195, -0.00642817141, 0.0468658544, -0.00624753442, -0.020729607, 0.0121898558, -0.0275564... |
03 May, 2023 | Python | Replace tuple according to Nth tuple element
03 May, 2023
Sometimes, while working with data, we might have a problem in which we need to replace the entry in which a particular entry of data is matching. This can be a matching phone no, id etc. This has it’s application in web development domain. Let’s discus... | Python Tutorial/Python Tutorial | Learn Python Programming Language/Tips and Tricks for Competitive Programmers | Set 2 (Language to be used for Competitive Programming)/Bit Tricks for Competitive Programming/Bit Manipulation for Competitive Programming/Fast Exponentiation using Bit Manipulation/Find uncommon character... | https://www.geeksforgeeks.org/python-replace-tuple-according-to-nth-tuple-element?ref=asr10 | Python Tutorial | Python | Replace tuple according to Nth tuple element | Mathematics | Unimodal functions and Bimodal functions, Check if a palindromic string can be obtained by concatenating substrings split from same indices of two given strings, Minimum adjacent swaps required to Sort Binary array, Find the Tuples Containing the Given Element from a List of Tuples – Python, Introduction ... | GeeksforGeeks | [-0.0205713, 0.00340773794, -0.00856370758, 0.0153134605, -0.00150998612, 0.045664344, 0.0197957698, 0.00545829581, 0.0186259, -4.00756326e-05, 0.00920779351, -0.0225955695, 0.00662159314, -0.0102856504, 0.00780789321, 0.00617139041, -0.00181724119, 0.0392234921, -0.0549444333, -0.0227270164, 0.0062239687, -0.021149663... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.