This repo contains the solution of 30days challenge given by Arsh Goyal. The link of the questions and there solution file name is given below:
-
https://practice.geeksforgeeks.org/problems/print-anagrams-together/1/
Solution file:- Print Anagrams Together.cpp -
https://practice.geeksforgeeks.org/problems/overlapping-rectangles1924/1/
Solution file:- Overlapping rectangles.cpp -
https://practice.geeksforgeeks.org/problems/count-the-subarrays-having-product-less-than-k1708/1/
Solution file:- Count the subarrays having product less than k.cpp
-
https://practice.geeksforgeeks.org/problems/run-length-encoding/1/
Solution file:- Run Length Encoding.cpp -
https://practice.geeksforgeeks.org/problems/ugly-numbers2254/1/
Solution file:- Ugly Numbers.cpp -
https://leetcode.com/problems/greatest-common-divisor-of-strings/
Solution file:- Greatest Common Divisor of Strings.cpp
-
https://practice.geeksforgeeks.org/problems/find-the-position-of-m-th-item1723/1
Solution file:- Find the position of M-th item.cpp -
https://practice.geeksforgeeks.org/problems/total-decoding-messages1235/1/
Solution file:- Total Decoding Messages.cpp -
https://practice.geeksforgeeks.org/problems/number-following-a-pattern3126/1
Solution file:- Number following a pattern.cpp
-
Find max 10 numbers in a list having 10M entries.
Solution file:- Max_10_Numbers.cpp -
https://practice.geeksforgeeks.org/problems/find-missing-and-repeating2512/1/
Solution file:- Find_Missing_And_Repeating.cpp -
https://practice.geeksforgeeks.org/problems/squares-in-nn-chessboard1801/1
Solution file:- Squares_in_NxN_Chessboard.cpp
-
https://practice.geeksforgeeks.org/problems/decode-the-string2444/1
Solution file:- Decode_the_string.cpp -
https://leetcode.com/problems/minimum-size-subarray-sum/
Solution file:- Minimum_Size_Subarray_Sum.cpp -
https://practice.geeksforgeeks.org/problems/array-pair-sum-divisibility-problem3257/1
Solution file:- Array_Pair_Sum_Divisibility_Problem.cpp
-
https://practice.geeksforgeeks.org/problems/maximum-profit4657/1
Solution file:- Maximum_Profit.cpp -
https://leetcode.com/problems/longest-mountain-in-array/
Solution file:- Longest_Mountain_in_Array.cpp -
https://practice.geeksforgeeks.org/problems/deee0e8cf9910e7219f663c18d6d640ea0b87f87/1/
Solution file:- IPL_2021_Match_Day2.cpp
-
https://practice.geeksforgeeks.org/problems/brackets-in-matrix-chain-multiplication1024/1/
Solution file:- Brackets_in_Matrix_Chain_Multiplication.cpp -
https://practice.geeksforgeeks.org/problems/phone-directory4628/1/
Solution file:- Phone_directory.cpp -
https://practice.geeksforgeeks.org/problems/maximum-of-all-subarrays-of-size-k3101/1
Solution file:- Maximum _of_all_subarrays_of_size_k.cpp
-
https://practice.geeksforgeeks.org/problems/first-non-repeating-character-in-a-stream1216/1
Solution file:- First_non-repeating_character_in_a_stream.cpp -
https://practice.geeksforgeeks.org/problems/count-ways-to-nth-stairorder-does-not-matter1322/1/
Solution file:- Count_ways_to_Nth_Stair.cpp -
https://practice.geeksforgeeks.org/problems/is-sudoku-valid4820/1/
Solution file:- Is_Sudoku_Valid.cpp
-
https://practice.geeksforgeeks.org/problems/nuts-and-bolts-problem0431/1
Solution file:- Nuts_and_Bolts_Problem.cpp -
https://practice.geeksforgeeks.org/problems/serialize-and-deserialize-a-binary-tree/1
Solution file:- Serialize_and_Deserialize_a_Binary_Tree.cpp -
https://practice.geeksforgeeks.org/problems/column-name-from-a-given-column-number4244/1/
Solution file:- Column_name_from_a_given_column_number.cpp
-
https://leetcode.com/problems/rotting-oranges/
Solution file:- Rotting_Oranges.cpp -
https://practice.geeksforgeeks.org/problems/burning-tree/1/
Solution file:- Burning_Tree.cpp -
https://practice.geeksforgeeks.org/problems/delete-n-nodes-after-m-nodes-of-a-linked-list/1/
Solution file:- Delete_N_nodes_after_M_nodes_of_a_linked_list.cpp
-
https://practice.geeksforgeeks.org/problems/minimum-sum-partition3317/1/
Solution file:- Minimum_sum_partition.cpp -
https://practice.geeksforgeeks.org/problems/prerequisite-tasks/1/
Solution file:- Prerequisite_Tasks.cpp -
https://practice.geeksforgeeks.org/problems/rotate-by-90-degree0356/1/
Solution file:- Rotate_by_90_degree.cpp
-
https://practice.geeksforgeeks.org/problems/spirally-traversing-a-matrix-1587115621/1/
Solution file:- Spirally_traversing_a_matrix.cpp -
https://practice.geeksforgeeks.org/problems/stock-span-problem-1587115621/1
Solution file:- Stock_span_problem.cpp -
https://practice.geeksforgeeks.org/problems/possible-words-from-phone-digits-1587115620/1/
Solution file:- Possible_Words_From_Phone_Digits.cpp
-
https://practice.geeksforgeeks.org/problems/length-of-largest-region-of-1s-1587115620/1/
Solution file:- Unit_Area_of_largest_region_of_1s.cpp -
https://practice.geeksforgeeks.org/problems/connect-nodes-at-same-level/1/
Solution file:- Connect_Nodes_at_Same_Level.cpp -
https://practice.geeksforgeeks.org/problems/count-number-of-subtrees-having-given-sum/1/
Solution file:- Count_Number_of_SubTrees_having_given_Sum.cpp
-
https://practice.geeksforgeeks.org/problems/stickler-theif-1587115621/1/
Solution file:- Stickler_Thief.cpp -
https://practice.geeksforgeeks.org/problems/generate-binary-numbers-1587115620/1/
Solution file:- Generate_Binary_Numbers.cpp -
https://practice.geeksforgeeks.org/problems/find-all-four-sum-numbers1732/1
Solution file:- Find_All_Four_Sum_Numbers.cpp
-
https://practice.geeksforgeeks.org/problems/bridge-edge-in-graph/1
Solution file:- Bridge_edge_in_a_graph.cpp -
https://practice.geeksforgeeks.org/problems/minimum-number-of-steps-to-reach-a-given-number5234/1/
Solution file:- Minimum_steps_to_destination.cpp -
https://practice.geeksforgeeks.org/problems/alien-dictionary/1/
Solution file:- Alien_Dictionary.cpp
-
https://practice.geeksforgeeks.org/problems/subarray-with-given-sum-1587115621/1
Solution file:- Subarray_with_given_sum.cpp -
https://practice.geeksforgeeks.org/problems/longest-arithmetic-progression1019/1/
Solution file:- Longest_Arithmetic_Progression.cpp -
https://practice.geeksforgeeks.org/problems/7b9d245852bd8caf8a27d6d3961429f0a2b245f1/1/
Solution file:- Number_of_distict_Words_with_k_maximum_contiguous_vowels.cpp
-
https://practice.geeksforgeeks.org/problems/subset-sum-problem2014/1
Solution file:- Partition_Equal_Subset_Sum.cpp -
https://practice.geeksforgeeks.org/problems/express-as-sum-of-power-of-natural-numbers5647/1
Solution file:- Express_as_sum_of_power_of_natural_numbers.cpp -
https://practice.geeksforgeeks.org/problems/generate-all-possible-parentheses/1/
Solution file:- Generate_Parentheses.cpp
-
https://practice.geeksforgeeks.org/problems/pots-of-gold-game/1/
Solution file:- Pots_of_Gold_Game.cpp -
https://practice.geeksforgeeks.org/problems/implement-atoi/1/
Solution file:- Implement_Atoi.cpp -
https://practice.geeksforgeeks.org/problems/next-higher-palindromic-number-using-the-same-set-of-digits5859/1/
Solution file:- Next_higher_palindromic_number_using_the_same_set_of_digits.cpp
-
https://practice.geeksforgeeks.org/problems/winner-of-an-election-where-votes-are-represented-as-candidate-names-1587115621/1/
Solution file:- Winner_of_an_election.cpp -
https://practice.geeksforgeeks.org/problems/amend-the-sentence3235/1
Solution file:- Amend_The_Sentence.cpp -
https://practice.geeksforgeeks.org/problems/leaders-in-an-array-1587115620/1/
Solution file:- Leaders_in_an_array.cpp
-
https://practice.geeksforgeeks.org/problems/minimum-insertions-to-make-two-arrays-equal/1/
Solution file:- Minimum_operations_to_convert_array_A_to_B.cpp -
https://practice.geeksforgeeks.org/problems/find-smallest-range-containing-elements-from-k-lists/1/
Solution file:- Smallest_range_in_K_lists.cpp -
Given two library versions of an executable: for example, “10.1.1.3” and “10.1.1.9” or “10” and “10.1”. Find out which one is more recent? Strings can be empty also.
Solution file:- Library_versions.cpp
-
https://practice.geeksforgeeks.org/problems/minimum-sum-partition3317/1/
Solution file:- Minimum_sum_partition.cpp -
https://practice.geeksforgeeks.org/problems/word-search/1/
Solution file:- Word_Search.cpp -
https://practice.geeksforgeeks.org/problems/find-the-missing-no-in-string/1/
Solution file:- Find_the_missing_no_in_string.cpp
-
https://practice.geeksforgeeks.org/problems/largest-number-in-k-swaps-1587115620/1
Solution file:- Largest_number_in_K_swaps.cpp -
https://leetcode.com/problems/split-array-largest-sum/
Solution file:- Split_Array_Largest_Sum.cpp -
https://leetcode.com/problems/find-in-mountain-array/
Solution file:- Find_in_Mountain_Array.cpp
-
https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/
Solution file:- Capacity_To_Ship_Packages_Within_D_Days.cpp -
https://leetcode.com/problems/number-of-boomerangs/
Solution file:- Number_of_Boomerangs.cpp -
https://leetcode.com/problems/pacific-atlantic-water-flow/
Solution file:- Pacific_Atlantic_Water_Flow.cpp
-
https://leetcode.com/problems/number-of-provinces/
Solution file:- Number_of_Provinces.cpp -
https://leetcode.com/problems/construct-quad-tree/
Solution file:- Construct_Quad_Tree.cpp -
https://leetcode.com/problems/course-schedule-ii/
Solution file:- Course_Schedule_II.cpp
-
https://leetcode.com/problems/minimum-swaps-to-arrange-a-binary-grid/
Solution file:- Minimum_Swaps_to_Arrange_a_Binary_Grid.cpp -
https://leetcode.com/problems/as-far-from-land-as-possible/
Solution file:- As_Far_from_Land_as_Possible.cpp -
https://leetcode.com/problems/koko-eating-bananas/
Solution file:- Koko_Eating_Bananas.cpp
-
https://leetcode.com/problems/path-with-maximum-probability/
Solution file:- Path_with_Maximum_Probability.cpp -
https://leetcode.com/problems/stone-game/
Solution file:- Stone_Game.cpp -
https://leetcode.com/problems/remove-colored-pieces-if-both-neighbors-are-the-same-color/
Solution file:- Remove_Colored_Pieces_if_Both_Neighbors_are_the_Same_Color.cpp
-
https://practice.geeksforgeeks.org/problems/number-of-unique-paths5339/1/
Solution file:- Number_of_Unique_Paths.cpp -
https://practice.geeksforgeeks.org/problems/transform-to-sum-tree/1/
Solution file:- Transform_to_Sum_Tree.cpp -
https://practice.geeksforgeeks.org/problems/power-of-numbers-1587115620/1/?company[]=Walmart&company[]=Walmart&page=1&query=company[]Walmartpage1company[]Walmart
Solution file:- Power_Of_Numbers.cpp
-
https://practice.geeksforgeeks.org/problems/sorted-subsequence-of-size-3/1/
Solution file:- Sorted_subsequence_of_size3.cpp -
https://practice.geeksforgeeks.org/problems/maximum-height-tree4803/1/?page=2&company[]=Walmart&query=page2company[]Walmart
Solution file:- Maximum_Height_Tree.cpp -
https://leetcode.com/problems/guess-number-higher-or-lower-ii/
Solution file:- Guess_Number_Higher_or_Lower_II.cpp
-
https://leetcode.com/problems/generate-random-point-in-a-circle/
Solution file:- Generate_Random_Point_in_a_Circle.cpp -
https://leetcode.com/problems/maximum-performance-of-a-team/
Solution file:- Maximum_Performance_of_a_Team.cpp -
https://leetcode.com/problems/find-array-given-subset-sums/
Solution file:- Find_Array_Given_Subset_Sums.cpp
-
https://leetcode.com/problems/find-the-kth-largest-integer-in-the-array/
Solution file:- Find_the_Kth_Largest_Integer_in_the_Array.cpp -
https://practice.geeksforgeeks.org/problems/largest-number-in-k-swaps-1587115620/1/
Solution file:- Largest_number_in_K_swaps.cpp -
https://leetcode.com/problems/divide-two-integers/
Solution file:- Divide_Two_Integers.cpp