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 ⌀ |
|---|---|---|---|---|---|---|---|---|
27 Apr, 2023 | Number of primes in a subarray (with updates)
27 Apr, 2023
Given an array of N integers, the task is to perform the following two queries:
query(start, end) : Print the number of prime numbers in the subarray from start to end update(i, x) : update the value at index i to x, i.e arr[i] = x
Examples:
Input : arr = {1, 2... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/number-primes-subarray-updates/?ref=next_article | Machine Learning | Number of primes in a subarray (with updates) | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Range sum query using Sparse Table, Find mirror image of a po... | GeeksforGeeks | null |
20 Mar, 2023 | Sum of Interval and Update with Number of Divisors
20 Mar, 2023
Given an array A of N integers. You have to answer two types of queries : 1. Update [l, r] – for every i in range from l to r update Ai with D(Ai), where D(Ai) represents the number of divisors of Ai 2. Query [l, r] – calculate the sum of all numbers rangi... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/sum-interval-update-number-divisors/?ref=next_article | Machine Learning | Sum of Interval and Update with Number of Divisors | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Range sum query using Sparse Table, Find mirror image of a po... | GeeksforGeeks | [0.000494076, 0.0147638265, -0.0158846602, 0.0421908461, 0.0118541131, 0.0154689867, -0.00503261667, 0.0450114831, -0.0189725198, 0.0511872023, 0.0300175529, 0.00670273276, 0.0343524329, -0.00246434915, -0.0266030934, 0.00858068559, -0.0282657873, 0.00522189634, -0.0273453686, -0.0416564085, -0.0191209745, 0.0220158417... |
15 Jul, 2022 | Print modified array after multiple array range increment operations
15 Jul, 2022
Given an array containing n integers and a value d. m queries are given. Each query has two values start and end. For each query, the problem is to increment the values from the start to end index in the given array by the given value d. ... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/print-modified-array-multiple-array-range-increment-operations/?ref=next_article | Machine Learning | Print modified array after multiple array range increment operations | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Range sum query using Sparse Table, Find mirror image of a po... | GeeksforGeeks | [-0.00626178738, 0.000585170055, -0.0124786338, 0.0445815288, 0.00182011293, 0.0139916493, -0.00241370942, 0.0367617868, -0.0191448908, 0.0310692526, 0.0180812851, -0.0111753428, 0.0226802547, -0.0143287079, -0.0397278965, 0.0253018159, -0.0320279934, 0.0408963636, -0.027264243, -0.00613445463, -0.0233244095, -0.007216... |
19 Dec, 2024 | Binary Indexed Tree or Fenwick Tree
19 Dec, 2024
Binary Indexed Trees are used for problems where we have following types of multiple operations on a fixed sized.
Prefix Operation (Sum, Product, XOR, OR, etc). Note that range operations can also be solved using prefix. For example, range sum from index L to R is prefix... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/binary-indexed-tree-or-fenwick-tree-2/ | Machine Learning | Binary Indexed Tree or Fenwick Tree | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Range sum query using Sparse Table, Find mirror image of a po... | GeeksforGeeks | [-0.00200229743, 0.000814121, -0.0170745365, 0.000318359816, 0.0211231392, 0.0101728449, -0.00288609555, 0.0258025, -0.0103928773, 0.028882958, 0.00626726449, 0.0261398833, 0.0326528512, -0.0323888138, -0.0151529182, 0.0174705964, -0.000881964399, 0.00273023895, -0.0136566954, -0.0556242652, -0.00797251798, 0.006230592... |
28 Oct, 2024 | Succinct Encoding of Binary Tree
28 Oct, 2024
A succinct encoding of Binary Tree takes close to the minimum possible space. The number of structurally different binary trees on n nodes is n’th Catalan number. For large n, this is about 4n; thus we need at least about log2 4n = 2n bits to encode it. A succinct binary tr... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/succinct-encoding-of-binary-tree/?ref=ml_lbp | Machine Learning | Succinct Encoding of Binary Tree | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Range sum query using Sparse Table, Find mirror image of a po... | GeeksforGeeks | [0.00122932147, 0.0221605692, -0.0149631193, 0.00277553475, 0.00592988264, 0.00173744105, 0.0375607796, 0.0312666558, -0.00462224893, 0.0291686114, 0.0148028517, -0.0161286984, -0.0100166937, -0.0014487782, 0.0100604026, 0.0126319611, 0.0193486102, 0.0151962349, -0.0147882821, -0.0527133048, -0.00303779, -0.0308295619,... |
11 Jan, 2023 | Perfect Binary Tree
11 Jan, 2023
What is a Perfect Binary Tree?
A perfect binary tree is a special type of binary tree in which all the leaf nodes are at the same depth, and all non-leaf nodes have two children. In simple terms, this means that all leaf nodes are at the maximum depth of the tree, and the tree is comple... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/perfect-binary-tree/?ref=lbp | Machine Learning | Perfect Binary Tree | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Perfect Binary Tree, Range sum query using Sparse Table, Find... | GeeksforGeeks | [-0.0371782, 0.00593851879, -0.00808457285, 0.0121298693, 0.0284615494, 0.0124127986, -0.0117325634, -0.00280522043, -0.00904773828, -0.00504157087, 0.0298099816, -0.0267519299, -0.0115519697, -0.0132555692, -0.0216591898, 0.0457744524, 0.00215959828, 0.0134963607, -0.00166447088, -0.0535038598, -0.0459430069, -0.02167... |
25 Mar, 2025 | Level Order Traversal (Breadth First Search or BFS) of Binary Tree
25 Mar, 2025
Try it on GfG Practice
Given a Binary Tree, the task is to find its Level Order Traversal. Level Order Traversal technique is a method to traverse a Tree such that all nodes present in the same level are traversed completely before traversi... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/level-order-tree-traversal/?ref=next_article | Machine Learning | Level Order Traversal (Breadth First Search or BFS) of Binary Tree | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Perfect Binary Tree, Range sum query using Sparse Table, Find... | GeeksforGeeks | [-0.0210470948, 0.0121765826, -0.0159250144, 0.0125879012, 0.0247722436, 0.00270655379, 0.043956764, 0.0333090462, -0.036816895, 0.0101122288, 0.00141536281, 0.0218542106, 0.0202555, 0.010562351, -0.0255793594, 0.0265882537, 0.0353578776, 0.00158221845, -0.0137054455, -0.0633896291, -0.00430332357, -0.00133290503, -0.0... |
17 Sep, 2024 | Level order traversal in spiral form
17 Sep, 2024
Try it on GfG Practice
Given a Binary Tree, the task is to print the Level order traversal of the Binary Tree in spiral form i.e, alternate order.
Example:
Input:Output: 1 2 3 4 5 6 7Explanation: Level 1: 1Level 2: 2 3Level 3: 7 6 5 4Nodes are traversed in the alternate... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/level-order-traversal-in-spiral-form/?ref=next_article | Machine Learning | Level order traversal in spiral form | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Perfect Binary Tree, Range sum query using Sparse Table, Find... | GeeksforGeeks | null |
17 Sep, 2024 | Reverse Level Order Traversal
17 Sep, 2024
Try it on GfG Practice
Given a binary tree, the task is to find its reverse level order traversal. The idea is to print the last level first, then the second last level, and so on. Like Level order traversal, every level is printed from left to right.
Examples:
Input:
Output:4... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/reverse-level-order-traversal/?ref=next_article | Machine Learning | Reverse Level Order Traversal | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Perfect Binary Tree, Range sum query using Sparse Table, Find... | GeeksforGeeks | [-0.0174542591, 0.00443191407, -0.0185910165, 0.0140439877, 0.0234402213, 0.00254511298, 0.048002813, 0.0270087756, -0.0123964092, 0.00206846651, 0.0209077, 0.0460458621, -0.00269620097, -0.00100545457, 0.0185478497, 0.0189075824, 0.0253683925, 0.0162311662, -0.0346782915, -0.0502763242, -0.0148641802, -0.00502547435, ... |
19 Feb, 2024 | BFS vs DFS for Binary Tree
19 Feb, 2024
Breadth-First Search (BFS) and Depth-First Search (DFS) for Binary Trees are ways to traverse nodes of the Binary Tree. This article aims to provide the basic difference between BFS and DFS for Binary Tree.
A Tree is typically traversed in two ways:
Breadth First Traversal (Or Le... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/bfs-vs-dfs-binary-tree/?ref=next_article | Machine Learning | BFS vs DFS for Binary Tree | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Perfect Binary Tree, Range sum query using Sparse Table, Find... | GeeksforGeeks | [-0.00266146124, 0.037708, -0.0193618517, 0.000358670368, 0.026103586, 0.00507851876, 0.036895439, -0.0146261342, -0.0426595584, 3.3898119e-05, 0.0173177496, 0.0245927274, -0.00886836275, -0.0114012742, -0.0437260456, 0.0579459, 0.0701851249, 0.019399941, 0.0203013793, -0.0409328602, -0.00484363735, -0.0328072309, -0.0... |
04 Nov, 2024 | Morris traversal for Preorder
04 Nov, 2024
Given a Binary Tree, the task is to print its Preorder Traversal, without using recursion or stack.
Examples:
Input:
Output: 1 2 4 5 3Explanation: Preorder traversal (Root->Left->Right) of the tree is 1 2 4 5 3
Input:
Output: 8 1 7 10 5 10 6 6Explanation: Preorder traversal (R... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/morris-traversal-for-preorder/?ref=next_article | Machine Learning | Morris traversal for Preorder | Capture all the options in Selenium with Python, Pair with largest sum which is less than K in the array, Get all text of the page using Selenium in Python, Common Subtleties in Vector STLs, Tic Tac Toe GUI In Python using PyGame, Machine Learning Tutorial, Perfect Binary Tree, Range sum query using Sparse Table, Find... | GeeksforGeeks | [-0.00679766, 0.00786591321, -0.018864451, 0.0313812122, 0.0145364814, 0.00535156857, 0.0055233133, 0.0148937106, -0.00329578319, 0.0289905258, 0.0099612, 0.0658950508, -0.00935665797, -0.00389517262, 0.00469893822, 0.0183560867, 0.0186995752, 0.0220657755, -0.0287706926, -0.0384708382, 0.0132243512, -0.0222993474, -0.... |
22 May, 2024 | Iterative Preorder Traversal
22 May, 2024
Given a Binary Tree, write an iterative function to print the Preorder traversal of the given binary tree.Refer to this for recursive preorder traversal of Binary Tree. To convert an inherently recursive procedure to iterative, we need an explicit stack.
Following is a simple s... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/iterative-preorder-traversal/?ref=next_article | Machine Learning | Iterative Preorder Traversal | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.0166753847, 0.00410665479, -0.023785295, 0.0493681282, 0.00521206111, 0.0106889382, 0.00621515187, 0.0405088291, -0.0134494444, 0.0155759975, 0.0190988537, 0.0509409755, 0.00180957618, -0.0164266191, 0.0215223208, 0.0106969625, 0.0275569167, 0.0184568744, -0.0208161455, -0.0462224334, 0.00859448407, -0.0195803363, ... |
04 Oct, 2024 | Iterative Postorder Traversal | Set 1 (Using Two Stacks)
04 Oct, 2024
Given a binary tree, the task is to find the postorder traversal of the tree without using recursion.Examples:
Input:
Output: 4 5 2 3 1Explanation: Postorder traversal (Left->Right->Root) of the tree is 4 5 2 3 1.
Input:
Output: 10 7 1 6 10 6 5 8 Exp... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/iterative-postorder-traversal/?ref=next_article | Machine Learning | Iterative Postorder Traversal | Set 1 (Using Two Stacks) | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.0173200872, 0.018139191, -0.0199359357, 0.00450176932, 0.0108531285, -0.00897711609, 0.032420665, 0.0371239074, -0.0300954673, 0.0208343081, 0.0375202484, 0.0300690457, 0.00520857703, -0.0141229387, -0.00908280723, 0.0107011981, 0.0285893735, 0.0184430517, -0.0157743581, -0.05458932, 0.00634145038, -0.00671467138, ... |
26 Sep, 2024 | Diagonal Traversal of Binary Tree
26 Sep, 2024
Try it on GfG Practice
Given a Binary Tree, the task is to print the diagonal traversal of the binary tree.Note: If the diagonal element are present in two different subtrees, then left subtree diagonal element should be taken first and then right subtree.
Example:
Input:
... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/diagonal-traversal-of-binary-tree/?ref=next_article | Machine Learning | Diagonal Traversal of Binary Tree | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.0160196815, 0.00106866157, -0.0125507992, -0.000233663028, 0.0304551497, 0.0284612235, 0.0372017138, 0.0304005202, 0.0180545766, 0.0171395577, -0.009143373, 0.00346205384, 0.0232852139, -0.00766841508, -0.00649391161, 0.0323125049, 0.027054552, 0.0227116197, -0.0211137496, -0.0521151796, -0.00479361322, -0.01412135... |
08 Feb, 2025 | Boundary Traversal of binary tree
08 Feb, 2025
Try it on GfG Practice
Given a binary tree, the task is to find the boundary nodes of the binary tree Anti-Clockwise starting from the root.
The boundary includes:
left boundary (nodes on left excluding leaf nodes)leaves (consist of only the leaf nodes)right boundary (node... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/boundary-traversal-of-binary-tree/?ref=next_article | Machine Learning | Boundary Traversal of binary tree | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.00852266, -0.00940185599, -0.022478912, 0.00550883822, -0.00195938023, -0.00208314089, 0.00596031733, 0.0329817422, -0.0366252586, 0.0151205929, -0.00603952445, 0.017869072, 0.0190888569, -0.0178057067, -0.0113503458, 0.0169344302, 0.0281501245, 0.00318807689, -0.017330464, -0.0576626062, -0.00801573601, -0.0031346... |
14 Oct, 2024 | Calculate depth of a full Binary tree from Preorder
14 Oct, 2024
Given the preorder sequence of a full binary tree, calculate its depth(or height) [starting from depth 0]. The preorder is given as a string with two possible characters.
‘l’ denotes the leaf node‘n’ denotes internal nodeThe given tree can be seen as a fu... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/calculate-depth-full-binary-tree-preorder/?ref=next_article | Machine Learning | Calculate depth of a full Binary tree from Preorder | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.0153828384, 0.0382955633, -0.00782188773, 0.00661039585, 0.0286781825, -0.0122826621, 0.0733604804, 0.034145426, -0.0273859259, 0.000222106813, 0.0103318496, 0.00510690361, -0.00174268417, -0.00634014, -0.0072751632, 0.0323809981, 0.033698108, 0.0125373863, -0.0240558758, -0.0518891215, -0.0105244461, -0.0349406637... |
30 Sep, 2024 | Construct a tree from Inorder and Level order traversals | Set 1
30 Sep, 2024
Try it on GfG Practice
Given in-order and level-order traversals of a Binary Tree, the task is to construct the Binary Tree and return its root.
Example:
Input:in[] = {4, 8, 10, 12, 14, 20, 22};level[] = {20, 8, 22, 4, 12, 10, 14};Output:
... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/construct-tree-inorder-level-order-traversals/?ref=next_article | Machine Learning | Construct a tree from Inorder and Level order traversals | Set 1 | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.00565985637, 0.0118835568, -0.0205267929, -0.00602028845, 0.00355079258, -0.00907861, 0.0375706, 0.0299479924, -0.0250518229, 0.0154165067, 0.0131325796, 0.0149311721, 0.00404326431, -0.0188138485, -0.00155503303, -0.00113661052, 0.0214974619, 0.0167154893, -0.0294055585, -0.0570981726, 0.0055349539, -0.0133181484,... |
19 Sep, 2024 | Check if a given Binary Tree is Sum Tree
19 Sep, 2024
Try it on GfG Practice
Given a binary tree, the task is to check if it is a Sum Tree. A Sum Tree is a Binary Tree where the value of a node is equal to the sum of the nodes present in its left subtree and right subtree. An empty tree is Sum Tree and the sum of an em... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/check-if-a-given-binary-tree-is-sumtree/?ref=next_article | Machine Learning | Check if a given Binary Tree is Sum Tree | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.0186590645, -0.00303021725, -0.0222554505, 0.017048968, 0.017635826, 0.000258160959, 0.0328339376, 0.0269051678, -0.0221952591, 0.0467680432, 0.027206121, 0.000665387546, 0.0270857401, -0.0251746904, -0.00449924218, 0.0181323979, 0.0113609629, 0.00733572152, -0.0286807884, -0.0643436834, -0.0131666791, -0.0158903, ... |
23 Sep, 2024 | Check if two nodes are cousins in a Binary Tree
23 Sep, 2024
Try it on GfG Practice
Given a binary tree (having distinct node values) root and two node values. The task is to check whether the two nodes with values a and b are cousins.Note: Two nodes of a binary tree are cousins if they have the same depth with differe... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/check-two-nodes-cousins-binary-tree/?ref=next_article | Machine Learning | Check if two nodes are cousins in a Binary Tree | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.00586196175, -0.0162487254, -0.0162867475, -0.00168412586, 0.0370349251, 0.0172119867, 0.0196201447, -0.00445826, -0.0136251, 0.00293573388, 0.0125667788, 0.00554193044, -0.000451133412, -0.0258940291, 0.00626754621, 0.0205960814, 0.0267939195, 0.0376686491, -0.000961678626, -0.0278332289, -0.0200003795, -0.0151713... |
26 Oct, 2024 | Check if removing an edge can divide a Binary Tree in two halves
26 Oct, 2024
Given a Binary Tree, the task is to find if there exists an edge whose removal creates two trees of equal size.
Examples:
Input:
Output : TrueExplanation: Removing edge 5-6 creates two trees of equal size.
Input:
Output : FalseExplanation: Th... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/check-if-removing-an-edge-can-divide-a-binary-tree-in-two-halves/?ref=next_article | Machine Learning | Check if removing an edge can divide a Binary Tree in two halves | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.016690731, -0.0243881401, -0.0182832982, 0.0228111856, 0.00316561805, 0.00283188163, 0.0282914918, 0.0127483457, -0.00742807798, 0.030180715, 0.00396190165, -0.0179866441, -0.00563643966, -0.0288223475, 0.0020551146, 0.00630391296, -0.00291580358, 0.00443420745, -0.0047308621, -0.0606424697, -0.0142628467, -0.02288... |
23 Sep, 2024 | Check if two nodes are cousins in a Binary Tree using BFS
23 Sep, 2024
Given a binary tree (having distinct node values) root and two node values. The task is to check whether the two nodes with values a and b are cousins.
Note: Two nodes of a binary tree are cousins if they have the same depth with different parents.
... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/check-if-two-nodes-are-cousins-in-a-binary-tree-set-2/ | Machine Learning | Check if two nodes are cousins in a Binary Tree using BFS | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.00656242436, -0.0091495961, -0.0137634957, 0.00605737185, 0.0338613279, 0.0095210541, 0.0160313435, -0.00191594113, -0.0186511, 0.00126588973, -0.00375042227, 0.0141936047, -0.00646793051, -0.0243207216, 0.00166260032, 0.0160443783, 0.0282308068, 0.0352428891, 0.00165445427, -0.0226654541, -0.0113848615, -0.0100163... |
10 Aug, 2022 | Check if a Binary Tree is univalued or not
10 Aug, 2022
Given a binary tree, the task is to check if the binary tree is univalued or not. If found to be true, then print “YES”. Otherwise, print “NO”.
A binary tree is univalued if every node in the tree has the same value.
Example:
Input:
1
/ \
1 1
/ \ \
1 1 ... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/check-if-a-binary-tree-is-univalued-or-not/?ref=ml_lbp | Machine Learning | Check if a Binary Tree is univalued or not | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [0.00392112043, 0.0128790094, -0.0189260393, -0.00684288237, 0.0222112034, 0.0309328809, 0.0328807235, 0.0167165473, -0.00795126241, -0.00821291283, -0.0145361284, 0.0189115033, -0.00426272, -0.0191876888, -0.00706092454, 0.0280983355, 0.0125156064, 0.00984822679, 0.00731530646, -0.0417768322, -0.00259288191, -0.015582... |
20 Feb, 2023 | Check sum of Covered and Uncovered nodes of Binary Tree
20 Feb, 2023
Given a binary tree, you need to check whether sum of all covered elements is equal to sum of all uncovered elements or not. In a binary tree, a node is called Uncovered if it appears either on left boundary or right boundary. Rest of the nodes are ca... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/check-sum-covered-uncovered-nodes-binary-tree/?ref=ml_lbp | Machine Learning | Check sum of Covered and Uncovered nodes of Binary Tree | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.0125064962, -0.0181017108, -0.00691897841, 0.00177784648, 0.0154541805, 0.00424451241, 0.0165470559, 0.0309545398, -0.0243818946, 0.0280761216, 0.00162969262, -0.00195967173, 0.00198179856, -0.0369730517, -0.00435610861, 0.0306620803, 0.0295076352, -0.00294576073, -0.0211648401, -0.0785638839, -0.00542204687, 0.006... |
19 Sep, 2024 | Check for Children Sum Property in a Binary Tree
19 Sep, 2024
Try it on GfG Practice
Given a binary tree, the task is to check for every node, its value is equal to the sum of values of its immediate left and right child. For NULL values, consider the value to be 0. Also, leaves are considered to follow the property.
E... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/check-for-children-sum-property-in-a-binary-tree/?ref=ml_lbp | Machine Learning | Check for Children Sum Property in a Binary Tree | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.022587847, 0.00205020676, -0.0161470156, 0.0310957376, 0.0300771873, -0.00374841434, 0.0354994684, 0.00542602642, 0.00123012403, 0.0212247875, 0.0252540521, 0.0047707092, 0.0301520806, -0.0187982414, -0.00176561181, 0.0228424855, 0.00663181, -0.0111965621, -0.0317548, -0.0576079972, -0.0154130608, -0.0189330503, -0... |
16 Aug, 2022 | Sum of all parent-child differences in a Binary Tree
16 Aug, 2022
Given a binary tree, find the sum of all parent-child differences for all the non-leaf nodes of the given binary tree. Note that parent-child difference is (parent node’s value – (sum of child node’s values)).Examples:
Input:
1
/ \
2 3
/ \ / \
4 ... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/sum-of-all-parent-child-differences-in-a-binary-tree/?ref=ml_lbp | Machine Learning | Sum of all parent-child differences in a Binary Tree | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.0164773334, 0.0011174283, -0.00888260826, 0.0113573642, 0.0234723072, 0.00554926274, 0.013497524, 0.0150379334, -0.0169192534, 0.0365152843, 0.0201768409, -0.0136490399, -0.0162626859, -0.00800508, -0.00579547556, 0.0261617117, 0.00803033262, 0.0142929815, -0.00995584484, -0.0625759885, -0.0103156939, -0.0201010834... |
03 Aug, 2023 | Print all k-sum paths in a binary tree
03 Aug, 2023
A binary tree and a number k are given. Print every path in the tree with sum of the nodes in the path as k. A path can start from any node and end at any node and must be downward only, i.e. they need not be root node and leaf node; and negative numbers can also be t... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/print-k-sum-paths-binary-tree/?ref=ml_lbp | Machine Learning | Print all k-sum paths in a binary tree | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.00545208622, 0.00627762731, -0.0164546203, 0.0168340188, 0.0204734262, -0.000387082284, 0.0481413566, 0.0303237159, -0.0303518195, 0.0317851, 0.00999783259, -0.00139024679, 0.0286796577, -0.0159206539, -0.00496027432, 0.0310825109, 0.0265999977, 0.00203926279, -0.0134334899, -0.0502210185, -0.0217521377, -0.0013805... |
11 Sep, 2023 | Print all nodes in a binary tree having K leaves
11 Sep, 2023
Try it on GfG Practice
Given a binary tree and a integer value K, the task is to find all nodes in given binary tree having K leaves in subtree rooted with them.
Examples :
// For above binary tree
Input : k = 2
Output: {3}
// here node 3 have k = 2 leaves
I... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/print-nodes-binary-tree-k-leaves/?ref=ml_lbp | Machine Learning | Print all nodes in a binary tree having K leaves | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.00552073773, 0.0245854203, -0.00549744349, -0.00307151349, 0.0264489595, -0.0136970207, 0.04121086, 0.0168117955, 0.00320462347, 0.0346086025, -0.00442590797, -0.0347150899, -0.0086454954, 0.0102361599, -0.000460061477, 0.0123925423, 0.0161861777, 0.0142028388, -0.0278998595, -0.0561724268, -0.0241860896, -0.001762... |
22 Dec, 2022 | Print all the leaf nodes of Binary Heap
22 Dec, 2022
Given an array of N elements which denotes the array representation of binary heap, the task is to find the leaf nodes of this binary heap.
Examples:
Input:
arr[] = {1, 2, 3, 4, 5, 6, 7}
Output: 4 5 6 7
Explanation:
1
/ \
2 3
/ \ / \
4 5 6 7
Leaf nodes of... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/print-all-the-leaf-nodes-of-binary-heap/?ref=ml_lbp | Machine Learning | Print all the leaf nodes of Binary Heap | Morris traversal for Preorder, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Identifying Potential Land for Afforestation – Python P... | GeeksforGeeks | [-0.0191910341, 0.00847871415, -0.00757371914, 0.0233373251, 0.0171114709, -0.0158277899, 0.0398454666, 0.0189342983, -0.00473357458, 0.0131705692, -0.0118098669, -0.00992285553, -0.0183694772, 0.0213604551, 0.00686769467, 0.0109754745, 0.0262897909, 0.02593036, -0.0269829798, -0.0467259958, 0.00317069259, -0.011642988... |
08 Mar, 2025 | not Operator in Python
08 Mar, 2025
Python not keyword is a logical operator that is used to figure out the negation or opposite boolean value of the operand. The Keyword “not” is a unary type operator which means that it takes only one operand for the logical operation and returns the complementary of the boolean valu... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/python-not-keyword/?ref=next_article | Machine Learning | not Operator in Python | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0184926372, -0.0251921751, -0.0111339344, 0.0402211882, 0.00429657195, 0.0018696381, 0.0315920897, -0.00665758923, -0.00185765326, 0.0179653037, 0.0334377587, 0.000331081741, -0.0312804841, -0.0439604633, -0.0244131591, 0.0382796414, 0.0114455409, 0.0490420461, 0.00316100661, 0.0109242, 0.0154245142, 0.0245449916, ... |
18 Dec, 2024 | Ternary Operator in Python
18 Dec, 2024
The ternary operator in Python allows us to perform conditional checks and assign values or perform operations on a single line. It is also known as a conditional expression because it evaluates a condition and returns one value if the condition is True and another if it is False... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/ternary-operator-in-python/?ref=next_article | Machine Learning | Ternary Operator in Python | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0256830286, -0.00597158819, -0.000263591472, 0.0102977976, 0.0120566506, 0.0418342128, 0.0367656909, 0.00134277984, 0.00393850589, 0.0129739009, -0.00532383844, -0.0056169806, -0.00264300685, -0.0226759594, -0.0243780743, 0.0166429058, 0.00486994116, 0.0324347541, -0.0127658648, 0.0479618274, 0.00109396374, 0.02439... |
10 Jan, 2025 | Python – Print Output using print() function
10 Jan, 2025
Python print() function prints the message to the screen or any other standard output device. In this article, we will cover about print() function in Python as well as it’s various operations.
Python
# print() function example
print("GeeksforGeeks")
a = [1, 2, ... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/python-output-using-print-function/ | Machine Learning | Python – Print Output using print() function | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [0.0154049918, 0.00245999475, 0.0032440084, 0.0348906331, 0.00251936936, 0.0212884676, -0.00402397383, 0.00572694326, -0.0143362498, -0.00181362196, -0.00102623482, -0.00675250357, -0.015987942, -0.0239441283, -0.0338758677, 0.0091976542, -0.0107198013, 0.0377622023, 0.00343022845, 0.00833402481, 0.0590722598, -0.01556... |
10 Nov, 2022 | Different Input and Output Techniques in Python3
10 Nov, 2022
An article describing basic Input and output techniques that we use while coding in python.
Input Techniques
1. Taking input using input() function -> this function by default takes string as input.
Example:
Python3
#For string
str = input()
# For integers
n... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/different-input-and-output-techniques-in-python3/?ref=lbp | Machine Learning | Different Input and Output Techniques in Python3 | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [0.0218637083, 0.0187181309, -0.0122392755, 0.0279606935, 0.0092102, 0.0211517457, -0.00794161391, 0.00775391422, -0.0151065411, 0.00754032563, 0.0285820421, -0.00808400568, 0.0249057282, -0.015947951, -0.0172942057, 0.00981860422, -0.00175887, 0.0229510684, -0.0221226029, -0.00693192193, 0.0233394112, -0.00112457643, ... |
01 Dec, 2024 | Python end parameter in print()
01 Dec, 2024
By default Python‘s print() function ends with a newline. A programmer with C/C++ background may wonder how to print without a newline. Python’s print() function comes with a parameter called ‘end‘. By default, the value of this parameter is ‘\n’, i.e. the new line character... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/gfact-50-python-end-parameter-in-print/ | Machine Learning | Python end parameter in print() | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [0.0031090246, -0.00546968263, 0.00427284557, 0.0416444242, 0.010581689, 0.00518629327, 0.00811097771, 0.0162769817, -0.0251803491, -0.0103560789, 0.00387665117, -0.0116437105, -0.0194025151, -0.0218347088, -0.0149453292, 0.00286965724, -0.00633360632, 0.035063196, 0.0205140598, 0.0196996611, 0.052121561, -0.0346890129... |
28 Jul, 2022 | __name__ (A Special variable) in Python
28 Jul, 2022
Since there is no main() function in Python, when the command to run a python program is given to the interpreter, the code that is at level 0 indentation is to be executed. However, before doing that, it will define a few special variables. __name__ is one such spec... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/__name__-a-special-variable-in-python/?ref=lbp | Machine Learning | __name__ (A Special variable) in Python | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0029289152, -0.0165828932, -0.00276184431, 0.062972419, 0.0143237412, 0.0177656971, 0.0274646785, -0.00132473907, -0.00946833566, -0.00566562498, -0.0335442834, 0.000260031782, -0.00496481452, -0.0298775975, -0.000396978168, 0.0621208, -0.0111893136, 0.0272281189, 0.0146076139, -0.00349222496, 0.0439292938, -0.0257... |
12 Aug, 2024 | How to Learn Python from Scratch in 2024
12 Aug, 2024
Python is a general-purpose high-level programming language and is widely used among the developers’ community. Python was mainly developed for emphasis on code readability, and its syntax allows programmers to express concepts in fewer lines of code.If you are new ... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/how-to-learn-python-from-scratch/?ref=lbp | Machine Learning | How to Learn Python from Scratch in 2024 | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | null |
02 Jan, 2025 | Reading and Writing to text files in Python
02 Jan, 2025
Python provides built-in functions for creating, writing, and reading files. Two types of files can be handled in Python, normal text files and binary files (written in binary language, 0s, and 1s).
Text files: In this type of file, Each line of text is terminat... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/reading-writing-text-files-python/?ref=lbp | Machine Learning | Reading and Writing to text files in Python | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0192832109, 0.0170299448, -0.00683095306, 0.0535565689, -0.00143868057, 0.0272526573, 0.00356075284, -0.00767889246, -0.0152036147, 0.0166741665, 0.0173738655, -0.00529813953, -0.0014505398, -0.025117984, -0.0137212025, 0.0219159741, 0.00639215903, 0.0074120583, 0.0167809, -0.000379868, 0.0312848166, -0.0034184414,... |
13 Mar, 2025 | Help function in Python
13 Mar, 2025
help() function in Python is a built-in function that provides information about modules, classes, functions and modules. It is useful for retrieving information on various Python objects. Example:
Python
help()
OutputWelcome to Python 3.13's help utility! If this is your first time... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/help-function-in-python/?ref=lbp | Machine Learning | Help function in Python | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0553164147, 0.029871691, -0.0067025125, 0.00517686317, 0.0176871847, 0.00547682168, 0.0168907456, 0.00144936657, -0.00296596508, -0.000987146632, -0.0411046073, 0.0086315535, -0.0219693463, 0.0152771771, -0.0162080824, -0.00890048128, -0.0229623113, 0.0127637349, -0.00889013801, -0.00199498, 0.0169217754, -0.016197... |
18 Feb, 2025 | Packing and Unpacking Arguments in Python
18 Feb, 2025
Python provides the concept of packing and unpacking arguments, which allows us to handle variable-length arguments efficiently. This feature is useful when we don’t know beforehand how many arguments will be passed to a function.
Packing ArgumentsPacking allows mu... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/packing-and-unpacking-arguments-in-python/?ref=lbp | Machine Learning | Packing and Unpacking Arguments in Python | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.048775889, 0.0191331487, -0.0121465251, 0.023664372, -0.00435626134, 0.019643208, -0.00932933763, -0.00365937804, -0.00259774318, -0.0394287594, 0.00718827546, -0.0256690234, -0.0048307348, -0.00820839405, -0.0156457685, 0.00794743374, 0.0148984725, 0.0286107603, -0.000928930414, -0.0119508049, 0.0571266264, -0.033... |
13 Jul, 2022 | Using Else Conditional Statement With For loop in Python
13 Jul, 2022
Using else conditional statement with for loop in python
In most of the programming languages (C/C++, Java, etc), the use of else statement has been restricted with the if conditional statements. But Python also allows us to use the else condition wi... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/using-else-conditional-statement-with-for-loop-in-python/?ref=lbp | Machine Learning | Using Else Conditional Statement With For loop in Python | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0166525058, 0.0192756671, -0.0167308096, 0.0325480811, -0.00232136715, -0.000332177384, 0.0428580195, 0.0256834887, -0.00184339075, 0.00360521534, 0.00812397, -0.00852853712, 0.00876997225, -0.0372984819, -0.0101337545, 0.0135986768, 0.0125481077, 0.0157650691, -0.00268188887, -0.0311386213, -0.000504077645, 0.0118... |
11 Mar, 2025 | Python Arrays
11 Mar, 2025
Lists in Python are the most flexible and commonly used data structure for sequential storage. They are similar to arrays in other languages but with several key differences:
Dynamic Typing: Python lists can hold elements of different types in the same list. We can have an integer, a string a... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/python-arrays/?ref=lbp | Machine Learning | Python Arrays | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0294889379, 0.0120596774, -0.0111331325, 0.0310210213, -0.00830972288, 0.0025279359, 0.0223829951, 0.0262788609, -0.00479322951, 0.0212011021, -0.0213907883, 0.0017390959, 0.0260162186, -0.0229520537, 0.00207925471, 0.0318673141, -0.000416534895, 0.041147355, -0.0418185554, -0.00895173848, 0.0271543376, -0.02874478... |
04 Dec, 2024 | Python Numbers
04 Dec, 2024
In Python, numbers are a core data-type essential for performing arithmetic operations and calculations. Python supports three types of numbers, including integers, floating-point numbers and complex numbers. Here’s an overview of each:
Python
a = 4 # integer
b = 4.5 # float
c = 4j # complex... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/python-numbers/?ref=lbp | Machine Learning | Python Numbers | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0119423289, 0.0199474748, -0.00815657619, 0.0562218688, 0.0261010434, -0.00728241168, 0.0253851917, 0.0245592091, 0.0154183377, 0.0492560826, -0.0196170826, -0.000943856954, 0.00172767986, -0.00232479628, -0.0106138736, 0.0363432243, 0.00801202934, 0.0465303399, -0.0398949496, 0.015294441, 0.00642545475, 0.01208687... |
08 Jan, 2025 | What are Numbers?
08 Jan, 2025
Numbers are symbols we use to count, measure, and describe things. They are everywhere in our daily lives and help us understand and organize the world.
Numbers are like tools that help us:
Count how many things there are (e.g., 1 apple, 3 pencils).
Measure things (e.g., 5 meters, 10 kilo... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/numbers/ | Machine Learning | What are Numbers? | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0118546896, -0.00818210933, -0.00912523735, 0.0333780088, 0.00554634538, -0.00265293941, 0.0101308245, -0.0179131981, 0.0307047684, -0.0140532404, 0.0130164232, 0.0182504747, -0.00446893042, -0.00415351335, -0.0156147117, 0.04399601, -0.0133661935, -0.0112301009, -0.014990123, 0.0119421314, -0.0251709148, 0.0335029... |
14 Aug, 2024 | Laws of Exponents: Exponents and Powers | Class 8 Maths
14 Aug, 2024
It is known that numbers can be expressed as xn where ‘x’ is called “Base” and ‘n’ is called as “Exponent”. In simple words, we can say that the Significance of the exponent is that it tells the number of times we need to multiply our base. There are ... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/laws-of-exponents-use-of-exponents-to-express-small-numbers-in-standard-form-exponents-and-powers-class-8-maths/?ref=lbp | Machine Learning | Laws of Exponents: Exponents and Powers | Class 8 Maths | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [-0.0243883319, -0.0191678684, -0.0169566944, 0.0311919432, 0.00476907, -0.00756901829, 0.0124035077, 0.00638819905, 0.0570456684, 0.0343582407, -0.0151380366, 0.0314536206, -0.0102250436, -0.0128221912, 0.00800078548, 0.0210257769, -0.0183697511, 0.0433599427, -0.0145361787, 0.0375245363, -0.0292816982, -0.0116642695,... |
05 Jun, 2024 | Standard Algebraic Identities
05 Jun, 2024
Algebraic Identities are algebraic equations that are always true for every value of the variable in them. The algebraic equations that are valid for all values of variables in them are called algebraic identities.
It is used for the factorization of polynomials. In this way, ... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/standard-algebraic-identities-class-8-maths/?ref=lbp | Machine Learning | Standard Algebraic Identities | Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO3, Pollution Control by Id... | GeeksforGeeks | [0.00567928096, -0.0142395971, -0.0294329152, 0.020213604, 0.0172199775, 0.0406391472, 0.000165162768, 0.00124513684, 0.0515539646, -0.0043844711, -0.0195910353, -0.0171007626, 0.0493551046, -0.00511632, -0.0171669926, 0.0512095653, -0.0141998585, 0.0530640222, -0.0212600492, -0.0221342947, -0.0198294669, 0.00146700966... |
01 May, 2024 | Visualizing Solid Shapes
01 May, 2024
Visualizing Solid Shapes: Any plane or any shape has two measurements length and width, which is why it is called a two-dimensional(2D) object. Circles, squares, triangles, rectangles, trapeziums, etc. are 2-D shapes. If an object has length, width, and breadth then it is a three-d... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/visualizing-solid-shapes/?ref=next_article | Machine Learning | Visualizing Solid Shapes | Visualizing Solid Shapes, Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO... | GeeksforGeeks | [-0.0127479276, -0.0029519971, -0.0260833167, 0.00373405591, 0.0353064723, 0.00135850604, 0.0143267317, -0.00576447183, 0.00535692, -0.0110736601, 0.0242768712, 0.0134161655, 0.0438540466, -0.0173888784, -0.00174586393, 0.0475550555, 0.0171685796, 0.0231460072, -0.0195771735, -0.0269498229, 0.0296668354, -0.0147526413,... |
09 Feb, 2021 | Mapping Space Around Us – Visualizing Solid Shapes | Class 8 Maths
09 Feb, 2021
In Geometry, 3D shapes are known as three-dimensional shapes or solids, or solid shapes. 3D shapes or solid shapes have three different measures such as length, width, and height as its dimensions.
A polygon is a 2D shape with straight side... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/mapping-space-around-us-visualizing-solid-shapes-class-8-maths/?ref=next_article | Machine Learning | Mapping Space Around Us – Visualizing Solid Shapes | Class 8 Maths | Visualizing Solid Shapes, Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO... | GeeksforGeeks | [-0.0177275762, 0.0211443864, -0.024009604, 0.00659229839, 0.0181565918, 0.0104342951, -0.00910894, 0.00315059023, -0.00146229519, 0.0161340851, 0.0173138808, 0.0151687991, 0.00884080492, -0.0225846563, -0.00270816684, 0.0462112091, 0.0199799128, -0.00117788021, -0.030429529, -0.0245152302, -0.0102580916, -0.0128015466... |
25 Sep, 2024 | Faces, Edges And Vertices of 3D Shapes
25 Sep, 2024
Faces, Edges, And Vertices of 3D Shapes: Faces, Edges, and Vertices are the three key components that are used to define various 3D objects. They have different dimensions like length, width, and height.
In geometry, Faces are the flat surfaces of a 3D shape. They are... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/faces-edges-and-vertices/?ref=next_article | Machine Learning | Faces, Edges And Vertices of 3D Shapes | Visualizing Solid Shapes, Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO... | GeeksforGeeks | [-0.0272237547, 0.0193606503, -0.0212124176, 0.00381408958, 0.00544820586, 0.00108825928, -0.00175330648, 0.00216788147, 0.00261009485, 0.0322815701, 0.0141922822, 0.00444977125, -0.0113524441, -0.0152839962, -0.00525473757, 0.0483118, 0.0184209459, -0.00912064873, -0.018932255, -0.0124303391, -0.0123681528, 0.00111848... |
13 Jan, 2025 | Mensuration in Maths
13 Jan, 2025
Mensuration is a branch of mathematics that deals with measuring geometric figures, including their length, area, volume, and surface area. It provides formulas and techniques for calculating these attributes for 2D (plane) shapes and 3D (solid) objects.
Types of Mensuration
2D Mensura... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/mensuration/?ref=next_article | Machine Learning | Mensuration in Maths | Visualizing Solid Shapes, Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO... | GeeksforGeeks | [-0.0150569063, 0.0161646, -0.0189595949, 0.017040452, 0.0244980641, -0.0147477826, -0.0140136136, 0.0169631708, -0.000743024226, -0.0432515778, 0.0285939537, -0.0029720969, 0.024755666, 0.00413131109, -0.0283363517, 0.0515721589, 0.0304486975, -0.000405725033, 0.0104586901, -0.00772809563, 0.00353238382, -0.0021026860... |
27 Apr, 2024 | Area of Hollow Cylinder
27 Apr, 2024
A hollow cylinder is a 3D shape that’s empty inside with some thickness around the edges. The formula for its total surface area (TSA) is:
TSA of Hollow Cylinder = 2πh (R + r) + 2π(R² – r²)
Here are formulas for other areas of a hollow cylinder:
Lateral Surface Area (LSA): 2πh (R + ... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/area-of-hollow-cylinder/?ref=lbp | Machine Learning | Area of Hollow Cylinder | Visualizing Solid Shapes, Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO... | GeeksforGeeks | [-0.00243296078, -0.0271453541, -0.0208650716, 0.0151167959, -0.00247675413, -0.0146496678, -0.00309634814, -0.00511894934, -0.0323616229, 0.00788928103, -0.0301297866, -0.00495999586, 0.00397383608, -0.0161937866, -0.0227335859, 0.0169204306, 0.0279758051, 0.0122361705, -0.0074545918, -0.00960208476, 0.0230579805, 0.0... |
02 Jul, 2024 | Surface Area of Cube | Curved & Total Surface Area
02 Jul, 2024
Surface area of a cube is defined as the total area covered by all the faces of a cube. In geometry, the cube is a fascinating three-dimensional object that we encounter daily, from dice to ice cubes. But have you ever wondered about the total area that co... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/surface-area-of-cube/ | Machine Learning | Surface Area of Cube | Curved & Total Surface Area | Visualizing Solid Shapes, Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO... | GeeksforGeeks | [-0.00117251521, -0.0174111351, -0.0197784398, 0.0313094966, 0.00691099884, 0.0120910667, 0.0121037941, 0.012224705, 0.0102519514, 0.02528942, -0.00899829902, -0.0198166221, 0.0187093336, -0.0111810546, -0.00607098825, 0.031156769, 0.000621655839, 0.0110665075, -0.00367822964, -0.000585064408, 0.00969194435, -0.0098828... |
18 Apr, 2024 | Surface Area of a Hemisphere
18 Apr, 2024
A hemisphere is a 3D shape that is half of a sphere’s volume and surface area. The surface area of a hemisphere comprises both the curved region and the base area combined.
Hemisphere’s Total Surface Area (TSA) = Curved Surface Area + Base Area = 3πr² square units.
Curved Surfa... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/surface-area-of-hemisphere-formula/ | Machine Learning | Surface Area of a Hemisphere | Visualizing Solid Shapes, Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO... | GeeksforGeeks | [-0.00938756, -0.0187005661, -0.0159296524, 0.0219933577, -0.00990943704, -0.000903964275, 0.0169361271, 0.0018405458, 0.00546106277, 0.00889674854, -0.00320270495, 0.0100709694, 0.0182035416, -0.00088843226, -0.00759827, 0.0313871317, 0.0281067658, 0.00726899132, -0.0186135881, -0.00099637988, 0.014438577, 0.000424024... |
10 May, 2024 | Frustum of a Regular Pyramid Formula
10 May, 2024
A Pyramid is a Mathematical figure having three or four triangular faces as sides and a flat polygonal base which can be triangular, square or rectangular, etc. The side triangular faces are called Lateral faces. The common meeting point of all the triangular faces is c... | Machine Learning/Machine Learning Tutorial/Top Machine Learning Careers/Jobs/Difference Between Machine Learning and Artificial Intelligence/Statistics For Machine Learning/Remote Sensing/Process of Using CLI via a Telnet Session/Simple Chat Room using Python/Health Management System using Python/Python | System harden... | https://www.geeksforgeeks.org/frustum-of-a-regular-pyramid-formula/ | Machine Learning | Frustum of a Regular Pyramid Formula | Visualizing Solid Shapes, Morris traversal for Preorder, not Operator in Python, Python List remove() Method, Health Management System using Python, Program to print the Diamond Shape, Python – Moyal Distribution in Statistics, Smallest subarray with k distinct numbers, Bridging the Gap Between Rust and Python with PyO... | GeeksforGeeks | [-0.0036988894, 0.0197481494, -0.0181304682, -0.00199254719, 0.0229461789, -0.00259606657, -0.0255344696, 0.0236928016, 0.000131922643, 0.0118899541, 0.010738912, 0.00342823891, 0.00829372462, 0.00179655896, -0.0293671284, 0.0173465163, 0.00940743554, 0.0186033286, -0.0352405533, 0.0139991604, 0.0038171045, 0.011385983... |
13 Jan, 2025 | Linux/Unix Tutorial
13 Jan, 2025
Linux is a widely-used open-source operating system, similar to Windows, Mac, and Android. It shares similarities with Unix, another operating system known for its commercial use. Unix and Linux have comparable components, including the kernel, shell, and programs. Many commands in Unix... | Linux/Linux/Unix Tutorial | https://www.geeksforgeeks.org/linux-tutorial/?ref=outindfooter | Linux | Unix Tutorial | Unix Tutorial, Linux | GeeksforGeeks | [-0.0230132304, 0.00580677716, -0.0204324406, 0.0254942104, -0.0168250389, 0.0153991878, -0.0168392975, 0.0326519795, 0.025665313, 0.0151567925, 0.0117775267, -0.0641632825, 0.0298287962, -0.0362451263, 0.00710786553, 0.0410645, -0.00148555823, 0.0145793231, -0.00131712959, -0.0091824783, 0.0176092554, -0.00201401417, ... |
02 Aug, 2024 | Linux Commands Cheat Sheet
02 Aug, 2024
Linux, often associated with being a complex operating system primarily used by developers, may not necessarily fit that description entirely. While it can initially appear challenging for beginners, once you immerse yourself in the Linux world, you may find it difficult to retur... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet | https://www.geeksforgeeks.org/linux-commands-cheat-sheet?ref=asr10 | Linux | Linux Commands Cheat Sheet | Linux Commands Cheat Sheet, Unix Tutorial, Linux | GeeksforGeeks | [-0.01485149, 0.0164790507, -0.0154227009, 0.00944454595, 0.000336711382, 0.0420661792, 0.0272303391, 0.0286231562, 0.0221755132, 0.0216590744, -0.0152036063, -0.0387484618, 0.0144133009, -0.0246794522, 0.030235067, 0.0497970916, -0.0102426764, 0.00153659715, 0.00198163325, 0.000489295169, 0.0211269874, 0.00580600929, ... |
19 Jul, 2023 | Tkinter Cheat Sheet
19 Jul, 2023
Tkinter, the standard GUI library for Python, empowers developers to effortlessly create visually appealing and interactive desktop applications. This cheat sheet offers a quick reference for the most common Tkinter widgets and commands, along with valuable tips and tricks for crafting ... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet | https://www.geeksforgeeks.org/tkinter-cheat-sheet?ref=asr10 | Linux | Tkinter Cheat Sheet | Tkinter Cheat Sheet, Linux Commands Cheat Sheet, Unix Tutorial, Linux | GeeksforGeeks | [-0.00945673417, -0.00359690865, -0.0180254392, 0.0385435931, 0.0415036902, 0.0295386631, 0.027217323, 0.0134061286, -0.00610325485, 0.011474275, -0.0098150624, -0.0184616651, 0.0341190249, -0.0506955758, -0.0221228376, 0.0349914767, -0.00832722336, 0.00640705461, -0.0277937632, -0.0511941165, 0.0332154147, -0.02670320... |
14 Mar, 2024 | Regex Cheat Sheet – Python
14 Mar, 2024
Regex or Regular Expressions are an important part of Python Programming or any other Programming Language. It is used for searching and even replacing the specified text pattern. In the regular expression, a set of characters together form the search pattern. It is also known as... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Regex Cheat Sheet – Python | https://www.geeksforgeeks.org/python-regex-cheat-sheet?ref=asr10 | Linux | Regex Cheat Sheet – Python | Tkinter Cheat Sheet, Unix Tutorial, Linux Commands Cheat Sheet, Linux, Regex Cheat Sheet – Python | GeeksforGeeks | [-0.00716172811, 0.0164441615, -0.00565521559, 0.0542344451, -0.0114784651, 0.0480693318, 0.0366198383, 0.00441234279, -0.0114205228, -0.0331896245, -0.00858712, 0.00277256221, 0.0178116113, 0.0164209846, 0.00171800354, 0.0323088951, 0.00828581769, -0.00954317674, -0.0102037238, -0.024011489, 0.0204422139, -0.011310431... |
13 Dec, 2024 | Complexity Cheat Sheet for Python Operations
13 Dec, 2024
Python built-in data structures like lists, sets, and dictionaries provide a large number of operations making it easier to write concise code However, not understanding the complexity of these operations can sometimes cause your programs to run slower than expe... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations | https://www.geeksforgeeks.org/complexity-cheat-sheet-for-python-operations?ref=asr9 | Linux | Complexity Cheat Sheet for Python Operations | Tkinter Cheat Sheet, Unix Tutorial, Complexity Cheat Sheet for Python Operations, Linux Commands Cheat Sheet, Linux | GeeksforGeeks | [-0.0111250365, -0.00591109274, -0.014970365, 0.0435021222, 0.0349015, 0.0186248962, 0.0484922417, 0.0182432979, 0.0174360722, 0.0136641273, 0.00971606094, 0.0104499022, 0.0422399119, 0.00251707621, 0.0183313601, 0.0374552682, -0.0093271248, -0.00438470254, -0.00363985356, -0.042768281, -0.0164086949, -0.0180231463, -0... |
09 Jun, 2021 | Python | Plotting column charts in excel sheet with data tables using XlsxWriter module
09 Jun, 2021
Prerequisite: Create and Write on an excel sheetXlsxWriter is a Python library using which one can perform multiple operations on excel files like creating, writing, arithmetic operations and plotting graphs. Let’s see ... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting Pie charts in excel sheet using XlsxWriter module/Python | Plotting charts in excel sheet with Data Tools using XlsxWriter module | Set – 1/Python | Plotting column charts in excel she... | https://www.geeksforgeeks.org/python-plotting-column-charts-in-excel-sheet-with-data-tables-using-xlsxwriter-module?ref=asr3 | Linux | Python | Plotting column charts in excel sheet with data tables using XlsxWriter module | Python | Plotting charts in excel sheet with Data Tools using XlsxWriter module | Set – 1, Tkinter Cheat Sheet, Unix Tutorial, Complexity Cheat Sheet for Python Operations, Python | Plotting column charts in excel sheet with data tables using XlsxWriter module, Python | Plotting Pie charts in excel sheet using XlsxWrit... | GeeksforGeeks | [0.0236034486, 0.00106619089, -0.0171172265, 0.054013066, 0.018673338, 0.00108164293, 0.00272501307, 0.0111545557, -0.0268029291, -0.0120562278, 0.00179516361, -0.0314130932, -0.00122798281, -0.0314421766, -0.0154302269, 0.0225854311, 0.0131033314, 0.0152557101, -0.021116579, -0.0317039527, 0.0195022952, -0.0467706025,... |
19 May, 2021 | Python | Plotting column charts in excel sheet using XlsxWriter module
19 May, 2021
Prerequisite: Create and Write on an excel file.XlsxWriter is a Python library using which one can perform multiple operations on excel files like creating, writing, arithmetic operations and plotting graphs. Let’s see how to plot diffe... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting column charts in excel sheet using XlsxWriter module | https://www.geeksforgeeks.org/python-plotting-column-charts-in-excel-sheet-using-xlsxwriter-module?ref=asr8 | Linux | Python | Plotting column charts in excel sheet using XlsxWriter module | Python | Plotting column charts in excel sheet using XlsxWriter module, Tkinter Cheat Sheet, Unix Tutorial, Complexity Cheat Sheet for Python Operations, Linux Commands Cheat Sheet, Linux | GeeksforGeeks | [0.0226990432, 0.00262680743, -0.0148186199, 0.0561051816, 0.0224991757, 0.00192549266, -0.00119027216, 0.0135266306, -0.0288663302, 0.00126076047, 0.00665981323, -0.0366896465, -0.00233771582, -0.0289234333, -0.0134980781, 0.0202863775, 0.0140548469, 0.00891544111, -0.0149899339, -0.0388881713, 0.0219852366, -0.042485... |
13 Sep, 2024 | Python program to extract numeric suffix from string
13 Sep, 2024
Given a string of characters with digits embedded in it. The task is to write a Python program to extract all the numbers that are trailing, i.e at the suffix of the string.
Examples:
Input : test_str = “GFG04”Output : 04Explanation : 04 is suffix of str... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-program-to-extract-numeric-suffix-from-string?ref=asr9 | Linux | Python program to extract numeric suffix from string | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.0207610093, 0.0357732177, -0.00598397898, 0.0292143598, 0.0183569659, 0.0120724812, 0.020852467, 0.00463497033, 0.00783274136, -0.00905436091, -0.0139147108, -0.0313048325, 0.010315178, 0.00379551505, -0.00235341536, 0.000364403735, 0.0086232014, 0.0328988172, -0.0444486812, -0.00035991249, 0.00829656422, 0.00626161... |
30 Dec, 2024 | Python | Ways to remove numeric digits from given string
30 Dec, 2024
In Python, we can remove numeric digits from a string in multiple ways. For example, if we have a string like “Geeks123” and we want to remove the numbers to get “Geeks”, we can use different methods to accomplish this. We can do this by using techni... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-ways-to-remove-numeric-digits-from-given-string?ref=asr10 | Linux | Python | Ways to remove numeric digits from given string | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.0202819053, 0.00117757288, -0.00530285388, 0.0287962165, -0.0174561962, 0.0510858633, 0.0307110064, -0.00204492174, 0.015104536, -0.0479255281, -0.0251153577, -0.0251711272, -0.0117861852, 0.0281827394, -0.0054004523, 0.0108473804, 0.00930904131, 0.0048473943, -0.0181068536, -0.0050286483, 0.00988069, -0.00169984123... |
10 Apr, 2023 | Python – Maximum Pair Summation in numeric String
10 Apr, 2023
Sometimes, we might have a problem in which we require to get the maximum summation of 2 numbers from Strings but with a constraint of having the numbers in successions. This type of problem can occur while competitive programming. Let’s discuss certain way... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-maximum-pair-summation-in-numeric-string?ref=asr10 | Linux | Python – Maximum Pair Summation in numeric String | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.00463463226, 0.0208674241, -0.00437660143, 0.040649794, 0.0139998319, 0.0290053226, 0.0155480178, 0.0119951302, -0.0239373315, 0.0052631693, 0.00724471454, 0.00758875581, 0.0341659412, -0.025988346, -0.0207615662, 0.00343379611, -0.00200139382, 0.0313606821, -0.0192795414, -0.0363095812, -0.000413924601, -0.02627945... |
27 Apr, 2023 | Python – Dictionary values String Length Summation
27 Apr, 2023
Sometimes, while working with Python dictionaries we can have problem in which we need to perform the summation of all the string lengths which as present as dictionary values. This can have application in many domains such as web development and day-day p... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-dictionary-values-string-length-summation?ref=asr9 | Linux | Python – Dictionary values String Length Summation | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.0100379, 0.0295727365, -0.00368457055, 0.0512113236, 0.0469557345, -0.000179100636, 0.0685702786, 0.00541565754, -0.0294284783, -0.00491977343, 0.00737515185, 0.0306065809, -0.00138171401, -0.013944868, -0.00578832207, 0.0199195221, 0.00172808161, 0.000786652847, -0.0164573472, -0.0375790149, -0.00260264124, -0.0032... |
05 Apr, 2023 | Python – Summation Grouping in Dictionary List
05 Apr, 2023
Sometimes, while working with Python Dictionaries, we can have a problem in which we need to perform the grouping of dictionaries according to specific key, and perform summation of certain keys while grouping similar key’s value. This is s peculiar problem bu... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-summation-grouping-in-dictionary-list?ref=asr10 | Linux | Python – Summation Grouping in Dictionary List | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [-0.00322489138, 0.0324810147, -0.00862368289, 0.0298657957, 0.0348608643, 0.0234585106, 0.0456355624, 0.0107485484, -0.00940824859, 0.0130630163, 0.0137037449, -0.0182673018, 0.029185839, -0.0233800542, 0.00647266582, 0.0171558335, -0.00404378166, 0.00916634127, 0.00249426463, -0.0344424285, 0.0167766269, -0.013468375... |
21 Jan, 2025 | Convert List to Key – Value List by Prefix Grouping – Python
21 Jan, 2025
Given a list, we are required to convert it into a dictionary of consecutive key-value pairs where the key is a string (starting with a prefix) and the values are grouped by that prefix until the next key with the same prefix is encountered. For ... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-convert-list-to-key-value-list-by-prefix-grouping?ref=asr7 | Linux | Convert List to Key – Value List by Prefix Grouping – Python | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.0482086875, 0.0442125089, -0.00036907391, 0.00865414739, 0.0289404858, 0.0343366, 0.0513649061, -0.00357619906, -0.0167355929, 0.00256283651, -0.0159974452, -0.0271842033, -0.00535157183, -0.024460692, -0.00812599, 0.0122367088, -0.00566019397, 0.0226535015, -0.00957683194, -0.0334711857, 0.0273114704, -0.033700265,... |
23 Mar, 2023 | Python | Frequency grouping of list elements
23 Mar, 2023
Sometimes, while working with lists, we can have a problem in which we need to group element along with it’s frequency in form of list of tuple. Let’s discuss certain ways in which this task can be performed.
Method #1: Using loop This is a brute force method to... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-frequency-grouping-of-list-elements?ref=asr10 | Linux | Python | Frequency grouping of list elements | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.00207614223, 0.0184153318, -0.00868413132, -0.00861868914, 0.0147113241, 0.0428513139, 0.0385845043, 0.0080297133, 0.0172504671, -0.00011912459, -0.00899825245, -0.0249987803, -0.00696955528, -0.0159547199, 0.0052353465, 0.00262094545, -0.003209922, 0.00732948538, 0.00805589, -0.019868141, 0.0223156661, -0.024514511... |
08 May, 2023 | Python | Binary element list grouping
08 May, 2023
Sometimes while working with the databases, we need to perform certain list operations that are more like query language, for instance, grouping of nested list element with respect to its other index elements. This article deals with binary nested list and group each n... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-binary-element-list-grouping?ref=asr8 | Linux | Python | Binary element list grouping | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.016126886, 0.00227551884, -0.00891961344, -0.00130530924, 0.0192006771, 0.0416014679, 0.0519035868, 0.0163795259, -0.00211060094, 0.0100635132, 0.016225135, -0.0572651811, 0.0250114091, -0.00818274543, 0.00964946393, 0.00505631883, 0.0198884215, 0.0225271117, -0.028197486, -0.0482543334, 0.0308221411, -0.0490964688,... |
11 Feb, 2025 | Identical Consecutive Grouping in list – Python
11 Feb, 2025
The task of Identical Consecutive Grouping in a list involves grouping consecutive identical elements together while preserving their order. Given a list, the goal is to create sublists where each contains only identical consecutive elements. For example, wit... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-identical-consecutive-grouping-in-list?ref=asr9 | Linux | Identical Consecutive Grouping in list – Python | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.0182753988, 0.00142820284, -0.00673083216, 0.00299634, -0.0108029163, 0.0234669559, 0.0262516458, 0.00644396711, 0.00829809438, 0.0314292088, -0.0114885932, -0.0522793978, 0.0464021638, -0.0150569137, -0.0151408743, -0.00494667189, 0.00933360774, 0.0373624153, 0.000765264849, -0.0585484467, 0.026013758, -0.043127704... |
10 May, 2023 | Python – Consecutive identical elements count
10 May, 2023
Given the elements list, get all the elements that have an identical element as the next element.
Input : test_list = [4, 5, 5, 5, 5, 6, 6, 7, 8, 2, 2, 10] Output : 3 Explanation : 5, 6 and 2 has identical element as their next element.
Input : test_list = [4, ... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-consecutive-identical-elements-count?ref=asr7 | Linux | Python – Consecutive identical elements count | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.00550814485, 0.00894800201, -0.0132345445, -0.00204485585, -0.0087355487, 0.00941039808, 0.0457397848, 0.00839187577, 0.0126159322, -0.0173711199, 0.00433965586, -0.0153215779, 0.01875831, -0.0175835732, -0.00791698229, -0.000395419513, 0.0018823921, 0.0271189436, 0.0349172, -0.0447400063, -0.00664226664, -0.0192706... |
17 May, 2022 | Check if two PDF documents are identical with Python
17 May, 2022
Python is an interpreted and general purpose programming language. It is a Object-Oriented and Procedural paradigms programming language. There are various types of modules imported in python such as difflib, hashlib.
Modules used:
difflib : It is a modu... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/check-if-two-pdf-documents-are-identical-with-python?ref=asr10 | Linux | Check if two PDF documents are identical with Python | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.0065776878, -0.0260687508, -0.0154207619, 0.0374561846, 0.0181768704, 0.0475395061, 0.0210002, 0.0197498687, -0.0212422, 0.0360041857, 0.00770365866, -0.0193599798, -0.00716588134, -0.0332884118, 0.00470555061, 0.00280148326, -0.000853721343, 0.0268485285, 0.0293626357, -0.0515190586, 0.0106412666, -0.0431566238, -0... |
15 Jan, 2025 | Check if two given matrices are identical – Python
15 Jan, 2025
In Python, we often need to check whether two given matrices are identical. Two matrices are considered identical if they have the same number of rows and columns and the corresponding elements in each matrix are equal. Let’s explore various methods to com... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/python-list-equality-program-check-two-given-matrices-identical?ref=asr10 | Linux | Check if two given matrices are identical – Python | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [0.0139471283, -0.0278185606, -0.0170506965, 0.060670957, 0.00632541068, 0.0366750807, 0.0494678356, 0.00379193481, 0.000202252282, 0.00830772, -0.00182263611, -0.0497327745, 0.0228036493, -0.0149217248, -0.011146348, 0.0133888647, 0.0327767, 0.0437148809, 0.00500071747, -0.00129630708, 0.0137011139, -0.0392866209, -0.... |
23 Apr, 2021 | Check if the given two matrices are mirror images of one another
23 Apr, 2021
Given two matrices mat1[][] and mat2[][] of size NxN. The task is to find if the given two matrices are mirror images of one another. Print “Yes” if the given two matrices are mirror images, otherwise print “No”.
Two matrices mat1 and mat2 of... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/check-if-the-given-two-matrices-are-mirror-images-of-one-another?ref=asr10 | Linux | Check if the given two matrices are mirror images of one another | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Matplotlib.axes.Axes.format_cursor_da... | GeeksforGeeks | [-0.0167777929, -0.0167917274, -0.0226165764, 0.0468774885, 0.0151752634, 0.00378684816, 0.0231461078, 0.0226862524, -0.00582136493, 0.0292914622, -0.0112107433, -0.0149801727, 0.0340015069, -0.0105627635, -0.0211394615, -0.00321202772, 0.00473443139, 0.036593426, -0.0312981084, -0.0262814928, -0.00057569152, -0.030545... |
11 Oct, 2021 | Check if two binary trees are mirror | Set 3
11 Oct, 2021
Given two arrays, A[] and B[] consisting of M pairs, representing the edges of the two binary trees of N distinct nodes according to the level order traversal, the task is to check if trees are the mirror images of each other.
Examples:
Input: N = 6, M = 5, A[][... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/check-if-two-binary-trees-are-mirror-set-3?ref=asr8 | Linux | Check if two binary trees are mirror | Set 3 | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [2.35687075e-05, 0.00801671, -0.0248387866, 0.0145633081, 0.0235064961, 0.00110928458, 0.0201528, 0.0195708815, -0.00656956807, 0.0211328752, 0.00911163818, 0.00048285941, 0.0127716074, -0.00135143206, -0.0156658925, -0.00640877429, 0.0201987419, 0.029555399, -0.04358273, -0.0492487885, -0.000831724145, -0.0354358517, ... |
22 Jun, 2021 | Construct a Maximum Binary Tree from two given Binary Trees
22 Jun, 2021
Given two Binary Trees, the task is to create a Maximum Binary Tree from the two given binary trees and print the Inorder Traversal of that tree.
What is the maximum Binary Tree?
The maximum binary is constructed in the following manner: In the ca... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/construct-a-maximum-binary-tree-from-two-given-binary-trees?ref=asr10 | Linux | Construct a Maximum Binary Tree from two given Binary Trees | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [-0.00988585688, 0.00457831239, -0.00906150695, 0.0155992359, 0.0228915624, 0.00423589, -0.0231578909, 0.0370069668, -0.0231705718, 0.0113062756, -0.0122891543, 0.00476854714, -0.0153455902, -0.0307926387, 0.0138110304, 0.00968928169, 0.00284559233, 0.0522003695, 0.00565313781, -0.0341661312, -0.000692770933, -0.014077... |
01 Aug, 2022 | Construct Special Binary Tree from given Inorder traversal
01 Aug, 2022
Given Inorder Traversal of a Special Binary Tree in which the key of every node is greater than keys in left and right children, construct the Binary Tree and return root.
Examples:
Input: inorder[] = {5, 10, 40, 30, 28}
Output: root of following t... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/construct-binary-tree-from-inorder-traversal?ref=asr10 | Linux | Construct Special Binary Tree from given Inorder traversal | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [-0.0101821, 0.00771507109, -0.0191830155, 0.00718428614, -0.00574144861, -0.00519197388, 0.0134938993, 0.0355850197, -0.0189736933, 0.0181363989, -0.0101970518, 0.0102045275, 0.0100624859, -0.0370502844, 0.0031529374, -0.00538634602, 0.00359775, 0.0312789306, -0.0316975787, -0.0491611511, 0.0105409408, -0.0321162269, ... |
17 Jul, 2022 | Inorder Non-threaded Binary Tree Traversal without Recursion or Stack
17 Jul, 2022
We have discussed Thread based Morris Traversal. Can we do inorder traversal without threads if we have parent pointers available to us?
Input: Root of Below Tree [Every node of
tree has parent pointer also]
10
/ \
5 100
/ \
80 ... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/inorder-non-threaded-binary-tree-traversal-without-recursion-or-stack?ref=asr10 | Linux | Inorder Non-threaded Binary Tree Traversal without Recursion or Stack | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [-0.00184410613, -0.00893427525, -0.0229938813, 0.0207349956, 0.0186630543, -0.0153136747, 0.00384010258, 0.0350516476, -0.0121200802, 0.0334314816, 0.0154149355, 0.0337742083, 0.0169494189, -0.0206415262, 0.00188013143, 0.00640276773, 0.0200651214, 0.0273558628, -0.0214516073, -0.0635291636, 0.0137714026, -0.021981276... |
14 Sep, 2023 | Threaded Binary Tree | Insertion
14 Sep, 2023
We have already discuss the Binary Threaded Binary Tree.Insertion in Binary threaded tree is similar to insertion in binary tree but we will have to adjust the threads after insertion of each element.
C representation of Binary Threaded Node:
struct Node
{
struct Node *left... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/threaded-binary-tree-insertion?ref=asr10 | Linux | Threaded Binary Tree | Insertion | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.00336297438, -0.0139745353, -0.0117070908, 0.0316638201, 0.0153092723, 0.0113452645, 0.0153735969, 0.0378550701, 0.00340518751, 0.042615097, 0.00947984867, 0.0103482325, 0.00546357688, -0.0490154028, -0.00603043847, 0.0254725721, 0.0152369076, 0.0131383147, -0.0491762124, -0.0565092266, 0.00133172178, -0.0135403443,... |
21 Dec, 2022 | Complexity of different operations in Binary tree, Binary Search Tree and AVL tree
21 Dec, 2022
In this article, we will discuss the complexity of different operations in binary trees including BST and AVL trees. Before understanding this article, you should have a basic idea about Binary Tree, Binary Search Tree, and ... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/complexity-different-operations-binary-tree-binary-search-tree-avl-tree?ref=asr10 | Linux | Complexity of different operations in Binary tree, Binary Search Tree and AVL tree | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.00769009534, -0.00523538515, -0.0204359628, 0.017269453, 0.0366676524, 0.0113887917, 0.012379989, 0.00421425188, 0.0101381531, 0.0182806067, 0.0426813588, -0.00947957207, 0.0292436499, -0.0156063698, 0.00755039649, 0.0408453159, 0.0114353579, 0.0279397927, -0.000950451882, -0.0527396835, -0.0289775562, -0.0368805267... |
24 Nov, 2023 | POTD Solutions | 23 Nov’ 23 | AVL Tree Insertion
24 Nov, 2023
Welcome to the daily solutions of our PROBLEM OF THE DAY (POTD). We will discuss the entire problem step-by-step and work towards developing an optimized solution. This will not only help you brush up on your concepts of AVL Trees but will also help you buil... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/potd-solutions-23-nov-23-avl-tree-insertion?ref=asr10 | Linux | POTD Solutions | 23 Nov’ 23 | AVL Tree Insertion | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [-0.0178759, 0.0382416584, -0.0126408152, 0.0180355068, 0.0107175596, 0.0221693087, 0.00577774644, 0.0421360508, -0.0040360433, 0.0458389148, 0.0201582704, -0.00815188885, -0.00567799248, -0.0337726846, 0.00425350666, 0.0247708894, -0.0155935306, 0.0152104758, -0.0337407626, -0.0704821199, 0.016662892, -0.0508824736, 0... |
22 Nov, 2023 | POTD Solutions | 8 Nov’ 23 | Print Matrix in snake Pattern
22 Nov, 2023
View all POTD Solutions
Welcome to the daily solutions of our PROBLEM OF THE DAY (POTD). We will discuss the entire problem step-by-step and work towards developing an optimized solution. This will not only help you brush up on your concepts of Mat... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/potd-solutions-8-nov-23-print-matrix-in-snake-pattern?ref=asr10 | Linux | POTD Solutions | 8 Nov’ 23 | Print Matrix in snake Pattern | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [-0.0113729117, -0.00353506813, -0.0107876481, 0.0242342744, 0.0289741904, 0.0094581591, 0.0233816672, 0.0420523174, -0.0250868816, 0.0101662558, 0.00600799, -0.00435335422, 0.046503216, -0.00665467093, -0.0322545618, 0.0310984831, -0.00806364, 0.0233238619, -0.0394222401, -0.0358962044, 0.00412936416, -0.0234683715, -... |
22 Nov, 2023 | POTD Solutions | 13 Nov’ 23 | Shortest Common Supersequence
22 Nov, 2023
View all POTD Solutions
Welcome to the daily solutions of our PROBLEM OF THE DAY (POTD). We will discuss the entire problem step-by-step and work towards developing an optimized solution. This will not only help you brush up on your concepts of Dy... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/potd-solutions-13-nov-23-shortest-common-supersequence?ref=asr10 | Linux | POTD Solutions | 13 Nov’ 23 | Shortest Common Supersequence | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.0139634944, 0.0359317474, -0.0167920589, 0.0328341834, 0.0429094173, -0.0362252, 0.0283834711, 0.0340079963, -0.0299648587, 0.0189277492, 0.00327689713, -0.00375783467, 0.0611687452, -0.0156508517, -0.0352470204, 0.00807812158, -0.0252206959, 0.025057666, -0.0329646058, -0.0455831066, -0.00544111617, -0.0075564268, ... |
13 Feb, 2025 | Printing Shortest Common Supersequence
13 Feb, 2025
Given two strings s1 and s2, find the shortest string which has both s1 and s2 as its sub-sequences. If multiple shortest super-sequence exists, print any one of them.Examples:
Input: s1 = “geek”, s2 = “eke”Output: geekeExplanation: String “geeke” has both string “gee... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/print-shortest-common-supersequence/?ref=next_article | Linux | Printing Shortest Common Supersequence | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.042076, 0.00904291, -0.0187269505, 0.0359032601, 0.0460122339, -0.0245269369, 0.0445212349, 0.0139184771, -0.0233788677, 0.0071977987, -0.0100791547, 0.00792466104, 0.0716276, -0.0215002093, -0.0182647407, 0.0149323568, 0.0201284885, 0.0270765461, 0.00171092153, -0.0384379588, -0.0183542, 0.0131506128, -0.0300734546... |
20 Jun, 2022 | Check if given Arrays have a Unique Shortest Common Super-sequence
20 Jun, 2022
Given a 2D array arr[][] of size N*M which denotes N arrays, each of size M. The task is to check if all these arrays have a unique common supersequence.
Examples:
Input: N = 2, M = 2, arr[][] = { { 1, 2 }, {1, 3 } }Output: FalseExplanation... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/check-if-given-arrays-have-a-unique-shortest-common-super-sequence?ref=asr10 | Linux | Check if given Arrays have a Unique Shortest Common Super-sequence | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.00582192792, 0.00685330899, -0.0216629878, 0.0302803963, 0.0344377793, -0.0148933036, 0.0267601609, 0.00989170279, -0.0174259618, 0.0133800805, 0.0120739304, -0.00877669547, 0.0457471311, 0.00157096481, -0.0269194487, -0.00171730947, 0.013810155, 0.0293883923, -0.0178878941, -0.0353297852, 1.04531882e-05, 0.01259161... |
02 Dec, 2021 | Find the super power of a given Number
02 Dec, 2021
Given an integer . The task is to find the superpower from the factorization of .The Superpower is the highest power among the power of primes in the factorisation of a number n.Examples:
Input : n = 32
Output : 5
Input : n = 240
Output : 4
For finding the superpowe... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/find-the-super-power-of-a-given-number?ref=asr10 | Linux | Find the super power of a given Number | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [-0.0164370015, 0.011770742, -0.00334380171, 0.034415409, 0.0107548153, 0.0304918289, 0.0147274407, 0.0506141931, 0.0462141782, 0.0478676856, -0.0115255183, 0.0161287189, 0.0377784781, -0.0209911577, 0.00801531505, 0.00878601894, -0.0256714281, 0.0151338121, -0.0290905498, -0.0118267937, -0.00354173244, -0.034751717, -... |
19 Jul, 2024 | Find power of power under mod of a prime
19 Jul, 2024
Given four numbers A, B, C and M, where M is prime number. Our task is to compute A raised to power (B raised to power C) modulo M. Example:
Input : A = 2, B = 4, C = 3, M = 23Output : 643 = 64 so,2^64(mod 23) = 6
A Naive Approach is to calculate res = BC and then ... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/find-power-power-mod-prime?ref=asr10 | Linux | Find power of power under mod of a prime | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [-0.000817275723, 0.00690060901, -0.0116193257, 0.0384371765, 0.0212211479, 0.0223569274, -0.00647095544, 0.0282450486, 0.014257025, 0.0639623329, 0.00478970259, -0.00649710838, 0.0278714374, -0.0218637604, 0.00623558, -0.00601514941, -0.00898162648, 0.0247480422, -0.0478820838, -0.027587492, -0.00569757912, -0.0203095... |
05 Aug, 2022 | Trick for modular division ( (x1 * x2 …. xn) / b ) mod (m)
05 Aug, 2022
Given integers x1, x2, x3……xn, b, and m, we are supposed to find the result of ((x1*x2….xn)/b)mod(m). Example 1: Suppose that we are required to find (55C5)%(1000000007) i.e ((55*54*53*52*51)/120)%1000000007 Naive Method :
Simply calculate the prod... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/trick-modular-division-x1x2-xnbmodm?ref=asr10 | Linux | b ) mod (m) | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [-0.0066178, -0.0165127441, -0.022050865, 0.023592053, 0.0142771723, 0.0210346952, 0.03126413, 0.0387160331, 0.00506814197, 0.0728254318, -0.0346005484, -0.0230331607, 0.0473534688, -0.0513842739, 0.00666014, 0.0334997, -0.000410701585, 0.0280801337, -0.0119653884, -0.00821826607, -0.0176474657, -0.00350578246, -0.0352... |
21 Mar, 2023 | Benefits of Double Division Operator over Single Division Operator in Python
21 Mar, 2023
The Double Division operator in Python returns the floor value for both integer and floating-point arguments after division.
Python3
# A Python program to demonstrate use of
# "//" for both integers and floating points
print(5//2)... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/benefits-of-double-division-operator-over-single-division-operator-in-python?ref=asr6 | Linux | Benefits of Double Division Operator over Single Division Operator in Python | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.00120489951, -0.0211431962, -0.01288947, 0.00337174884, 0.0220624655, 0.028865058, 0.0460422635, 0.0134016341, -0.0113070132, 0.0347221158, -0.0326997265, -0.0187924933, 0.0105190678, -0.0393184647, -0.00778095843, 0.0683936402, 0.0152861364, 0.0111428583, -0.00639548851, -0.000213607011, 0.0119111044, -0.0205259714... |
14 Jan, 2020 | Scala Byte *(x: Double): Double
14 Jan, 2020
In Scala, Byte is a 8-bit signed integer (equivalent to Java’s byte primitive type). The method *(x:Double) method is utilized to return the product of this value and x.
Method Definition: Byte *(x: Double): Double
Return Type: It returns the product of this value and x.
Ex... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-byte-x-double-double-2?ref=asr10 | Linux | Scala Byte *(x: Double): Double | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.00409106491, -0.00320157269, -0.00470202882, 0.0221744087, 0.00520517631, -0.025540702, 0.00837979466, 0.0355796851, -0.00369274, -0.0012631088, -0.0212879125, 0.0493563302, 0.0155616198, 0.0132016204, -0.012650555, 0.0228812117, -0.0524710491, 0.0106619261, -0.0302127823, 0.0550586618, 0.0109374588, -0.0311232395, ... |
14 Jan, 2020 | Scala Byte -(x: Double): Double
14 Jan, 2020
In Scala, Byte is a 8-bit signed integer (equivalent to Java’s byte primitive type). The method -(x:Double) method is utilized to return the difference of this value by x
Method Definition: Byte -(x: Double): Double
Return Type: It returns the difference of this value by x.
... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-byte-x-double-double-3?ref=asr9 | Linux | Scala Byte -(x: Double): Double | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.0166309904, -0.0131156, -0.00645553414, -0.00476814713, 0.0031223055, -0.0297338068, 0.0222683977, 0.0308842976, -0.0330063142, -0.00702438829, -0.0183183774, 0.0210539903, 0.00848806836, 0.00960021, -0.0276117902, 0.0224729292, -0.053178262, 0.0208366755, -0.024786694, 0.0185612589, 0.00364322239, -0.0272538587, -0... |
14 Jan, 2020 | Scala Byte +(x: Double): Double
14 Jan, 2020
In Scala, Byte is a 8-bit signed integer (equivalent to Java’s byte primitive type). The method +(x:Double) method is utilized to return the sum of this value by x
Method Definition: Byte +(x: Double): Double
Return Type: It returns the sum of this value by x.
Example #1:
//... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-byte-x-double-double-5?ref=asr8 | Linux | Scala Byte +(x: Double): Double | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.0179107878, 0.0151970331, -0.00410534441, 0.00831166655, 0.0122750122, -0.0166359544, -0.00199113949, 0.0390528403, -0.0346603431, -0.00838739891, -0.00922677, 0.0391285717, 0.0138969542, -0.020031305, -0.0464241579, 0.0214071162, -0.0652311146, 0.0105647147, -0.031807743, 0.0395829678, 0.00225147069, -0.0435715578,... |
10 Jan, 2020 | Scala Byte %(x: Double): Double
10 Jan, 2020
In Scala, Byte is a 8-bit signed integer (equivalent to Java’s byte primitive type). The method %(x:Double) method is utilized to return the remainder of the division of this value by x
Method Definition: Byte %(x: Double): Double
Return Type: It returns the remainder of the... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-byte-x-double-double?ref=asr7 | Linux | Scala Byte %(x: Double): Double | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.0259461328, -0.00132664351, -0.00630175928, 0.0101398677, 0.0218357258, -0.0170899555, 0.00513152499, 0.0311198, -0.00458368706, 0.0251551718, -0.0150153032, 0.0399889424, 0.0130638322, -0.00491757644, -0.0374734253, 0.0153524345, -0.0465500318, 0.0225488879, -0.0466278307, 0.027385423, -0.000879296393, -0.026127664... |
23 Oct, 2019 | Scala String substring() method with example
23 Oct, 2019
The substring() method is utilized to find the sub-string from the stated String which starts from the index specified.
Method Definition: String substring(int beginIndex)
Return Type: It returns the content from the given String Which starts from the index we s... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-string-substring-method-with-example/?ref=next_article | Linux | Scala String substring() method with example | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt__(), Check if two binary trees are mirror ... | GeeksforGeeks | [0.0344772413, 0.0172386207, -0.0046394472, 0.00345163699, -0.0165678579, -0.0275683776, -0.00184040726, 0.017574003, -0.0256902408, -0.0117607191, -0.0410060063, 0.021542687, 0.0234096441, 0.0058412319, 0.0212743804, 0.0256902408, -0.0245275833, 0.0192397311, -0.0161430407, 0.0167690869, -0.0190049652, -0.0246170182, ... |
03 Oct, 2019 | Scala String equals() method with example
03 Oct, 2019
The equals() method is utilized to check if the stated string and object are equal.
Method Definition: Boolean equals(Object anObject)
Return Type: It returns true if the string is same as the object stated else it returns false.
Example #1:
// Scala program of equ... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-string-equals-method-with-example/?ref=next_article | Linux | Scala String equals() method with example | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Scala String charAt() method with example, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt... | GeeksforGeeks | [-0.00699585769, 0.0196946096, -0.00535079231, 0.0374497734, -0.0288146213, 0.0108228, -0.00523246313, 0.0177782532, -0.00178215432, -0.0174896438, -0.0300383195, 0.00794249214, 0.0157002751, 0.00570000801, -0.0178359747, 0.0454615317, -0.0141764246, 0.0290224198, -0.0310311317, 0.0229154751, -0.0413517542, -0.02009866... |
13 Aug, 2019 | Scala Map equals() method with example
13 Aug, 2019
The equals() method is utilized to check whether the two maps have the same key-values pair or not.
Method Definition: def equals(that: Any): Boolean
Return Type: It returns true if the key-value pairs of both the maps are same else it returns false.
Example #1:
// Sc... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-map-equals-method-with-example?ref=asr10 | Linux | Scala Map equals() method with example | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Scala String charAt() method with example, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt... | GeeksforGeeks | [-0.000771233754, 0.0319968797, -0.0112743955, 0.0301462226, -0.0240585376, 0.00435574, 0.011895339, 0.00748176686, -0.0105621358, -0.0120353559, -0.0202963464, 0.026517963, -0.0121084079, -0.00361912954, -0.0114813764, 0.0259578954, -0.0229627527, 0.0438556932, -0.028125111, 0.0254465286, -0.0488962978, -0.0286364779,... |
13 Aug, 2019 | Scala Map apply() method with example
13 Aug, 2019
The apply() is utilized to search a key in the stated map.
Method Definition: m1.apply(“key”)
Here m1 is map.
Return Type: It returns the value of the key to be searched.
Example #1:
// Scala program of apply()
// method
// Creating object
object GfG
{
// Main method
... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-map-apply-method-with-example/?ref=next_article | Linux | Scala Map apply() method with example | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Scala String charAt() method with example, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt... | GeeksforGeeks | [-0.0138820335, 0.0188769698, -0.00856274925, 0.0194478203, -0.0111704962, -0.0091725206, -0.013765268, 0.0336282514, -0.0148550728, -0.00680479081, -0.00486195507, 0.0387659036, 0.000545307645, -0.00577661255, 0.0153870014, 0.026752105, 0.000403811486, 0.0376242027, -0.0432029627, 0.0230156332, -0.0353667513, -0.04463... |
04 May, 2020 | Scala BitSet addString(b: StringBuilder, sep: String) method with separator
04 May, 2020
Scala Bitsets are sets of non-negative integers which are represented as variable-size arrays of bits packed into 64-bit words. The addString(sb: mutable.StringBuilder, start: String, sep: String, end: String) method is utilised t... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-bitset-addstringb-stringbuilder-sep-string-method-with-separator?ref=asr9 | Linux | Scala BitSet addString(b: StringBuilder, sep: String) method with separator | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Scala String charAt() method with example, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt... | GeeksforGeeks | [0.0621081889, 0.00988141727, -0.0103137689, 0.0148252593, 0.0212416016, 0.00402587885, 0.00352773513, 0.0122436844, -0.0215298366, -0.015852876, -0.0071995873, 0.0552407, -0.00948666222, 0.0263922196, -0.0256904326, 0.0205272827, -0.00377837336, -0.00973730069, -0.0316806883, 0.00654166145, 0.0128138866, 0.0291993693,... |
26 Jul, 2019 | Scala List addString() method with a start, a separator and an end with example
26 Jul, 2019
This method is same as addString() method but here a start, a separator and an end are also included.
Method Definition: def addString(b: mutable.StringBuilder, start: String, sep: String, end: String): mutable.StringBuilder
Wh... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-list-addstring-method-with-a-start-a-separator-and-an-end-with-example?ref=asr1 | Linux | Scala List addString() method with a start, a separator and an end with example | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Scala String charAt() method with example, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt... | GeeksforGeeks | [0.0584074818, 0.00680860272, -0.0127766374, 0.0318935588, 0.00951643288, -0.00872990116, -0.0112335943, 0.0300202928, -0.0300443098, -0.00222300272, -0.0149981389, 0.0550932437, 0.000798539841, 0.0342711657, -0.00324819586, 0.0348715745, -0.0221309606, 0.0150821954, -0.0297561157, 0.0166552588, 0.0122002475, 0.0033892... |
19 Apr, 2020 | Scala immutable TreeSet mkString() method with a separator
19 Apr, 2020
In Scala immutable TreeSet class the mkString() method is utilised to display all the elements of the TreeSet in a string along with a separator.
Method Definition: def mkString(sep: String): String
Return Type: It returns all the elements of the T... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-immutable-treeset-mkstring-method-with-a-separator?ref=asr1 | Linux | Scala immutable TreeSet mkString() method with a separator | Uses and Application of Noble Gases, Superscript and subscript axis labels in ggplot2 in R, Set Axis Breaks of ggplot2 Plot in R, Scala String charAt() method with example, Uses of Square Numbers in Real-life, How To Merge Two DataFrames in R ?, Jupyter Notebook - Cell Magic Functions, Python | Numpy numpy.ndarray.__gt... | GeeksforGeeks | [0.0479367301, 0.00826796331, -0.00611679675, 0.00536856474, 0.00905984268, -0.0288817547, 0.00910972431, 0.0161867533, -0.0265622362, 0.00525321206, -0.0249036551, 0.037835598, -0.00340445573, 0.0184688605, -0.0223846082, 0.0114666559, -0.0223471969, 0.00740749668, -0.00690244045, 0.0277594067, -0.0213994347, 0.006540... |
19 Apr, 2020 | Scala immutable TreeSet mkString() method
19 Apr, 2020
In Scala immutable TreeSet class the mkString() method is utilized to display all elements of the TreeSet in a string.
Method Definition: def mkString: String
Return Type: It returns a string containing all the element of the TreeSet.
Example #1:
// Scala program o... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-immutable-treeset-mkstring-method?ref=asr2 | Linux | Scala immutable TreeSet mkString() method | Scala String charAt() method with example, Check if two binary trees are mirror | Set 3, Jupyter Notebook - Cell Magic Functions, Construct Special Binary Tree from given Inorder traversal, How To Annotate Clusters with Circle, Change Axis Labels of Boxplot in R, How to Plot in 3D clusters using plotly package, Check i... | GeeksforGeeks | [0.0430152975, 0.0154994391, -0.00528983632, 0.00889414, 0.00607040618, -0.0299539715, 0.016245801, 0.0215076488, -0.0278144013, -0.00260915514, -0.0154372416, 0.0502301231, -0.00466475869, 0.0227889027, -0.0184351262, 0.0221918132, -0.0181117039, 0.00358564453, -0.00846498273, 0.0251523796, -0.0309988782, -0.005893145... |
19 Apr, 2020 | Scala immutable TreeSet toArray() method
19 Apr, 2020
In Scala immutable TreeSet class the toArray() is utilised to return an array consisting of all the elements of the TreeSet.
Method Definition: def toArray: Array[A]
Return Type: It returns an array consisting of all the elements of the TreeSet.
Example #1:
// Scala... | Linux/Linux/Unix Tutorial/Linux Commands Cheat Sheet/Tkinter Cheat Sheet/Complexity Cheat Sheet for Python Operations/Python | Plotting charts in excel sheet using openpyxl module | Set – 2/Python | Plotting charts in excel sheet using openpyxl module | Set – 1/Python | Writing to an excel file using openpyxl module/Ho... | https://www.geeksforgeeks.org/scala-immutable-treeset-toarray-method?ref=asr10 | Linux | Scala immutable TreeSet toArray() method | Scala String charAt() method with example, Check if two binary trees are mirror | Set 3, Jupyter Notebook - Cell Magic Functions, Construct Special Binary Tree from given Inorder traversal, How To Annotate Clusters with Circle, Change Axis Labels of Boxplot in R, How to Plot in 3D clusters using plotly package, Check i... | GeeksforGeeks | [0.00232555578, 0.0215787105, -0.0134392651, -0.0022842465, -0.0243816171, -0.0291061662, 0.0193755515, 0.0171846338, 0.00290694484, -0.00485000806, -0.00697666733, 0.0131332707, 0.0246264115, -0.00105262, -0.00347915385, -0.00746625802, -0.035935957, 0.0218235049, -0.0126069607, 0.00203333143, -0.00347609399, -0.01921... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.