🔥Day160 of
@geeksforgeeks160
📌Given an array containing 2*n + 2 positive numbers, out of which 2*n numbers exist in pairs whereas only two number occur exactly once and are distinct. Find the other two numbers.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day159 of
@geeksforgeeks160
📌Given a unsorted array arr[] of positive integers having all the numbers occurring exactly twice, except for one number which will occur only once. Find the number occurring only once.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day158 of
@geeksforgeeks160
📌array represents a permutation of the integers from 1 to n with one element missing. Your task is to identify and return the missing element.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day157 of
@geeksforgeeks160
📌Given an array arr[] of non-negative integers of size n. Find the maximum possible XOR between two numbers present in the array.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day156 of
@geeksforgeeks160
📌Given an array arr[] of size n, filled with numbers from 1 to n-1 in random order. The array has only one repetitive element. Your task is to find the repetitive element.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day154 of
@geeksforgeeks160
📌Given an undirected, weighted graph with V vertices numbered from 0 to V-1 and E edges, represented by a 2d array edges[][].find the minimum weight cycle in this graph.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day152 of
@geeksforgeeks160
📌compute the shortest distances from the source to all other vertices. If a vertex is unreachable from the source, its distance should be marked as 10^8.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day151 of
@geeksforgeeks160
📌Your task is to determine the correct order of letters in this alien language based on the given words.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day150 of
@geeksforgeeks160
📌Create a clone of the graph, where each node in the graph contains an integer val and an array (neighbors) of nodes, containing nodes that are adjacent to the current node.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day149 of
@geeksforgeeks160
📌Your task is to perform a flood fill starting from the pixel (sr, sc), changing its color to newColor and the color of all the connected pixels that have the same original color.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day148 of
@geeksforgeeks160
📌find the shortest distance of all the vertices from the source vertex src, and return an array of integers
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day147 of
@geeksforgeeks160
📌Given a 2D array houses[][].Find the minimum cost to connect all the houses of the city
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day145 of
@geeksforgeeks160
📌Given an undirected graph with V vertices numbered from 0 to V-1 and E edges, represented by 2d array edges[][].Determine whether a specific edge between two vertices (c, d) is a bridge.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day144 of
@geeksforgeeks160
📌Given a Directed Graph with V vertices (Numbered from 0 to V-1) and E edges, check whether it contains any cycle or not
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day143 of
@geeksforgeeks160
📌Given a Directed Acyclic Graph of V (0 to V-1) vertices and E edges represented as a 2D list of edges[][]. Return the topological sort for the given graph.
#gfg160#geeksforgeeks#geekstreak2025 🚀
🔥Day142 of
@geeksforgeeks160
📌Given a grid of size n*m (n is the number of rows and m is the number of columns in the grid) consisting of 'W's (Water) and 'L's (Land). Find the number of islands.
#gfg160#geeksforgeeks#geekstreak2025 🚀