├── 01 knapsack problem.cpp ├── Activity Selection.cpp ├── Add as linked List numbers ├── All Other Topics ├── 0 - 1 Knapsack Problem.cpp ├── 2 dimension world.cpp ├── 289.cpp ├── 3 data structures.cpp ├── A simple fraction.cpp ├── Alternate Vowel and Consonant String.cpp ├── Amicable Pair.cpp ├── Amount of Water.cpp ├── Anagrams.cpp ├── Anagrams1.cpp ├── Array Subset of another array.cpp ├── BackTracking │ ├── Combination Sum-1.cpp │ ├── Rat Maze problem.cpp │ ├── Solve Sudoku.cpp │ ├── Sudoku Solver.cpp │ └── TwoSum.cpp ├── Balanced Array.cpp ├── Bipartite Graph.cpp ├── Buildings receiving sunlight.cpp ├── C++ Matrix Rotation by 180 degree.cpp ├── C++ template.cpp ├── Card Rotation.cpp ├── Case-specific Sorting of Strings.cpp ├── Change all even bits in a number to 0.cpp ├── Check if a string is repetition of its substring of k-length.cpp ├── Check if actual binary representation of a number is palindrome.cpp ├── Check if array contains contiguous integers with duplicates allowed.cpp ├── Check_if_a_key_is_present_in_every_segment_of_size_k_in_an_array.cpp ├── Chocolate Distribution Problem.cpp ├── Chocolate Station.cpp ├── Clone a linked list with next and random pointer.cpp ├── Closing bracket index.CPP ├── Coins of Geekland.cpp ├── Column name from a given column number.cpp ├── Comment in java.cpp ├── Common Subsequence OldP.cpp ├── Consecutive 1's not allowed.cpp ├── Container with most water.cpp ├── Convert an array to reduced form.cpp ├── Count Number of SubTrees having given Sum.cpp ├── Count Substrings.cpp ├── Count of n digit numbers whose sum of digits equals to given sum.cpp ├── Count pairs with given sum.cpp ├── Count the elements.cpp ├── Counting Sort.cpp ├── Counting elements in two arrays.cpp ├── Crazy Equations.cpp ├── Create your own Calculator.cpp ├── Cycle detection in undirected disconnected graph using bfs.cpp ├── Cycle detection in undirected graph using dfs.cpp ├── Delete a Node in Single Linked List.cpp ├── Design a tiny URL or URL shortener.cpp ├── Detect Cycle in undirectedGraph.cpp ├── Digit_multiplier.cpp ├── Dijkstra Algorithm.cpp ├── Dimensions of Rectangle.cpp ├── Distinct Substrings.cpp ├── Divisible by 8.cpp ├── Dyck Path.cpp ├── Element appearing once.cpp ├── Equal Sum.cpp ├── Equillibrium index of array.cpp ├── Equillibrium point.cpp ├── Euler Circuit in a Directed Graph.cpp ├── Excel Sheet - Part - 2.cpp ├── Excel Sheet - Part - 1.cpp ├── Factorial.cpp ├── Find all four sum numbers.cpp ├── Find duplicates in an array.cpp ├── Find largest word in dictionary by deleting some characters of given string.cpp ├── Find number of times a string occurs as a subsequence.cpp ├── Find the Highest number.cpp ├── Find the length of the loop in Linked List.cpp ├── Find the smallest and second smallest element in an array.cpp ├── Find whether path exist.cpp ├── Find_Position_of_Set_Bit.cpp ├── Finding Position.cpp ├── First Repeating Element.cpp ├── First negative integer in every window of size k.cpp ├── Floor in a Sorted Array.cpp ├── Floyd Warshalls Algoo.cpp ├── Form a number divisible by 3 using array digits.cpp ├── Form a palindrome.cpp ├── Frequencies of Limited Range Array Elements.cpp ├── Front to Back.cpp ├── Game of Death in a circle.cpp ├── Game of cells.cpp ├── Geek and his Marks.cpp ├── Get minimum element from stack.cpp ├── Group Anagrams Together.cpp ├── Handshakes.cpp ├── Happiest Triplets.cpp ├── Heap_sort.cpp ├── Help the Old Man.cpp ├── Implement Atoi.cpp ├── In First But Second.cpp ├── Infix to postfix.cpp ├── Inversion of array.cpp ├── Inverted triangle of stars.cpp ├── Is Binary Number Multiple of 3.cpp ├── Is Sudoku Valid.cpp ├── K-Palindrome.cpp ├── Kanade's Algorithm.cpp ├── Knight Walk.cpp ├── Kth element in Matrix.cpp ├── Kth largest element in a stream.cpp ├── LCS of three string.cpp ├── Large Factorials.cpp ├── Largest Rectangle.cpp ├── Largest subarray of 0's and 1's.cpp ├── Largest subarray with 0 sum.cpp ├── Largest subarrays of 0 and 1.cpp ├── Largest_subarray_length_with_contiguous_elements.cpp ├── Learning Macros.cpp ├── Left out candies.cpp ├── Letters collections.cpp ├── Linked List that is Sorted Alternatingly.cpp ├── Longest Array with sum K.cpp ├── Longest Bitonic subsequence.cpp ├── Longest consecutive subsequence.cpp ├── Longest distinct chahracter in string.cpp ├── Lucky Numbers.cpp ├── MINIMUM ELEMENT FROM STACK.cpp ├── Majority Element(a).cpp ├── Majority Element.cpp ├── Make Matrix Beautiful.cpp ├── Match specific pattern.cpp ├── Max sum in the configuration.cpp ├── Max sum path in two arrays.cpp ├── Max value.cpp ├── Max_heap.cpp ├── Maximize Dot Product.cpp ├── Maximize The Array.cpp ├── Maximum Difference.cpp ├── Maximum Gap.cpp ├── Maximum Happiness.cpp ├── Maximum Intervals Overlap.cpp ├── Maximum Rectangular Area in a Histogram.cpp ├── Maximum bitonic subarray sum.cpp ├── Maximum height of the staircase.cpp ├── Maximum money.cpp ├── Maximum of all subarrays of size k.cpp ├── Median in a row-wise sorted Matrix.cpp ├── Merge two strings.cpp ├── Min Heap implementation.cpp ├── Min Subsets with Consecutive Numbers.cpp ├── Minimum Cost of ropes.cpp ├── Minimum changes to make all substrings distinct.cpp ├── Minimum indexed character.cpp ├── Minimum number of elements.cpp ├── Money Distributions.cpp ├── Multimap operations.cpp ├── N Queen Problem.cpp ├── N Queens Problem.cpp ├── NUmber of pairs .cpp ├── Nearly sorted Algorithm.cpp ├── Next Smallest Palindrome.cpp ├── Next in Series.cpp ├── Next larger element.cpp ├── Non Repeating Character.cpp ├── Non-Repeating Element.cpp ├── Nth Catalan Number.cpp ├── Number following a pattern.cpp ├── Number of Connected Components.cpp ├── Number of Unique Paths.cpp ├── Number of factors.cpp ├── Numbers with alternative 1's.cpp ├── Nuts and Bolts Problem.cpp ├── Occurence of 2 as a digit.cpp ├── Palindrome Sentence.cpp ├── Palindrome numbers.cpp ├── Pangram Checking.cpp ├── Paranthesis Check.cpp ├── Path of greater than equal to k length.cpp ├── Pattern Jumping.cpp ├── Pattern searching.cpp ├── Permutation of string.cpp ├── Platform.cpp ├── Points in Straight Line.cpp ├── Possible paths between 2 vertices.cpp ├── Power of 2.cpp ├── Power of number.cpp ├── Prime Factors and their Powers.cpp ├── Print Diagonally.cpp ├── Print N-bit binary numbers having more 1s than 0s.cpp ├── Print Pattern.cpp ├── Print first letter of every word in the string.cpp ├── Print permutation of all the strings.cpp ├── Queue Operations.cpp ├── Queue Push & Pop.cpp ├── Rat in a maze.cpp ├── Rearrange Array Alternatively(a).cpp ├── Rearrange Array Alternatively.cpp ├── Rearrange a string.cpp ├── Rearrange an array with O(1) extra space(a).cpp ├── Rearrange an array with O(1) extra space.cpp ├── Rearrange characters.cpp ├── Rectangles in Board.cpp ├── Relative Sorting.cpp ├── Remove all duplicates from a given string.cpp ├── Remove duplicates in small prime array.cpp ├── Remove duplicates.cpp ├── Reorder List.cpp ├── Repeated Character.cpp ├── Replace a word.cpp ├── Replace duplicates with greater than previous duplicate value.cpp ├── Return two prime numbers.cpp ├── Reverse Double Linked List.cpp ├── Reverse First K elements of Queue.cpp ├── Reverse Spiral Form of Matrix.cpp ├── Reverse vowels in a given string.cpp ├── Reverse words in a given string.cpp ├── Reverse wordsin string.cpp ├── Roman to decimal.cpp ├── Rotate a 2D array without using extra space.cpp ├── Rotate by 90 degree without extra space.cpp ├── Rotated_Sorted Array Search.cpp ├── Rotation of matrix by 90.cpp ├── Rulling Pair1.cpp ├── Rulling pair.cpp ├── Search in a Rotated Array.cpp ├── Second most repeated string in a sequence.cpp ├── Segregate 0s and 1s.cpp ├── Set all the bits in given range of a number.cpp ├── Shortest Source to Destination Path.cpp ├── Single Number.cpp ├── Smallest Positive missing number.cpp ├── Smallest number on left.cpp ├── Snake and Ladder Problem.cpp ├── Sort a nearly sorted Array( K sorted Array).cpp ├── Sort a stack.cpp ├── Sort an array of 0s, 1s and 2s.cpp ├── Sort and Reverse Vector.cpp ├── Sort element of array according to the frequency.cpp ├── Sorted subsequence of size 3 - Copy.cpp ├── Sorted subsequence of size 3.cpp ├── Sorting Elements of an Array by Frequency.cpp ├── Stack using two queue.cpp ├── Stepping Numbers.cpp ├── Steps by Knight.cpp ├── Stock buy and sell.cpp ├── Stock span problem.cpp ├── Strongly connected component (Tarjans's Algo).cpp ├── Subarrays with equal 1s and 0s.cpp ├── Subarrays with sum K.cpp ├── Subset Sum Problem.cpp ├── Sum of Lengths of Non-Overlapping SubArrays.cpp ├── Sum of Query II.cpp ├── Sum of elements between k1'th and k2'th smallest elements.cpp ├── Sum of product of all pairs.cpp ├── Sum of subset differences.cpp ├── Swap Kth nodes from ends.cpp ├── Swap all even and odd bits.cpp ├── Swapping pairs make sum equal.cpp ├── The Celebrity Problem.cpp ├── The Tiny Miny.cpp ├── The new line c++.cpp ├── Three way partitioning.cpp ├── To check if two arrays are equal or not.cpp ├── Top k numbers in a stream.cpp ├── Topological Sorting using Khans algo.cpp ├── Topological Sorting.cpp ├── Total Decoding Messages.cpp ├── Trapping Rain Water.cpp ├── Ugly Numbers.cpp ├── Union of Two Sorted Arrays.cpp ├── Union-Find.cpp ├── Water Overflow.cpp ├── Winner of an election.cpp ├── Xoring and Clearing.cpp ├── Yes XOR No.cpp ├── bfs.cpp ├── big integer multiply.java ├── bitwise operator c++.cpp ├── bitwise operator java.java ├── break into three.cpp ├── c++ friend fucntion.cpp ├── c++ multilevel inheritance.cpp ├── change bits.cpp ├── check id number is baalnced.cpp ├── check if string is rotated.cpp ├── check st bits.cpp ├── chinky and daimonds.cpp ├── circular tour.cpp ├── contest-problem-continuous-series2058-0.cpp ├── contest-problem-cousins-in-tree-1.cpp ├── contest-problem-distorted-needle-in-haystack.cpp ├── contest-problem-equal-distribution-1.cpp ├── contest-problem-lazy-kid.cpp ├── contest-problem-lcp.cpp ├── contest-problem-m-and-n.cpp ├── contest-problem-mandatory-flip-bit.cpp ├── contest-problem-maximum-selections.cpp ├── contest-problem-number-of-sweets.cpp ├── contest-problem-perfect-pair-sum-1.cpp ├── contest-problem-pruning-a-tree702339-1.cpp ├── contest-problem-shortest-distance-to-every-character.cpp ├── contest-problem-sort-strings-lexicographically-according-to-given-sequence-of-characters-1.cpp ├── contest-problem-stayhometask.cpp ├── contest-problem-sum-of-xor-of-all-sub-arrays.cpp ├── contest-problem-tower-construction1225-0.cpp ├── contest-problem-triangle-and-square.cpp ├── counbt zero xor pairs.cpp ├── count odd even.cpp ├── count the occurence of anagrams.cpp ├── data types.cpp ├── edit distance.cpp ├── equal 0 1 2.cpp ├── even odd java.java ├── examination papers.cpp ├── find Sum of Different Corresponding Bits for all pairs.cpp ├── find maximum number.cpp ├── find prime ina a range.cpp ├── first Non repeating character in stream.cpp ├── four elements.cpp ├── geekonacy numbers.cpp ├── geeks and contest.cpp ├── generic sort.cpp ├── good pairs.cpp ├── integral root.cpp ├── kth LSB .cpp ├── largest number in non decreasing format less than given number.cpp ├── largest smaller in left.cpp ├── last index of one solution.cpp ├── leaders in Array.cpp ├── learning to be precise.cpp ├── linked List of string form a palindrome.cpp ├── logical Operators - Java.java ├── longest common prefix.cpp ├── look and say.cpp ├── magic in c++.cpp ├── marks of pcm.cpp ├── matrix interchange.cpp ├── matrix problem.cpp ├── max distance beetween same elements.cpp ├── merge two unsorted array into a sorted array.cpp ├── meta strings.cpp ├── missing number in an array.cpp ├── nCr.cpp ├── nth fibonacci number.cpp ├── nth natural number.cpp ├── pair sum in vector.cpp ├── palindrome array.cpp ├── palindrome.cpp ├── paranthesis checker.cpp ├── print unique subset.cpp ├── queue using two stack.cpp ├── red or green.cpp ├── remove bc and a.cpp ├── reverse an array.cpp ├── reverse and delete node from a circular linked list.cpp ├── reverse bits.cpp ├── reverse string usinga stack.cpp ├── rotten oranges.cpp ├── search in row and column sorted matrix.cpp ├── smallest-positive-missing-number-0.cpp ├── sort an Array of 0 1 2.cpp ├── special stack.cpp ├── stack using two queue.cpp ├── start coding java.java ├── stickler thief.cpp ├── strong numbers.cpp ├── strstr.cpp ├── subarray with sum as 0.cpp ├── subarray with sum as zero.cpp ├── subsets.cpp ├── subtraction and two numbers.cpp ├── sum of array elements.cpp ├── sum of bigintegers.java ├── sum of leaves in BST.cpp ├── taking input.cpp ├── the new line java.java ├── tom and jerry.cpp ├── top k frequent element in an array.cpp ├── total number of strings.cpp ├── twice counter.cpp ├── unique numbers.cpp ├── wave array.cpp ├── while loop.cpp ├── word break part2.cpp ├── xoring and clearing java.java └── zero sum subarray.cpp ├── All unique permutations of an array.cpp ├── Anagrams.cpp ├── ArmStrongNumber.cpp ├── Array Subset of another array.cpp ├── Binary Heap Operations ├── Binary Heap Operations.CPP ├── Binary-heap ├── Bleak Numbers.cpp ├── Bridge edge in a graph.cpp ├── Construct expression tree.cpp ├── Count the Reversals.cpp ├── Count the number of subarrays.cpp ├── Count triplets with sum smaller than X.cpp ├── DP ├── 0 - 1 Knapsack Problem.cpp ├── 2 -N tile proble.cpp ├── Box Stacking.cpp ├── Coin Change.cpp ├── Consecutive 1's not allowed.cpp ├── Count Palindrome Sub-Strings of a String.cpp ├── Count of Palindromic substrings in an Index range.cpp ├── Count of n digit numbers whose sum of digits equals to given sum.cpp ├── Count of strings that can be formed using a, b and c under given constraints.cpp ├── Count subsequences of type a^i b^j c^k.cpp ├── Count ways to N'th Stair(Order does not matter).cpp ├── Count ways to reach the n'th stair.cpp ├── Cutting Rod Problem DP.cpp ├── Distinct occurrences.cpp ├── Find if string is K-Palindrome or not.cpp ├── Find number of times a string occurs as a subsequence.cpp ├── Form a palindrome.cpp ├── Geeky Year.cpp ├── Get Minimum Squares.cpp ├── Gold Mine Problem.cpp ├── High-effort vs. Low-effort.cpp ├── Interleaved Strings.cpp ├── K-Palindrome.cpp ├── Largest square formed in a matrix.cpp ├── Left Corner To Right corner.cpp ├── Longest Bitonic subsequence.cpp ├── Longest Common Subsequence.cpp ├── Longest Common Substring.cpp ├── Longest Increasing subsequence.cpp ├── Longest Palindrome in a String.cpp ├── Longest Palindromic Subsequence.cpp ├── Longest Repeating Subsequence.cpp ├── Lucas Number.cpp ├── Matrix Chain Multiplication.cpp ├── Max Circular Subarray Sum.cpp ├── Max possible amount.cpp ├── Maximize Dot Product.cpp ├── Maximum Product Cutting.cpp ├── Maximum sum Problem.cpp ├── Maximum sum increasing subsequence.cpp ├── MinJumpsToEnd.cpp ├── Minimal moves to form a string.cpp ├── Minimum Deletions.cpp ├── Minimum Sum Partition.cpp ├── Minimum number of jumps.cpp ├── Nth catalan number.cpp ├── Number of Coins.cpp ├── Number of Unique Paths.cpp ├── Number of ways.cpp ├── Optimal walk.cpp ├── Partition Problem.cpp ├── Path in Matrix.cpp ├── Paths to reach origin.cpp ├── Perfect Sum Problem.cpp ├── Reach A Given Score.cpp ├── Reach the Nth point.cpp ├── Rod Cutting Problem.cpp ├── Shortest Common Supersequence.cpp ├── Special Keyboard.cpp ├── Special Matrix.cpp ├── Special Numbers.cpp ├── Stickler Theif.cpp ├── Stickler Thief.cpp ├── Subset Sum Problem.cpp ├── Total Decoding Messages.cpp ├── Two water Jug problem.cpp ├── Water Overflow.cpp ├── Ways to sum to N.cpp ├── Wildcard Pattern Matching.cpp ├── count number of hops.cpp ├── edit distance.cpp └── nthuglyno.cpp ├── Delete a node from BST.cpp ├── Division without using multiplication, division and mod operator.cpp ├── Edit Distance.cpp ├── Evaluation of Postfix Expression.cpp ├── Finding middle element in a linked list.cpp ├── First negative integer in every window of size k.cpp ├── GCC Contest ├── Continuous Series.cpp ├── GCC question.cpp ├── Special Primes.cpp └── The Manipulator.cpp ├── Graph ├── Alien Dictionary.cpp ├── BFS.cpp ├── Bipartite Graph.cpp ├── Count the paths.cpp ├── DFS.cpp ├── Detect Cycle in undirectedGraph.cpp ├── Dfs using recursion.cpp ├── Euler Circuit in a Directed Graph.cpp ├── Eulerian Path in an Undirected Graph.cpp ├── Find Number of Islands.cpp ├── Find whether path exist.cpp ├── Floyd Warshalls Algoo.cpp ├── How to determine the level of each node in the given tree.cpp ├── Knight Walk.cpp ├── New Text Document.txt ├── Number of path from onr vertex to other vertex.cpp ├── Peterson Graph.cpp ├── Possible paths between 2 vertices.cpp ├── Print Adjacency List(a).cpp ├── Print Adjacency List.cpp ├── Print adjacency listgfg.cpp ├── Rotten Oranges.cpp ├── RottenOranges.cpp ├── Shortest Source to Destination Path.cpp ├── Shortest path from 1 to n.cpp ├── Snake and Ladder Problem.cpp ├── Snake and ladder.cpp ├── Stepping Numbers.cpp ├── Steps by Knight.cpp ├── Sum Of Depenedencies in Graph.cpp ├── Topological Sorting.cpp ├── Transitive closure of a Graph.cpp ├── Word boggle.cpp ├── detect loop in directed graph.cpp ├── find Sum of Different Corresponding Bits for all pairs.cpp ├── flood fill algo.cpp ├── kruskals.cpp ├── prims.cpp └── primsOptimized.cpp ├── Greedy Algorithm ├── Activity Selection.cpp ├── C++ template.cpp ├── Geek collects the balls.cpp ├── Hungry Pizza Lovers.cpp ├── Job Sequencing Problem.cpp ├── Largest Number With Given Sum.cpp ├── Largest Number possible.cpp ├── Max Length Chain.cpp ├── Maximum number vof Toys.cpp ├── Minimise the Height.cpp ├── Minimum changes to make all substrings distinct.cpp ├── Minimum numbers of coins.cpp ├── Minimum operation.cpp ├── N Meetings in one room.cpp ├── New Text Document.txt ├── Page Fault in LRU.cpp ├── Pattern searching.cpp ├── Policeman Caught Thief.cpp ├── Raju and Coins.cpp ├── Rulling Pair1.cpp ├── Swap all even and odd bits.cpp ├── Xoring and Clearing.cpp ├── c++ multilevel inheritance.cpp ├── change bits.cpp ├── check id number is baalnced.cpp ├── coin piles.cpp ├── even odd java.java ├── find maximum number.cpp ├── geekonacy numbers.cpp ├── geeks and contest.cpp ├── generic sort.cpp ├── learning to be precise.cpp ├── minimise the sum of product of numbers.cpp ├── pair sum in vector.cpp ├── reverse an array.cpp ├── reverse bits.cpp ├── reverse string usinga stack.cpp ├── shop in candy store.cpp ├── sum of array elements.cpp ├── sum of leaves in BST.cpp ├── swap and maximise.cpp ├── the new line java.java └── while loop.cpp ├── Help Classmates.cpp ├── Huffman Encoding.cpp ├── Interleaved String.cpp ├── InversionCount.cpp ├── K-th element of two sorted Arrays.cpp ├── LCS of three strings.cpp ├── LRUimplementation.cpp ├── Largest rectangle of 1s with swapping of columns allowed.cpp ├── Largest subarray with 0 sum.cpp ├── Left View of Binary Tree.cpp ├── LinkedList ├── Add 1 to the number represented as Linked List.cpp ├── Add two numbers represented by linked lists.cpp ├── Compare two linked List.cpp ├── Flattening Linked List.cpp ├── Given a linked list of 0s, 1s and 2s, sort it.cpp ├── Given a linked list, reverse alternate nodes and append at the end.cpp ├── Intersection Point in Y Shapped Linked Lists.cpp ├── Intersection Point of Y shaped linked List.cpp ├── Intersection of two linked list.cpp ├── Intersection of two sorted linked list .cpp ├── Linked List in Zig Zag Fashion.cpp ├── Merge Two sorted Linked List.cpp ├── Middle element of linked list.cpp ├── New Text Document.txt ├── Pairwise Swap Elements in LInked lIst .cpp ├── Pairwise swap elements of a linked list.cpp ├── Pairwise swap of nodes in LinkeList.cpp ├── Polynomial Addition.cpp ├── Rearrange Even And Odd Nodes.cpp ├── Remove loop from Linked List.cpp ├── Reverse a Linked List in groups of given size.cpp ├── Reverse a linked list.cpp ├── Reverse a linked-list in group of given size.cpp ├── Rotate a linked list.cpp ├── Stack from linked list.cpp ├── Union of two linked List.cpp ├── addAtTheBeginning.cpp ├── check if linked list is palindrome.cpp ├── count pair whose sum is equal to x.cpp ├── delete key in linked list.cpp ├── delete without head pointer.cpp ├── implement queue by linked list.cpp ├── linked list.cpp ├── nth node from end.cpp └── palindrome_in_linked_list.cpp ├── Longest common prefix.cpp ├── Lucy's Neighbours.cpp ├── Max sum in the configuration ├── Maximize sum of an Array.cpp ├── Maximum Product Subarray.cpp ├── Maximum difference between node and its ancestor.cpp ├── Maximum difference of zeros and ones in binary string.cpp ├── Maximum of minimum for every window size.cpp ├── Minimize_the_Heights_II.cpp ├── Minimum sum.cpp ├── Minimum swaps and K together.cpp ├── Money Distributions.cpp ├── Number of Coins.cpp ├── Number of minimum picks to get 'k' pairs of socks from a drawer.cpp ├── Number of unique paths.cpp ├── Overlapping Intervals.cpp ├── Pairs with specific difference.cpp ├── Positive Negative pairs.cpp ├── Possible Words From Phone Digits.cpp ├── Possible paths between 2 vertices.cpp ├── Possible paths.cpp ├── Quick Sort on Linked List.cpp ├── README.md ├── Rain water trapping.cpp ├── Repeated String match.cpp ├── Restricted packman.cpp ├── Reverse_Circular_Doubly_Linklist.cpp ├── RotateListRight.java ├── Rulling Pair.cpp ├── Secret Cipher.cpp ├── Shortest Path between Cities.cpp ├── Shortest Range In BST.cpp ├── Smallest range in K lists.cpp ├── Spiral Matrix.cpp ├── Subarrays with equal 1s and 0s.cpp ├── Sum of Query II.cpp ├── Sum of two elements with sum nearest to zero.cpp ├── Swap all odd and even bits.cpp ├── Tree ├── Add all greater values to every node in a BST.cpp ├── Anagrams1.cpp ├── Ancestor of binary tree.cpp ├── Binary Tree from Array.cpp ├── Bottom View of Binary Tree.cpp ├── Boundary Traversal Of Tree.cpp ├── Check for balanced binary tree.cpp ├── Check if the given Tree is a sub Tree .cpp ├── Check if two Mirror trees.cpp ├── Check if two nodes are cousins.cpp ├── CheckBST.java ├── Children Sum Parent.cpp ├── Clone a Binary Tree.cpp ├── Connect Nodes at same level.cpp ├── Construct Tree from Inorder & Postorder.cpp ├── Construct Tree from Preorder Traversal.cpp ├── Daigonal Sum of Binary Tree.cpp ├── Daigonal Traversal of Binary Tree.cpp ├── Daimeter of binary tree.cpp ├── Determine if trees are equal.cpp ├── Distance between two nodes of binary tree.cpp ├── Evalutaion Tree.cpp ├── Extreame Nodes in Lternate order.cpp ├── Find the closest Element in Array.cpp ├── Full Binary Tree check.cpp ├── Height of a tree.cpp ├── Height of spiral tree.cpp ├── Identical tree.cpp ├── If Tree is Isometric.cpp ├── Inorder traversal and BST.cpp ├── Insert a node in BST.cpp ├── K distance from Root.cpp ├── Kth Largest element in BST.cpp ├── Kth smallest Element.cpp ├── LArgest BST.cpp ├── LCA in BST.cpp ├── LCA of Binary Tree.cpp ├── LCA.cpp ├── Leaf At Same level.cpp ├── Least common ancestor.cpp ├── Leaves to DLL.cpp ├── Left View of Tree.cpp ├── Leftmost Node and rightmost Node of Binary Tree.cpp ├── Level Order Traversal in spiral form.cpp ├── Level of Node of Binary Tree.cpp ├── Level order traversal in tree.cpp ├── Level order traversal line by line.cpp ├── Longest Consecutive sequence in binary tree.cpp ├── Make Binary Tree from Linked List.cpp ├── Maximum Level Sum In Bianry Tree.cpp ├── Maximum Node Level.cpp ├── Maximum path Sum.cpp ├── Maximum width of tree.cpp ├── Median Of BST.cpp ├── Merge Two BST.cpp ├── Min Depth of Tree.cpp ├── Minimum value of data in tree.cpp ├── Mirror Tree.cpp ├── Number of leaves in tree.cpp ├── Odd Even Level Difference.cpp ├── Perfect Binary Tree.cpp ├── Postorder From Preorder in BST.cpp ├── Print BST in given Range.cpp ├── Print Binary Tree in Vertical Order.cpp ├── Print Common Nodes In BST.cpp ├── Print all nodes without siblings.cpp ├── Reverse Alternate level of perfect Binary Tree.cpp ├── Reverse Level Order Traversal.cpp ├── Right Veiw of Binary Tree .cpp ├── Root to leaf Path.cpp ├── Root to leaf paths sum. check.cpp ├── Root to leaf paths sum.cpp ├── Serialize and Deserialize a Binary Tree.cpp ├── Sum Of right Root Nodes.cpp ├── Sum of K smallest element in BST.cpp ├── Sum of leaf Nodes.cpp ├── Sum of left Root Nodes.cpp ├── Sum of nodes of tree.cpp ├── Sum tree.cpp ├── Symmetric Tree.cpp ├── Top Veiw of Binary Tree.cpp ├── Transform to Sum Tree.cpp ├── Tree from inoder and preorder.cpp ├── Vertical Sum of Tree.cpp ├── Zig Zag Traversal of Tree.cpp ├── check for BST.cpp ├── inorder Sucessor in BST.cpp └── vertical order traversal.cpp ├── Trie.cpp ├── Valentine Sum.cpp ├── Valid Substring.cpp ├── Vertical Traversal of Binary Tree.cpp ├── Word Ladder2.cpp ├── add 2 numbers repreesneted a s linked List.cpp ├── adventure in maze.cpp ├── articulation point-2.cpp ├── avlTree ├── celebrity_problem.cpp ├── check if linked list is palindrome.cpp ├── check if subtree.cpp ├── check tree traversal.cpp ├── circular prime.cpp ├── closest palindrome.cpp ├── contains-Nearby-Duplicate.cpp ├── count occurences of anagram.cpp ├── count total set bits.cpp ├── countPairsWithGivenSum.cpp ├── cows of fooland.cpp ├── dam of candies.cpp ├── detect cycle in undorected graph.cpp ├── doctor strange.cpp ├── elixir of life.cpp ├── encrpyt string-2.cpp ├── factorials of large number.cpp ├── find the kth smallest element in matrix.cpp ├── four elements.cpp ├── get-importance.cpp ├── is_subsequence.cpp ├── kruskals.cpp ├── last index of one.cpp ├── lets play.cpp ├── longestCommonPrefix ├── ls.cpp ├── maxArea ├── median of two sorted array.cpp ├── mergesort ├── minimum number of jumps.cpp ├── mirror tree.cpp ├── most-common-word.cpp ├── n meetings in a room.cpp ├── nth digit of pi.cpp ├── order-of-largest-plus-sign.cpp ├── paranthesis checker.cpp ├── peak-index-in-mountain-array.cpp ├── prims.cpp ├── primsOptimized.cpp ├── priority_queue stl.cpp ├── product_of_array_except_Self.cpp ├── queries in matrix.cpp ├── rangeMinQuerySegmentTree.cpp ├── reverse first k elements of queue.cpp ├── reverse the words of the string.cpp ├── rotten oranges.cpp ├── seven segment display.cpp ├── sort a stack.cpp ├── sort an array of 0 1 2.cpp ├── tree_contains_dead_end.cpp ├── valid pair sum.cpp └── water connection problem.cpp /01 knapsack problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/01 knapsack problem.cpp -------------------------------------------------------------------------------- /Activity Selection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Activity Selection.cpp -------------------------------------------------------------------------------- /Add as linked List numbers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Add as linked List numbers -------------------------------------------------------------------------------- /All Other Topics/0 - 1 Knapsack Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/0 - 1 Knapsack Problem.cpp -------------------------------------------------------------------------------- /All Other Topics/2 dimension world.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/2 dimension world.cpp -------------------------------------------------------------------------------- /All Other Topics/289.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/289.cpp -------------------------------------------------------------------------------- /All Other Topics/3 data structures.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/3 data structures.cpp -------------------------------------------------------------------------------- /All Other Topics/A simple fraction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/A simple fraction.cpp -------------------------------------------------------------------------------- /All Other Topics/Alternate Vowel and Consonant String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Alternate Vowel and Consonant String.cpp -------------------------------------------------------------------------------- /All Other Topics/Amicable Pair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Amicable Pair.cpp -------------------------------------------------------------------------------- /All Other Topics/Amount of Water.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Amount of Water.cpp -------------------------------------------------------------------------------- /All Other Topics/Anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Anagrams.cpp -------------------------------------------------------------------------------- /All Other Topics/Anagrams1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Anagrams1.cpp -------------------------------------------------------------------------------- /All Other Topics/Array Subset of another array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Array Subset of another array.cpp -------------------------------------------------------------------------------- /All Other Topics/BackTracking/Combination Sum-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/BackTracking/Combination Sum-1.cpp -------------------------------------------------------------------------------- /All Other Topics/BackTracking/Rat Maze problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/BackTracking/Rat Maze problem.cpp -------------------------------------------------------------------------------- /All Other Topics/BackTracking/Solve Sudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/BackTracking/Solve Sudoku.cpp -------------------------------------------------------------------------------- /All Other Topics/BackTracking/Sudoku Solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/BackTracking/Sudoku Solver.cpp -------------------------------------------------------------------------------- /All Other Topics/BackTracking/TwoSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/BackTracking/TwoSum.cpp -------------------------------------------------------------------------------- /All Other Topics/Balanced Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Balanced Array.cpp -------------------------------------------------------------------------------- /All Other Topics/Bipartite Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Bipartite Graph.cpp -------------------------------------------------------------------------------- /All Other Topics/Buildings receiving sunlight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Buildings receiving sunlight.cpp -------------------------------------------------------------------------------- /All Other Topics/C++ Matrix Rotation by 180 degree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/C++ Matrix Rotation by 180 degree.cpp -------------------------------------------------------------------------------- /All Other Topics/C++ template.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/C++ template.cpp -------------------------------------------------------------------------------- /All Other Topics/Card Rotation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Card Rotation.cpp -------------------------------------------------------------------------------- /All Other Topics/Case-specific Sorting of Strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Case-specific Sorting of Strings.cpp -------------------------------------------------------------------------------- /All Other Topics/Change all even bits in a number to 0.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Change all even bits in a number to 0.cpp -------------------------------------------------------------------------------- /All Other Topics/Chocolate Distribution Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Chocolate Distribution Problem.cpp -------------------------------------------------------------------------------- /All Other Topics/Chocolate Station.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Chocolate Station.cpp -------------------------------------------------------------------------------- /All Other Topics/Clone a linked list with next and random pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Clone a linked list with next and random pointer.cpp -------------------------------------------------------------------------------- /All Other Topics/Closing bracket index.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Closing bracket index.CPP -------------------------------------------------------------------------------- /All Other Topics/Coins of Geekland.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Coins of Geekland.cpp -------------------------------------------------------------------------------- /All Other Topics/Column name from a given column number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Column name from a given column number.cpp -------------------------------------------------------------------------------- /All Other Topics/Comment in java.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Comment in java.cpp -------------------------------------------------------------------------------- /All Other Topics/Common Subsequence OldP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Common Subsequence OldP.cpp -------------------------------------------------------------------------------- /All Other Topics/Consecutive 1's not allowed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Consecutive 1's not allowed.cpp -------------------------------------------------------------------------------- /All Other Topics/Container with most water.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Container with most water.cpp -------------------------------------------------------------------------------- /All Other Topics/Convert an array to reduced form.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Convert an array to reduced form.cpp -------------------------------------------------------------------------------- /All Other Topics/Count Number of SubTrees having given Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Count Number of SubTrees having given Sum.cpp -------------------------------------------------------------------------------- /All Other Topics/Count Substrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Count Substrings.cpp -------------------------------------------------------------------------------- /All Other Topics/Count pairs with given sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Count pairs with given sum.cpp -------------------------------------------------------------------------------- /All Other Topics/Count the elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Count the elements.cpp -------------------------------------------------------------------------------- /All Other Topics/Counting Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Counting Sort.cpp -------------------------------------------------------------------------------- /All Other Topics/Counting elements in two arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Counting elements in two arrays.cpp -------------------------------------------------------------------------------- /All Other Topics/Crazy Equations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Crazy Equations.cpp -------------------------------------------------------------------------------- /All Other Topics/Create your own Calculator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Create your own Calculator.cpp -------------------------------------------------------------------------------- /All Other Topics/Cycle detection in undirected graph using dfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Cycle detection in undirected graph using dfs.cpp -------------------------------------------------------------------------------- /All Other Topics/Delete a Node in Single Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Delete a Node in Single Linked List.cpp -------------------------------------------------------------------------------- /All Other Topics/Design a tiny URL or URL shortener.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Design a tiny URL or URL shortener.cpp -------------------------------------------------------------------------------- /All Other Topics/Detect Cycle in undirectedGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Detect Cycle in undirectedGraph.cpp -------------------------------------------------------------------------------- /All Other Topics/Digit_multiplier.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Digit_multiplier.cpp -------------------------------------------------------------------------------- /All Other Topics/Dijkstra Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Dijkstra Algorithm.cpp -------------------------------------------------------------------------------- /All Other Topics/Dimensions of Rectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Dimensions of Rectangle.cpp -------------------------------------------------------------------------------- /All Other Topics/Distinct Substrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Distinct Substrings.cpp -------------------------------------------------------------------------------- /All Other Topics/Divisible by 8.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Divisible by 8.cpp -------------------------------------------------------------------------------- /All Other Topics/Dyck Path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Dyck Path.cpp -------------------------------------------------------------------------------- /All Other Topics/Element appearing once.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Element appearing once.cpp -------------------------------------------------------------------------------- /All Other Topics/Equal Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Equal Sum.cpp -------------------------------------------------------------------------------- /All Other Topics/Equillibrium index of array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Equillibrium index of array.cpp -------------------------------------------------------------------------------- /All Other Topics/Equillibrium point.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Equillibrium point.cpp -------------------------------------------------------------------------------- /All Other Topics/Euler Circuit in a Directed Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Euler Circuit in a Directed Graph.cpp -------------------------------------------------------------------------------- /All Other Topics/Excel Sheet - Part - 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Excel Sheet - Part - 2.cpp -------------------------------------------------------------------------------- /All Other Topics/Excel Sheet - Part - 1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Excel Sheet - Part - 1.cpp -------------------------------------------------------------------------------- /All Other Topics/Factorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Factorial.cpp -------------------------------------------------------------------------------- /All Other Topics/Find all four sum numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Find all four sum numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/Find duplicates in an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Find duplicates in an array.cpp -------------------------------------------------------------------------------- /All Other Topics/Find the Highest number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Find the Highest number.cpp -------------------------------------------------------------------------------- /All Other Topics/Find the length of the loop in Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Find the length of the loop in Linked List.cpp -------------------------------------------------------------------------------- /All Other Topics/Find whether path exist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Find whether path exist.cpp -------------------------------------------------------------------------------- /All Other Topics/Find_Position_of_Set_Bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Find_Position_of_Set_Bit.cpp -------------------------------------------------------------------------------- /All Other Topics/Finding Position.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Finding Position.cpp -------------------------------------------------------------------------------- /All Other Topics/First Repeating Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/First Repeating Element.cpp -------------------------------------------------------------------------------- /All Other Topics/First negative integer in every window of size k.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/First negative integer in every window of size k.cpp -------------------------------------------------------------------------------- /All Other Topics/Floor in a Sorted Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Floor in a Sorted Array.cpp -------------------------------------------------------------------------------- /All Other Topics/Floyd Warshalls Algoo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Floyd Warshalls Algoo.cpp -------------------------------------------------------------------------------- /All Other Topics/Form a number divisible by 3 using array digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Form a number divisible by 3 using array digits.cpp -------------------------------------------------------------------------------- /All Other Topics/Form a palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Form a palindrome.cpp -------------------------------------------------------------------------------- /All Other Topics/Frequencies of Limited Range Array Elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Frequencies of Limited Range Array Elements.cpp -------------------------------------------------------------------------------- /All Other Topics/Front to Back.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Front to Back.cpp -------------------------------------------------------------------------------- /All Other Topics/Game of Death in a circle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Game of Death in a circle.cpp -------------------------------------------------------------------------------- /All Other Topics/Game of cells.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Game of cells.cpp -------------------------------------------------------------------------------- /All Other Topics/Geek and his Marks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Geek and his Marks.cpp -------------------------------------------------------------------------------- /All Other Topics/Get minimum element from stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Get minimum element from stack.cpp -------------------------------------------------------------------------------- /All Other Topics/Group Anagrams Together.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Group Anagrams Together.cpp -------------------------------------------------------------------------------- /All Other Topics/Handshakes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Handshakes.cpp -------------------------------------------------------------------------------- /All Other Topics/Happiest Triplets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Happiest Triplets.cpp -------------------------------------------------------------------------------- /All Other Topics/Heap_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Heap_sort.cpp -------------------------------------------------------------------------------- /All Other Topics/Help the Old Man.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Help the Old Man.cpp -------------------------------------------------------------------------------- /All Other Topics/Implement Atoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Implement Atoi.cpp -------------------------------------------------------------------------------- /All Other Topics/In First But Second.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/In First But Second.cpp -------------------------------------------------------------------------------- /All Other Topics/Infix to postfix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Infix to postfix.cpp -------------------------------------------------------------------------------- /All Other Topics/Inversion of array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Inversion of array.cpp -------------------------------------------------------------------------------- /All Other Topics/Inverted triangle of stars.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Inverted triangle of stars.cpp -------------------------------------------------------------------------------- /All Other Topics/Is Binary Number Multiple of 3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Is Binary Number Multiple of 3.cpp -------------------------------------------------------------------------------- /All Other Topics/Is Sudoku Valid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Is Sudoku Valid.cpp -------------------------------------------------------------------------------- /All Other Topics/K-Palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/K-Palindrome.cpp -------------------------------------------------------------------------------- /All Other Topics/Kanade's Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Kanade's Algorithm.cpp -------------------------------------------------------------------------------- /All Other Topics/Knight Walk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Knight Walk.cpp -------------------------------------------------------------------------------- /All Other Topics/Kth element in Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Kth element in Matrix.cpp -------------------------------------------------------------------------------- /All Other Topics/Kth largest element in a stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Kth largest element in a stream.cpp -------------------------------------------------------------------------------- /All Other Topics/LCS of three string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/LCS of three string.cpp -------------------------------------------------------------------------------- /All Other Topics/Large Factorials.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Large Factorials.cpp -------------------------------------------------------------------------------- /All Other Topics/Largest Rectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Largest Rectangle.cpp -------------------------------------------------------------------------------- /All Other Topics/Largest subarray of 0's and 1's.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Largest subarray of 0's and 1's.cpp -------------------------------------------------------------------------------- /All Other Topics/Largest subarray with 0 sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Largest subarray with 0 sum.cpp -------------------------------------------------------------------------------- /All Other Topics/Largest subarrays of 0 and 1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Largest subarrays of 0 and 1.cpp -------------------------------------------------------------------------------- /All Other Topics/Largest_subarray_length_with_contiguous_elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Largest_subarray_length_with_contiguous_elements.cpp -------------------------------------------------------------------------------- /All Other Topics/Learning Macros.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Learning Macros.cpp -------------------------------------------------------------------------------- /All Other Topics/Left out candies.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Left out candies.cpp -------------------------------------------------------------------------------- /All Other Topics/Letters collections.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Letters collections.cpp -------------------------------------------------------------------------------- /All Other Topics/Linked List that is Sorted Alternatingly.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Linked List that is Sorted Alternatingly.cpp -------------------------------------------------------------------------------- /All Other Topics/Longest Array with sum K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Longest Array with sum K.cpp -------------------------------------------------------------------------------- /All Other Topics/Longest Bitonic subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Longest Bitonic subsequence.cpp -------------------------------------------------------------------------------- /All Other Topics/Longest consecutive subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Longest consecutive subsequence.cpp -------------------------------------------------------------------------------- /All Other Topics/Longest distinct chahracter in string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Longest distinct chahracter in string.cpp -------------------------------------------------------------------------------- /All Other Topics/Lucky Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Lucky Numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/MINIMUM ELEMENT FROM STACK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/MINIMUM ELEMENT FROM STACK.cpp -------------------------------------------------------------------------------- /All Other Topics/Majority Element(a).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Majority Element(a).cpp -------------------------------------------------------------------------------- /All Other Topics/Majority Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Majority Element.cpp -------------------------------------------------------------------------------- /All Other Topics/Make Matrix Beautiful.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Make Matrix Beautiful.cpp -------------------------------------------------------------------------------- /All Other Topics/Match specific pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Match specific pattern.cpp -------------------------------------------------------------------------------- /All Other Topics/Max sum in the configuration.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Max sum in the configuration.cpp -------------------------------------------------------------------------------- /All Other Topics/Max sum path in two arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Max sum path in two arrays.cpp -------------------------------------------------------------------------------- /All Other Topics/Max value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Max value.cpp -------------------------------------------------------------------------------- /All Other Topics/Max_heap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Max_heap.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximize Dot Product.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximize Dot Product.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximize The Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximize The Array.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum Difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum Difference.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum Gap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum Gap.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum Happiness.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum Happiness.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum Intervals Overlap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum Intervals Overlap.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum Rectangular Area in a Histogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum Rectangular Area in a Histogram.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum bitonic subarray sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum bitonic subarray sum.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum height of the staircase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum height of the staircase.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum money.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum money.cpp -------------------------------------------------------------------------------- /All Other Topics/Maximum of all subarrays of size k.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Maximum of all subarrays of size k.cpp -------------------------------------------------------------------------------- /All Other Topics/Median in a row-wise sorted Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Median in a row-wise sorted Matrix.cpp -------------------------------------------------------------------------------- /All Other Topics/Merge two strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Merge two strings.cpp -------------------------------------------------------------------------------- /All Other Topics/Min Heap implementation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Min Heap implementation.cpp -------------------------------------------------------------------------------- /All Other Topics/Min Subsets with Consecutive Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Min Subsets with Consecutive Numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/Minimum Cost of ropes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Minimum Cost of ropes.cpp -------------------------------------------------------------------------------- /All Other Topics/Minimum changes to make all substrings distinct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Minimum changes to make all substrings distinct.cpp -------------------------------------------------------------------------------- /All Other Topics/Minimum indexed character.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Minimum indexed character.cpp -------------------------------------------------------------------------------- /All Other Topics/Minimum number of elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Minimum number of elements.cpp -------------------------------------------------------------------------------- /All Other Topics/Money Distributions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Money Distributions.cpp -------------------------------------------------------------------------------- /All Other Topics/Multimap operations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Multimap operations.cpp -------------------------------------------------------------------------------- /All Other Topics/N Queen Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/N Queen Problem.cpp -------------------------------------------------------------------------------- /All Other Topics/N Queens Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/N Queens Problem.cpp -------------------------------------------------------------------------------- /All Other Topics/NUmber of pairs .cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/NUmber of pairs .cpp -------------------------------------------------------------------------------- /All Other Topics/Nearly sorted Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Nearly sorted Algorithm.cpp -------------------------------------------------------------------------------- /All Other Topics/Next Smallest Palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Next Smallest Palindrome.cpp -------------------------------------------------------------------------------- /All Other Topics/Next in Series.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Next in Series.cpp -------------------------------------------------------------------------------- /All Other Topics/Next larger element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Next larger element.cpp -------------------------------------------------------------------------------- /All Other Topics/Non Repeating Character.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Non Repeating Character.cpp -------------------------------------------------------------------------------- /All Other Topics/Non-Repeating Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Non-Repeating Element.cpp -------------------------------------------------------------------------------- /All Other Topics/Nth Catalan Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Nth Catalan Number.cpp -------------------------------------------------------------------------------- /All Other Topics/Number following a pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Number following a pattern.cpp -------------------------------------------------------------------------------- /All Other Topics/Number of Connected Components.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Number of Connected Components.cpp -------------------------------------------------------------------------------- /All Other Topics/Number of Unique Paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Number of Unique Paths.cpp -------------------------------------------------------------------------------- /All Other Topics/Number of factors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Number of factors.cpp -------------------------------------------------------------------------------- /All Other Topics/Numbers with alternative 1's.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Numbers with alternative 1's.cpp -------------------------------------------------------------------------------- /All Other Topics/Nuts and Bolts Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Nuts and Bolts Problem.cpp -------------------------------------------------------------------------------- /All Other Topics/Occurence of 2 as a digit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Occurence of 2 as a digit.cpp -------------------------------------------------------------------------------- /All Other Topics/Palindrome Sentence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Palindrome Sentence.cpp -------------------------------------------------------------------------------- /All Other Topics/Palindrome numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Palindrome numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/Pangram Checking.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Pangram Checking.cpp -------------------------------------------------------------------------------- /All Other Topics/Paranthesis Check.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Paranthesis Check.cpp -------------------------------------------------------------------------------- /All Other Topics/Path of greater than equal to k length.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Path of greater than equal to k length.cpp -------------------------------------------------------------------------------- /All Other Topics/Pattern Jumping.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Pattern Jumping.cpp -------------------------------------------------------------------------------- /All Other Topics/Pattern searching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Pattern searching.cpp -------------------------------------------------------------------------------- /All Other Topics/Permutation of string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Permutation of string.cpp -------------------------------------------------------------------------------- /All Other Topics/Platform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Platform.cpp -------------------------------------------------------------------------------- /All Other Topics/Points in Straight Line.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Points in Straight Line.cpp -------------------------------------------------------------------------------- /All Other Topics/Possible paths between 2 vertices.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Possible paths between 2 vertices.cpp -------------------------------------------------------------------------------- /All Other Topics/Power of 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Power of 2.cpp -------------------------------------------------------------------------------- /All Other Topics/Power of number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Power of number.cpp -------------------------------------------------------------------------------- /All Other Topics/Prime Factors and their Powers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Prime Factors and their Powers.cpp -------------------------------------------------------------------------------- /All Other Topics/Print Diagonally.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Print Diagonally.cpp -------------------------------------------------------------------------------- /All Other Topics/Print Pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Print Pattern.cpp -------------------------------------------------------------------------------- /All Other Topics/Print first letter of every word in the string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Print first letter of every word in the string.cpp -------------------------------------------------------------------------------- /All Other Topics/Print permutation of all the strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Print permutation of all the strings.cpp -------------------------------------------------------------------------------- /All Other Topics/Queue Operations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Queue Operations.cpp -------------------------------------------------------------------------------- /All Other Topics/Queue Push & Pop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Queue Push & Pop.cpp -------------------------------------------------------------------------------- /All Other Topics/Rat in a maze.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rat in a maze.cpp -------------------------------------------------------------------------------- /All Other Topics/Rearrange Array Alternatively(a).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rearrange Array Alternatively(a).cpp -------------------------------------------------------------------------------- /All Other Topics/Rearrange Array Alternatively.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rearrange Array Alternatively.cpp -------------------------------------------------------------------------------- /All Other Topics/Rearrange a string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rearrange a string.cpp -------------------------------------------------------------------------------- /All Other Topics/Rearrange an array with O(1) extra space(a).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rearrange an array with O(1) extra space(a).cpp -------------------------------------------------------------------------------- /All Other Topics/Rearrange an array with O(1) extra space.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rearrange an array with O(1) extra space.cpp -------------------------------------------------------------------------------- /All Other Topics/Rearrange characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rearrange characters.cpp -------------------------------------------------------------------------------- /All Other Topics/Rectangles in Board.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rectangles in Board.cpp -------------------------------------------------------------------------------- /All Other Topics/Relative Sorting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Relative Sorting.cpp -------------------------------------------------------------------------------- /All Other Topics/Remove all duplicates from a given string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Remove all duplicates from a given string.cpp -------------------------------------------------------------------------------- /All Other Topics/Remove duplicates in small prime array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Remove duplicates in small prime array.cpp -------------------------------------------------------------------------------- /All Other Topics/Remove duplicates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Remove duplicates.cpp -------------------------------------------------------------------------------- /All Other Topics/Reorder List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Reorder List.cpp -------------------------------------------------------------------------------- /All Other Topics/Repeated Character.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Repeated Character.cpp -------------------------------------------------------------------------------- /All Other Topics/Replace a word.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Replace a word.cpp -------------------------------------------------------------------------------- /All Other Topics/Return two prime numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Return two prime numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/Reverse Double Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Reverse Double Linked List.cpp -------------------------------------------------------------------------------- /All Other Topics/Reverse First K elements of Queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Reverse First K elements of Queue.cpp -------------------------------------------------------------------------------- /All Other Topics/Reverse Spiral Form of Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Reverse Spiral Form of Matrix.cpp -------------------------------------------------------------------------------- /All Other Topics/Reverse vowels in a given string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Reverse vowels in a given string.cpp -------------------------------------------------------------------------------- /All Other Topics/Reverse words in a given string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Reverse words in a given string.cpp -------------------------------------------------------------------------------- /All Other Topics/Reverse wordsin string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Reverse wordsin string.cpp -------------------------------------------------------------------------------- /All Other Topics/Roman to decimal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Roman to decimal.cpp -------------------------------------------------------------------------------- /All Other Topics/Rotate a 2D array without using extra space.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rotate a 2D array without using extra space.cpp -------------------------------------------------------------------------------- /All Other Topics/Rotate by 90 degree without extra space.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rotate by 90 degree without extra space.cpp -------------------------------------------------------------------------------- /All Other Topics/Rotated_Sorted Array Search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rotated_Sorted Array Search.cpp -------------------------------------------------------------------------------- /All Other Topics/Rotation of matrix by 90.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rotation of matrix by 90.cpp -------------------------------------------------------------------------------- /All Other Topics/Rulling Pair1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rulling Pair1.cpp -------------------------------------------------------------------------------- /All Other Topics/Rulling pair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Rulling pair.cpp -------------------------------------------------------------------------------- /All Other Topics/Search in a Rotated Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Search in a Rotated Array.cpp -------------------------------------------------------------------------------- /All Other Topics/Second most repeated string in a sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Second most repeated string in a sequence.cpp -------------------------------------------------------------------------------- /All Other Topics/Segregate 0s and 1s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Segregate 0s and 1s.cpp -------------------------------------------------------------------------------- /All Other Topics/Set all the bits in given range of a number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Set all the bits in given range of a number.cpp -------------------------------------------------------------------------------- /All Other Topics/Shortest Source to Destination Path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Shortest Source to Destination Path.cpp -------------------------------------------------------------------------------- /All Other Topics/Single Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Single Number.cpp -------------------------------------------------------------------------------- /All Other Topics/Smallest Positive missing number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Smallest Positive missing number.cpp -------------------------------------------------------------------------------- /All Other Topics/Smallest number on left.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Smallest number on left.cpp -------------------------------------------------------------------------------- /All Other Topics/Snake and Ladder Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Snake and Ladder Problem.cpp -------------------------------------------------------------------------------- /All Other Topics/Sort a nearly sorted Array( K sorted Array).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sort a nearly sorted Array( K sorted Array).cpp -------------------------------------------------------------------------------- /All Other Topics/Sort a stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sort a stack.cpp -------------------------------------------------------------------------------- /All Other Topics/Sort an array of 0s, 1s and 2s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sort an array of 0s, 1s and 2s.cpp -------------------------------------------------------------------------------- /All Other Topics/Sort and Reverse Vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sort and Reverse Vector.cpp -------------------------------------------------------------------------------- /All Other Topics/Sort element of array according to the frequency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sort element of array according to the frequency.cpp -------------------------------------------------------------------------------- /All Other Topics/Sorted subsequence of size 3 - Copy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sorted subsequence of size 3 - Copy.cpp -------------------------------------------------------------------------------- /All Other Topics/Sorted subsequence of size 3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sorted subsequence of size 3.cpp -------------------------------------------------------------------------------- /All Other Topics/Sorting Elements of an Array by Frequency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sorting Elements of an Array by Frequency.cpp -------------------------------------------------------------------------------- /All Other Topics/Stack using two queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Stack using two queue.cpp -------------------------------------------------------------------------------- /All Other Topics/Stepping Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Stepping Numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/Steps by Knight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Steps by Knight.cpp -------------------------------------------------------------------------------- /All Other Topics/Stock buy and sell.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Stock buy and sell.cpp -------------------------------------------------------------------------------- /All Other Topics/Stock span problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Stock span problem.cpp -------------------------------------------------------------------------------- /All Other Topics/Strongly connected component (Tarjans's Algo).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Strongly connected component (Tarjans's Algo).cpp -------------------------------------------------------------------------------- /All Other Topics/Subarrays with equal 1s and 0s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Subarrays with equal 1s and 0s.cpp -------------------------------------------------------------------------------- /All Other Topics/Subarrays with sum K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Subarrays with sum K.cpp -------------------------------------------------------------------------------- /All Other Topics/Subset Sum Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Subset Sum Problem.cpp -------------------------------------------------------------------------------- /All Other Topics/Sum of Lengths of Non-Overlapping SubArrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sum of Lengths of Non-Overlapping SubArrays.cpp -------------------------------------------------------------------------------- /All Other Topics/Sum of Query II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sum of Query II.cpp -------------------------------------------------------------------------------- /All Other Topics/Sum of product of all pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sum of product of all pairs.cpp -------------------------------------------------------------------------------- /All Other Topics/Sum of subset differences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Sum of subset differences.cpp -------------------------------------------------------------------------------- /All Other Topics/Swap Kth nodes from ends.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Swap Kth nodes from ends.cpp -------------------------------------------------------------------------------- /All Other Topics/Swap all even and odd bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Swap all even and odd bits.cpp -------------------------------------------------------------------------------- /All Other Topics/Swapping pairs make sum equal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Swapping pairs make sum equal.cpp -------------------------------------------------------------------------------- /All Other Topics/The Celebrity Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/The Celebrity Problem.cpp -------------------------------------------------------------------------------- /All Other Topics/The Tiny Miny.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/The Tiny Miny.cpp -------------------------------------------------------------------------------- /All Other Topics/The new line c++.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/The new line c++.cpp -------------------------------------------------------------------------------- /All Other Topics/Three way partitioning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Three way partitioning.cpp -------------------------------------------------------------------------------- /All Other Topics/To check if two arrays are equal or not.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/To check if two arrays are equal or not.cpp -------------------------------------------------------------------------------- /All Other Topics/Top k numbers in a stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Top k numbers in a stream.cpp -------------------------------------------------------------------------------- /All Other Topics/Topological Sorting using Khans algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Topological Sorting using Khans algo.cpp -------------------------------------------------------------------------------- /All Other Topics/Topological Sorting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Topological Sorting.cpp -------------------------------------------------------------------------------- /All Other Topics/Total Decoding Messages.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Total Decoding Messages.cpp -------------------------------------------------------------------------------- /All Other Topics/Trapping Rain Water.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Trapping Rain Water.cpp -------------------------------------------------------------------------------- /All Other Topics/Ugly Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Ugly Numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/Union of Two Sorted Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Union of Two Sorted Arrays.cpp -------------------------------------------------------------------------------- /All Other Topics/Union-Find.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Union-Find.cpp -------------------------------------------------------------------------------- /All Other Topics/Water Overflow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Water Overflow.cpp -------------------------------------------------------------------------------- /All Other Topics/Winner of an election.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Winner of an election.cpp -------------------------------------------------------------------------------- /All Other Topics/Xoring and Clearing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Xoring and Clearing.cpp -------------------------------------------------------------------------------- /All Other Topics/Yes XOR No.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/Yes XOR No.cpp -------------------------------------------------------------------------------- /All Other Topics/bfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/bfs.cpp -------------------------------------------------------------------------------- /All Other Topics/big integer multiply.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/big integer multiply.java -------------------------------------------------------------------------------- /All Other Topics/bitwise operator c++.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/bitwise operator c++.cpp -------------------------------------------------------------------------------- /All Other Topics/bitwise operator java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/bitwise operator java.java -------------------------------------------------------------------------------- /All Other Topics/break into three.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/break into three.cpp -------------------------------------------------------------------------------- /All Other Topics/c++ friend fucntion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/c++ friend fucntion.cpp -------------------------------------------------------------------------------- /All Other Topics/c++ multilevel inheritance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/c++ multilevel inheritance.cpp -------------------------------------------------------------------------------- /All Other Topics/change bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/change bits.cpp -------------------------------------------------------------------------------- /All Other Topics/check id number is baalnced.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/check id number is baalnced.cpp -------------------------------------------------------------------------------- /All Other Topics/check if string is rotated.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/check if string is rotated.cpp -------------------------------------------------------------------------------- /All Other Topics/check st bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/check st bits.cpp -------------------------------------------------------------------------------- /All Other Topics/chinky and daimonds.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/chinky and daimonds.cpp -------------------------------------------------------------------------------- /All Other Topics/circular tour.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/circular tour.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-continuous-series2058-0.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-continuous-series2058-0.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-cousins-in-tree-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-cousins-in-tree-1.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-distorted-needle-in-haystack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-distorted-needle-in-haystack.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-equal-distribution-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-equal-distribution-1.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-lazy-kid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-lazy-kid.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-lcp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-lcp.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-m-and-n.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-m-and-n.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-mandatory-flip-bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-mandatory-flip-bit.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-maximum-selections.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-maximum-selections.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-number-of-sweets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-number-of-sweets.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-perfect-pair-sum-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-perfect-pair-sum-1.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-pruning-a-tree702339-1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-pruning-a-tree702339-1.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-stayhometask.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-stayhometask.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-sum-of-xor-of-all-sub-arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-sum-of-xor-of-all-sub-arrays.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-tower-construction1225-0.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-tower-construction1225-0.cpp -------------------------------------------------------------------------------- /All Other Topics/contest-problem-triangle-and-square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/contest-problem-triangle-and-square.cpp -------------------------------------------------------------------------------- /All Other Topics/counbt zero xor pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/counbt zero xor pairs.cpp -------------------------------------------------------------------------------- /All Other Topics/count odd even.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/count odd even.cpp -------------------------------------------------------------------------------- /All Other Topics/count the occurence of anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/count the occurence of anagrams.cpp -------------------------------------------------------------------------------- /All Other Topics/data types.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/data types.cpp -------------------------------------------------------------------------------- /All Other Topics/edit distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/edit distance.cpp -------------------------------------------------------------------------------- /All Other Topics/equal 0 1 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/equal 0 1 2.cpp -------------------------------------------------------------------------------- /All Other Topics/even odd java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/even odd java.java -------------------------------------------------------------------------------- /All Other Topics/examination papers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/examination papers.cpp -------------------------------------------------------------------------------- /All Other Topics/find maximum number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/find maximum number.cpp -------------------------------------------------------------------------------- /All Other Topics/find prime ina a range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/find prime ina a range.cpp -------------------------------------------------------------------------------- /All Other Topics/first Non repeating character in stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/first Non repeating character in stream.cpp -------------------------------------------------------------------------------- /All Other Topics/four elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/four elements.cpp -------------------------------------------------------------------------------- /All Other Topics/geekonacy numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/geekonacy numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/geeks and contest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/geeks and contest.cpp -------------------------------------------------------------------------------- /All Other Topics/generic sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/generic sort.cpp -------------------------------------------------------------------------------- /All Other Topics/good pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/good pairs.cpp -------------------------------------------------------------------------------- /All Other Topics/integral root.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/integral root.cpp -------------------------------------------------------------------------------- /All Other Topics/kth LSB .cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/kth LSB .cpp -------------------------------------------------------------------------------- /All Other Topics/largest smaller in left.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/largest smaller in left.cpp -------------------------------------------------------------------------------- /All Other Topics/last index of one solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/last index of one solution.cpp -------------------------------------------------------------------------------- /All Other Topics/leaders in Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/leaders in Array.cpp -------------------------------------------------------------------------------- /All Other Topics/learning to be precise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/learning to be precise.cpp -------------------------------------------------------------------------------- /All Other Topics/linked List of string form a palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/linked List of string form a palindrome.cpp -------------------------------------------------------------------------------- /All Other Topics/logical Operators - Java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/logical Operators - Java.java -------------------------------------------------------------------------------- /All Other Topics/longest common prefix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/longest common prefix.cpp -------------------------------------------------------------------------------- /All Other Topics/look and say.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/look and say.cpp -------------------------------------------------------------------------------- /All Other Topics/magic in c++.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/magic in c++.cpp -------------------------------------------------------------------------------- /All Other Topics/marks of pcm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/marks of pcm.cpp -------------------------------------------------------------------------------- /All Other Topics/matrix interchange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/matrix interchange.cpp -------------------------------------------------------------------------------- /All Other Topics/matrix problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/matrix problem.cpp -------------------------------------------------------------------------------- /All Other Topics/max distance beetween same elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/max distance beetween same elements.cpp -------------------------------------------------------------------------------- /All Other Topics/merge two unsorted array into a sorted array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/merge two unsorted array into a sorted array.cpp -------------------------------------------------------------------------------- /All Other Topics/meta strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/meta strings.cpp -------------------------------------------------------------------------------- /All Other Topics/missing number in an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/missing number in an array.cpp -------------------------------------------------------------------------------- /All Other Topics/nCr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/nCr.cpp -------------------------------------------------------------------------------- /All Other Topics/nth fibonacci number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/nth fibonacci number.cpp -------------------------------------------------------------------------------- /All Other Topics/nth natural number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/nth natural number.cpp -------------------------------------------------------------------------------- /All Other Topics/pair sum in vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/pair sum in vector.cpp -------------------------------------------------------------------------------- /All Other Topics/palindrome array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/palindrome array.cpp -------------------------------------------------------------------------------- /All Other Topics/palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/palindrome.cpp -------------------------------------------------------------------------------- /All Other Topics/paranthesis checker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/paranthesis checker.cpp -------------------------------------------------------------------------------- /All Other Topics/print unique subset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/print unique subset.cpp -------------------------------------------------------------------------------- /All Other Topics/queue using two stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/queue using two stack.cpp -------------------------------------------------------------------------------- /All Other Topics/red or green.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/red or green.cpp -------------------------------------------------------------------------------- /All Other Topics/remove bc and a.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/remove bc and a.cpp -------------------------------------------------------------------------------- /All Other Topics/reverse an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/reverse an array.cpp -------------------------------------------------------------------------------- /All Other Topics/reverse bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/reverse bits.cpp -------------------------------------------------------------------------------- /All Other Topics/reverse string usinga stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/reverse string usinga stack.cpp -------------------------------------------------------------------------------- /All Other Topics/rotten oranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/rotten oranges.cpp -------------------------------------------------------------------------------- /All Other Topics/search in row and column sorted matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/search in row and column sorted matrix.cpp -------------------------------------------------------------------------------- /All Other Topics/smallest-positive-missing-number-0.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/smallest-positive-missing-number-0.cpp -------------------------------------------------------------------------------- /All Other Topics/sort an Array of 0 1 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/sort an Array of 0 1 2.cpp -------------------------------------------------------------------------------- /All Other Topics/special stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/special stack.cpp -------------------------------------------------------------------------------- /All Other Topics/stack using two queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/stack using two queue.cpp -------------------------------------------------------------------------------- /All Other Topics/start coding java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/start coding java.java -------------------------------------------------------------------------------- /All Other Topics/stickler thief.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/stickler thief.cpp -------------------------------------------------------------------------------- /All Other Topics/strong numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/strong numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/strstr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/strstr.cpp -------------------------------------------------------------------------------- /All Other Topics/subarray with sum as 0.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/subarray with sum as 0.cpp -------------------------------------------------------------------------------- /All Other Topics/subarray with sum as zero.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/subarray with sum as zero.cpp -------------------------------------------------------------------------------- /All Other Topics/subsets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/subsets.cpp -------------------------------------------------------------------------------- /All Other Topics/subtraction and two numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/subtraction and two numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/sum of array elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/sum of array elements.cpp -------------------------------------------------------------------------------- /All Other Topics/sum of bigintegers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/sum of bigintegers.java -------------------------------------------------------------------------------- /All Other Topics/sum of leaves in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/sum of leaves in BST.cpp -------------------------------------------------------------------------------- /All Other Topics/taking input.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/taking input.cpp -------------------------------------------------------------------------------- /All Other Topics/the new line java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/the new line java.java -------------------------------------------------------------------------------- /All Other Topics/tom and jerry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/tom and jerry.cpp -------------------------------------------------------------------------------- /All Other Topics/top k frequent element in an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/top k frequent element in an array.cpp -------------------------------------------------------------------------------- /All Other Topics/total number of strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/total number of strings.cpp -------------------------------------------------------------------------------- /All Other Topics/twice counter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/twice counter.cpp -------------------------------------------------------------------------------- /All Other Topics/unique numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/unique numbers.cpp -------------------------------------------------------------------------------- /All Other Topics/wave array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/wave array.cpp -------------------------------------------------------------------------------- /All Other Topics/while loop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/while loop.cpp -------------------------------------------------------------------------------- /All Other Topics/word break part2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/word break part2.cpp -------------------------------------------------------------------------------- /All Other Topics/xoring and clearing java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/xoring and clearing java.java -------------------------------------------------------------------------------- /All Other Topics/zero sum subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All Other Topics/zero sum subarray.cpp -------------------------------------------------------------------------------- /All unique permutations of an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/All unique permutations of an array.cpp -------------------------------------------------------------------------------- /Anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Anagrams.cpp -------------------------------------------------------------------------------- /ArmStrongNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/ArmStrongNumber.cpp -------------------------------------------------------------------------------- /Array Subset of another array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Array Subset of another array.cpp -------------------------------------------------------------------------------- /Binary Heap Operations: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Binary Heap Operations -------------------------------------------------------------------------------- /Binary Heap Operations.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Binary Heap Operations.CPP -------------------------------------------------------------------------------- /Binary-heap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Binary-heap -------------------------------------------------------------------------------- /Bleak Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Bleak Numbers.cpp -------------------------------------------------------------------------------- /Bridge edge in a graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Bridge edge in a graph.cpp -------------------------------------------------------------------------------- /Construct expression tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Construct expression tree.cpp -------------------------------------------------------------------------------- /Count the Reversals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Count the Reversals.cpp -------------------------------------------------------------------------------- /Count the number of subarrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Count the number of subarrays.cpp -------------------------------------------------------------------------------- /Count triplets with sum smaller than X.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Count triplets with sum smaller than X.cpp -------------------------------------------------------------------------------- /DP/0 - 1 Knapsack Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/0 - 1 Knapsack Problem.cpp -------------------------------------------------------------------------------- /DP/2 -N tile proble.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/2 -N tile proble.cpp -------------------------------------------------------------------------------- /DP/Box Stacking.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Box Stacking.cpp -------------------------------------------------------------------------------- /DP/Coin Change.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Coin Change.cpp -------------------------------------------------------------------------------- /DP/Consecutive 1's not allowed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Consecutive 1's not allowed.cpp -------------------------------------------------------------------------------- /DP/Count Palindrome Sub-Strings of a String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Count Palindrome Sub-Strings of a String.cpp -------------------------------------------------------------------------------- /DP/Count of Palindromic substrings in an Index range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Count of Palindromic substrings in an Index range.cpp -------------------------------------------------------------------------------- /DP/Count subsequences of type a^i b^j c^k.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Count subsequences of type a^i b^j c^k.cpp -------------------------------------------------------------------------------- /DP/Count ways to N'th Stair(Order does not matter).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Count ways to N'th Stair(Order does not matter).cpp -------------------------------------------------------------------------------- /DP/Count ways to reach the n'th stair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Count ways to reach the n'th stair.cpp -------------------------------------------------------------------------------- /DP/Cutting Rod Problem DP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Cutting Rod Problem DP.cpp -------------------------------------------------------------------------------- /DP/Distinct occurrences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Distinct occurrences.cpp -------------------------------------------------------------------------------- /DP/Find if string is K-Palindrome or not.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Find if string is K-Palindrome or not.cpp -------------------------------------------------------------------------------- /DP/Find number of times a string occurs as a subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Find number of times a string occurs as a subsequence.cpp -------------------------------------------------------------------------------- /DP/Form a palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Form a palindrome.cpp -------------------------------------------------------------------------------- /DP/Geeky Year.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Geeky Year.cpp -------------------------------------------------------------------------------- /DP/Get Minimum Squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Get Minimum Squares.cpp -------------------------------------------------------------------------------- /DP/Gold Mine Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Gold Mine Problem.cpp -------------------------------------------------------------------------------- /DP/High-effort vs. Low-effort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/High-effort vs. Low-effort.cpp -------------------------------------------------------------------------------- /DP/Interleaved Strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Interleaved Strings.cpp -------------------------------------------------------------------------------- /DP/K-Palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/K-Palindrome.cpp -------------------------------------------------------------------------------- /DP/Largest square formed in a matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Largest square formed in a matrix.cpp -------------------------------------------------------------------------------- /DP/Left Corner To Right corner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Left Corner To Right corner.cpp -------------------------------------------------------------------------------- /DP/Longest Bitonic subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Longest Bitonic subsequence.cpp -------------------------------------------------------------------------------- /DP/Longest Common Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Longest Common Subsequence.cpp -------------------------------------------------------------------------------- /DP/Longest Common Substring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Longest Common Substring.cpp -------------------------------------------------------------------------------- /DP/Longest Increasing subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Longest Increasing subsequence.cpp -------------------------------------------------------------------------------- /DP/Longest Palindrome in a String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Longest Palindrome in a String.cpp -------------------------------------------------------------------------------- /DP/Longest Palindromic Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Longest Palindromic Subsequence.cpp -------------------------------------------------------------------------------- /DP/Longest Repeating Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Longest Repeating Subsequence.cpp -------------------------------------------------------------------------------- /DP/Lucas Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Lucas Number.cpp -------------------------------------------------------------------------------- /DP/Matrix Chain Multiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Matrix Chain Multiplication.cpp -------------------------------------------------------------------------------- /DP/Max Circular Subarray Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Max Circular Subarray Sum.cpp -------------------------------------------------------------------------------- /DP/Max possible amount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Max possible amount.cpp -------------------------------------------------------------------------------- /DP/Maximize Dot Product.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Maximize Dot Product.cpp -------------------------------------------------------------------------------- /DP/Maximum Product Cutting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Maximum Product Cutting.cpp -------------------------------------------------------------------------------- /DP/Maximum sum Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Maximum sum Problem.cpp -------------------------------------------------------------------------------- /DP/Maximum sum increasing subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Maximum sum increasing subsequence.cpp -------------------------------------------------------------------------------- /DP/MinJumpsToEnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/MinJumpsToEnd.cpp -------------------------------------------------------------------------------- /DP/Minimal moves to form a string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Minimal moves to form a string.cpp -------------------------------------------------------------------------------- /DP/Minimum Deletions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Minimum Deletions.cpp -------------------------------------------------------------------------------- /DP/Minimum Sum Partition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Minimum Sum Partition.cpp -------------------------------------------------------------------------------- /DP/Minimum number of jumps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Minimum number of jumps.cpp -------------------------------------------------------------------------------- /DP/Nth catalan number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Nth catalan number.cpp -------------------------------------------------------------------------------- /DP/Number of Coins.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Number of Coins.cpp -------------------------------------------------------------------------------- /DP/Number of Unique Paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Number of Unique Paths.cpp -------------------------------------------------------------------------------- /DP/Number of ways.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Number of ways.cpp -------------------------------------------------------------------------------- /DP/Optimal walk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Optimal walk.cpp -------------------------------------------------------------------------------- /DP/Partition Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Partition Problem.cpp -------------------------------------------------------------------------------- /DP/Path in Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Path in Matrix.cpp -------------------------------------------------------------------------------- /DP/Paths to reach origin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Paths to reach origin.cpp -------------------------------------------------------------------------------- /DP/Perfect Sum Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Perfect Sum Problem.cpp -------------------------------------------------------------------------------- /DP/Reach A Given Score.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Reach A Given Score.cpp -------------------------------------------------------------------------------- /DP/Reach the Nth point.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Reach the Nth point.cpp -------------------------------------------------------------------------------- /DP/Rod Cutting Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Rod Cutting Problem.cpp -------------------------------------------------------------------------------- /DP/Shortest Common Supersequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Shortest Common Supersequence.cpp -------------------------------------------------------------------------------- /DP/Special Keyboard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Special Keyboard.cpp -------------------------------------------------------------------------------- /DP/Special Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Special Matrix.cpp -------------------------------------------------------------------------------- /DP/Special Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Special Numbers.cpp -------------------------------------------------------------------------------- /DP/Stickler Theif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Stickler Theif.cpp -------------------------------------------------------------------------------- /DP/Stickler Thief.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Stickler Thief.cpp -------------------------------------------------------------------------------- /DP/Subset Sum Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Subset Sum Problem.cpp -------------------------------------------------------------------------------- /DP/Total Decoding Messages.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Total Decoding Messages.cpp -------------------------------------------------------------------------------- /DP/Two water Jug problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Two water Jug problem.cpp -------------------------------------------------------------------------------- /DP/Water Overflow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Water Overflow.cpp -------------------------------------------------------------------------------- /DP/Ways to sum to N.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Ways to sum to N.cpp -------------------------------------------------------------------------------- /DP/Wildcard Pattern Matching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/Wildcard Pattern Matching.cpp -------------------------------------------------------------------------------- /DP/count number of hops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/count number of hops.cpp -------------------------------------------------------------------------------- /DP/edit distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/edit distance.cpp -------------------------------------------------------------------------------- /DP/nthuglyno.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/DP/nthuglyno.cpp -------------------------------------------------------------------------------- /Delete a node from BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Delete a node from BST.cpp -------------------------------------------------------------------------------- /Division without using multiplication, division and mod operator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Division without using multiplication, division and mod operator.cpp -------------------------------------------------------------------------------- /Edit Distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Edit Distance.cpp -------------------------------------------------------------------------------- /Evaluation of Postfix Expression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Evaluation of Postfix Expression.cpp -------------------------------------------------------------------------------- /Finding middle element in a linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Finding middle element in a linked list.cpp -------------------------------------------------------------------------------- /First negative integer in every window of size k.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/First negative integer in every window of size k.cpp -------------------------------------------------------------------------------- /GCC Contest/Continuous Series.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/GCC Contest/Continuous Series.cpp -------------------------------------------------------------------------------- /GCC Contest/GCC question.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/GCC Contest/GCC question.cpp -------------------------------------------------------------------------------- /GCC Contest/Special Primes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/GCC Contest/Special Primes.cpp -------------------------------------------------------------------------------- /GCC Contest/The Manipulator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/GCC Contest/The Manipulator.cpp -------------------------------------------------------------------------------- /Graph/Alien Dictionary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Alien Dictionary.cpp -------------------------------------------------------------------------------- /Graph/BFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/BFS.cpp -------------------------------------------------------------------------------- /Graph/Bipartite Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Bipartite Graph.cpp -------------------------------------------------------------------------------- /Graph/Count the paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Count the paths.cpp -------------------------------------------------------------------------------- /Graph/DFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/DFS.cpp -------------------------------------------------------------------------------- /Graph/Detect Cycle in undirectedGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Detect Cycle in undirectedGraph.cpp -------------------------------------------------------------------------------- /Graph/Dfs using recursion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Dfs using recursion.cpp -------------------------------------------------------------------------------- /Graph/Euler Circuit in a Directed Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Euler Circuit in a Directed Graph.cpp -------------------------------------------------------------------------------- /Graph/Eulerian Path in an Undirected Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Eulerian Path in an Undirected Graph.cpp -------------------------------------------------------------------------------- /Graph/Find Number of Islands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Find Number of Islands.cpp -------------------------------------------------------------------------------- /Graph/Find whether path exist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Find whether path exist.cpp -------------------------------------------------------------------------------- /Graph/Floyd Warshalls Algoo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Floyd Warshalls Algoo.cpp -------------------------------------------------------------------------------- /Graph/How to determine the level of each node in the given tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/How to determine the level of each node in the given tree.cpp -------------------------------------------------------------------------------- /Graph/Knight Walk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Knight Walk.cpp -------------------------------------------------------------------------------- /Graph/New Text Document.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/New Text Document.txt -------------------------------------------------------------------------------- /Graph/Number of path from onr vertex to other vertex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Number of path from onr vertex to other vertex.cpp -------------------------------------------------------------------------------- /Graph/Peterson Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Peterson Graph.cpp -------------------------------------------------------------------------------- /Graph/Possible paths between 2 vertices.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Possible paths between 2 vertices.cpp -------------------------------------------------------------------------------- /Graph/Print Adjacency List(a).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Print Adjacency List(a).cpp -------------------------------------------------------------------------------- /Graph/Print Adjacency List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Print Adjacency List.cpp -------------------------------------------------------------------------------- /Graph/Print adjacency listgfg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Print adjacency listgfg.cpp -------------------------------------------------------------------------------- /Graph/Rotten Oranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Rotten Oranges.cpp -------------------------------------------------------------------------------- /Graph/RottenOranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/RottenOranges.cpp -------------------------------------------------------------------------------- /Graph/Shortest Source to Destination Path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Shortest Source to Destination Path.cpp -------------------------------------------------------------------------------- /Graph/Shortest path from 1 to n.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Shortest path from 1 to n.cpp -------------------------------------------------------------------------------- /Graph/Snake and Ladder Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Snake and Ladder Problem.cpp -------------------------------------------------------------------------------- /Graph/Snake and ladder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Snake and ladder.cpp -------------------------------------------------------------------------------- /Graph/Stepping Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Stepping Numbers.cpp -------------------------------------------------------------------------------- /Graph/Steps by Knight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Steps by Knight.cpp -------------------------------------------------------------------------------- /Graph/Sum Of Depenedencies in Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Sum Of Depenedencies in Graph.cpp -------------------------------------------------------------------------------- /Graph/Topological Sorting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Topological Sorting.cpp -------------------------------------------------------------------------------- /Graph/Transitive closure of a Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Transitive closure of a Graph.cpp -------------------------------------------------------------------------------- /Graph/Word boggle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/Word boggle.cpp -------------------------------------------------------------------------------- /Graph/detect loop in directed graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/detect loop in directed graph.cpp -------------------------------------------------------------------------------- /Graph/find Sum of Different Corresponding Bits for all pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/find Sum of Different Corresponding Bits for all pairs.cpp -------------------------------------------------------------------------------- /Graph/flood fill algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/flood fill algo.cpp -------------------------------------------------------------------------------- /Graph/kruskals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/kruskals.cpp -------------------------------------------------------------------------------- /Graph/prims.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/prims.cpp -------------------------------------------------------------------------------- /Graph/primsOptimized.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Graph/primsOptimized.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Activity Selection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Activity Selection.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/C++ template.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/C++ template.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Geek collects the balls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Geek collects the balls.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Hungry Pizza Lovers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Hungry Pizza Lovers.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Job Sequencing Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Job Sequencing Problem.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Largest Number With Given Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Largest Number With Given Sum.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Largest Number possible.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Largest Number possible.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Max Length Chain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Max Length Chain.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Maximum number vof Toys.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Maximum number vof Toys.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Minimise the Height.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Minimise the Height.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Minimum numbers of coins.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Minimum numbers of coins.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Minimum operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Minimum operation.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/N Meetings in one room.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/N Meetings in one room.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/New Text Document.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/New Text Document.txt -------------------------------------------------------------------------------- /Greedy Algorithm/Page Fault in LRU.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Page Fault in LRU.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Pattern searching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Pattern searching.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Policeman Caught Thief.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Policeman Caught Thief.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Raju and Coins.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Raju and Coins.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Rulling Pair1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Rulling Pair1.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Swap all even and odd bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Swap all even and odd bits.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/Xoring and Clearing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/Xoring and Clearing.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/c++ multilevel inheritance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/c++ multilevel inheritance.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/change bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/change bits.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/check id number is baalnced.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/check id number is baalnced.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/coin piles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/coin piles.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/even odd java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/even odd java.java -------------------------------------------------------------------------------- /Greedy Algorithm/find maximum number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/find maximum number.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/geekonacy numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/geekonacy numbers.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/geeks and contest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/geeks and contest.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/generic sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/generic sort.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/learning to be precise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/learning to be precise.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/minimise the sum of product of numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/minimise the sum of product of numbers.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/pair sum in vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/pair sum in vector.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/reverse an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/reverse an array.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/reverse bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/reverse bits.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/reverse string usinga stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/reverse string usinga stack.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/shop in candy store.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/shop in candy store.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/sum of array elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/sum of array elements.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/sum of leaves in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/sum of leaves in BST.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/swap and maximise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/swap and maximise.cpp -------------------------------------------------------------------------------- /Greedy Algorithm/the new line java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/the new line java.java -------------------------------------------------------------------------------- /Greedy Algorithm/while loop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Greedy Algorithm/while loop.cpp -------------------------------------------------------------------------------- /Help Classmates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Help Classmates.cpp -------------------------------------------------------------------------------- /Huffman Encoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Huffman Encoding.cpp -------------------------------------------------------------------------------- /Interleaved String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Interleaved String.cpp -------------------------------------------------------------------------------- /InversionCount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/InversionCount.cpp -------------------------------------------------------------------------------- /K-th element of two sorted Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/K-th element of two sorted Arrays.cpp -------------------------------------------------------------------------------- /LCS of three strings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LCS of three strings.cpp -------------------------------------------------------------------------------- /LRUimplementation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LRUimplementation.cpp -------------------------------------------------------------------------------- /Largest rectangle of 1s with swapping of columns allowed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Largest rectangle of 1s with swapping of columns allowed.cpp -------------------------------------------------------------------------------- /Largest subarray with 0 sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Largest subarray with 0 sum.cpp -------------------------------------------------------------------------------- /Left View of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Left View of Binary Tree.cpp -------------------------------------------------------------------------------- /LinkedList/Add 1 to the number represented as Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Add 1 to the number represented as Linked List.cpp -------------------------------------------------------------------------------- /LinkedList/Add two numbers represented by linked lists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Add two numbers represented by linked lists.cpp -------------------------------------------------------------------------------- /LinkedList/Compare two linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Compare two linked List.cpp -------------------------------------------------------------------------------- /LinkedList/Flattening Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Flattening Linked List.cpp -------------------------------------------------------------------------------- /LinkedList/Given a linked list of 0s, 1s and 2s, sort it.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Given a linked list of 0s, 1s and 2s, sort it.cpp -------------------------------------------------------------------------------- /LinkedList/Intersection Point in Y Shapped Linked Lists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Intersection Point in Y Shapped Linked Lists.cpp -------------------------------------------------------------------------------- /LinkedList/Intersection Point of Y shaped linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Intersection Point of Y shaped linked List.cpp -------------------------------------------------------------------------------- /LinkedList/Intersection of two linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Intersection of two linked list.cpp -------------------------------------------------------------------------------- /LinkedList/Intersection of two sorted linked list .cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Intersection of two sorted linked list .cpp -------------------------------------------------------------------------------- /LinkedList/Linked List in Zig Zag Fashion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Linked List in Zig Zag Fashion.cpp -------------------------------------------------------------------------------- /LinkedList/Merge Two sorted Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Merge Two sorted Linked List.cpp -------------------------------------------------------------------------------- /LinkedList/Middle element of linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Middle element of linked list.cpp -------------------------------------------------------------------------------- /LinkedList/New Text Document.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LinkedList/Pairwise Swap Elements in LInked lIst .cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Pairwise Swap Elements in LInked lIst .cpp -------------------------------------------------------------------------------- /LinkedList/Pairwise swap elements of a linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Pairwise swap elements of a linked list.cpp -------------------------------------------------------------------------------- /LinkedList/Pairwise swap of nodes in LinkeList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Pairwise swap of nodes in LinkeList.cpp -------------------------------------------------------------------------------- /LinkedList/Polynomial Addition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Polynomial Addition.cpp -------------------------------------------------------------------------------- /LinkedList/Rearrange Even And Odd Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Rearrange Even And Odd Nodes.cpp -------------------------------------------------------------------------------- /LinkedList/Remove loop from Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Remove loop from Linked List.cpp -------------------------------------------------------------------------------- /LinkedList/Reverse a Linked List in groups of given size.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Reverse a Linked List in groups of given size.cpp -------------------------------------------------------------------------------- /LinkedList/Reverse a linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Reverse a linked list.cpp -------------------------------------------------------------------------------- /LinkedList/Reverse a linked-list in group of given size.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Reverse a linked-list in group of given size.cpp -------------------------------------------------------------------------------- /LinkedList/Rotate a linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Rotate a linked list.cpp -------------------------------------------------------------------------------- /LinkedList/Stack from linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Stack from linked list.cpp -------------------------------------------------------------------------------- /LinkedList/Union of two linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/Union of two linked List.cpp -------------------------------------------------------------------------------- /LinkedList/addAtTheBeginning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/addAtTheBeginning.cpp -------------------------------------------------------------------------------- /LinkedList/check if linked list is palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/check if linked list is palindrome.cpp -------------------------------------------------------------------------------- /LinkedList/count pair whose sum is equal to x.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/count pair whose sum is equal to x.cpp -------------------------------------------------------------------------------- /LinkedList/delete key in linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/delete key in linked list.cpp -------------------------------------------------------------------------------- /LinkedList/delete without head pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/delete without head pointer.cpp -------------------------------------------------------------------------------- /LinkedList/implement queue by linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/implement queue by linked list.cpp -------------------------------------------------------------------------------- /LinkedList/linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/linked list.cpp -------------------------------------------------------------------------------- /LinkedList/nth node from end.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/nth node from end.cpp -------------------------------------------------------------------------------- /LinkedList/palindrome_in_linked_list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/LinkedList/palindrome_in_linked_list.cpp -------------------------------------------------------------------------------- /Longest common prefix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Longest common prefix.cpp -------------------------------------------------------------------------------- /Lucy's Neighbours.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Lucy's Neighbours.cpp -------------------------------------------------------------------------------- /Max sum in the configuration: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Max sum in the configuration -------------------------------------------------------------------------------- /Maximize sum of an Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Maximize sum of an Array.cpp -------------------------------------------------------------------------------- /Maximum Product Subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Maximum Product Subarray.cpp -------------------------------------------------------------------------------- /Maximum difference between node and its ancestor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Maximum difference between node and its ancestor.cpp -------------------------------------------------------------------------------- /Maximum difference of zeros and ones in binary string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Maximum difference of zeros and ones in binary string.cpp -------------------------------------------------------------------------------- /Maximum of minimum for every window size.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Maximum of minimum for every window size.cpp -------------------------------------------------------------------------------- /Minimize_the_Heights_II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Minimize_the_Heights_II.cpp -------------------------------------------------------------------------------- /Minimum sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Minimum sum.cpp -------------------------------------------------------------------------------- /Minimum swaps and K together.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Minimum swaps and K together.cpp -------------------------------------------------------------------------------- /Money Distributions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Money Distributions.cpp -------------------------------------------------------------------------------- /Number of Coins.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Number of Coins.cpp -------------------------------------------------------------------------------- /Number of unique paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Number of unique paths.cpp -------------------------------------------------------------------------------- /Overlapping Intervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Overlapping Intervals.cpp -------------------------------------------------------------------------------- /Pairs with specific difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Pairs with specific difference.cpp -------------------------------------------------------------------------------- /Positive Negative pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Positive Negative pairs.cpp -------------------------------------------------------------------------------- /Possible Words From Phone Digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Possible Words From Phone Digits.cpp -------------------------------------------------------------------------------- /Possible paths between 2 vertices.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Possible paths between 2 vertices.cpp -------------------------------------------------------------------------------- /Possible paths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Possible paths.cpp -------------------------------------------------------------------------------- /Quick Sort on Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Quick Sort on Linked List.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/README.md -------------------------------------------------------------------------------- /Rain water trapping.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Rain water trapping.cpp -------------------------------------------------------------------------------- /Repeated String match.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Repeated String match.cpp -------------------------------------------------------------------------------- /Restricted packman.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Restricted packman.cpp -------------------------------------------------------------------------------- /Reverse_Circular_Doubly_Linklist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Reverse_Circular_Doubly_Linklist.cpp -------------------------------------------------------------------------------- /RotateListRight.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/RotateListRight.java -------------------------------------------------------------------------------- /Rulling Pair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Rulling Pair.cpp -------------------------------------------------------------------------------- /Secret Cipher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Secret Cipher.cpp -------------------------------------------------------------------------------- /Shortest Path between Cities.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Shortest Path between Cities.cpp -------------------------------------------------------------------------------- /Shortest Range In BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Shortest Range In BST.cpp -------------------------------------------------------------------------------- /Smallest range in K lists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Smallest range in K lists.cpp -------------------------------------------------------------------------------- /Spiral Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Spiral Matrix.cpp -------------------------------------------------------------------------------- /Subarrays with equal 1s and 0s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Subarrays with equal 1s and 0s.cpp -------------------------------------------------------------------------------- /Sum of Query II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Sum of Query II.cpp -------------------------------------------------------------------------------- /Sum of two elements with sum nearest to zero.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Sum of two elements with sum nearest to zero.cpp -------------------------------------------------------------------------------- /Swap all odd and even bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Swap all odd and even bits.cpp -------------------------------------------------------------------------------- /Tree/Add all greater values to every node in a BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Add all greater values to every node in a BST.cpp -------------------------------------------------------------------------------- /Tree/Anagrams1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Anagrams1.cpp -------------------------------------------------------------------------------- /Tree/Ancestor of binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Ancestor of binary tree.cpp -------------------------------------------------------------------------------- /Tree/Binary Tree from Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Binary Tree from Array.cpp -------------------------------------------------------------------------------- /Tree/Bottom View of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Bottom View of Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Boundary Traversal Of Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Boundary Traversal Of Tree.cpp -------------------------------------------------------------------------------- /Tree/Check for balanced binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Check for balanced binary tree.cpp -------------------------------------------------------------------------------- /Tree/Check if the given Tree is a sub Tree .cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Check if the given Tree is a sub Tree .cpp -------------------------------------------------------------------------------- /Tree/Check if two Mirror trees.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Check if two Mirror trees.cpp -------------------------------------------------------------------------------- /Tree/Check if two nodes are cousins.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Check if two nodes are cousins.cpp -------------------------------------------------------------------------------- /Tree/CheckBST.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/CheckBST.java -------------------------------------------------------------------------------- /Tree/Children Sum Parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Children Sum Parent.cpp -------------------------------------------------------------------------------- /Tree/Clone a Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Clone a Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Connect Nodes at same level.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Connect Nodes at same level.cpp -------------------------------------------------------------------------------- /Tree/Construct Tree from Inorder & Postorder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Construct Tree from Inorder & Postorder.cpp -------------------------------------------------------------------------------- /Tree/Construct Tree from Preorder Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Construct Tree from Preorder Traversal.cpp -------------------------------------------------------------------------------- /Tree/Daigonal Sum of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Daigonal Sum of Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Daigonal Traversal of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Daigonal Traversal of Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Daimeter of binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Daimeter of binary tree.cpp -------------------------------------------------------------------------------- /Tree/Determine if trees are equal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Determine if trees are equal.cpp -------------------------------------------------------------------------------- /Tree/Distance between two nodes of binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Distance between two nodes of binary tree.cpp -------------------------------------------------------------------------------- /Tree/Evalutaion Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Evalutaion Tree.cpp -------------------------------------------------------------------------------- /Tree/Extreame Nodes in Lternate order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Extreame Nodes in Lternate order.cpp -------------------------------------------------------------------------------- /Tree/Find the closest Element in Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Find the closest Element in Array.cpp -------------------------------------------------------------------------------- /Tree/Full Binary Tree check.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Full Binary Tree check.cpp -------------------------------------------------------------------------------- /Tree/Height of a tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Height of a tree.cpp -------------------------------------------------------------------------------- /Tree/Height of spiral tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Height of spiral tree.cpp -------------------------------------------------------------------------------- /Tree/Identical tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Identical tree.cpp -------------------------------------------------------------------------------- /Tree/If Tree is Isometric.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/If Tree is Isometric.cpp -------------------------------------------------------------------------------- /Tree/Inorder traversal and BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Inorder traversal and BST.cpp -------------------------------------------------------------------------------- /Tree/Insert a node in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Insert a node in BST.cpp -------------------------------------------------------------------------------- /Tree/K distance from Root.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/K distance from Root.cpp -------------------------------------------------------------------------------- /Tree/Kth Largest element in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Kth Largest element in BST.cpp -------------------------------------------------------------------------------- /Tree/Kth smallest Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Kth smallest Element.cpp -------------------------------------------------------------------------------- /Tree/LArgest BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/LArgest BST.cpp -------------------------------------------------------------------------------- /Tree/LCA in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/LCA in BST.cpp -------------------------------------------------------------------------------- /Tree/LCA of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/LCA of Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/LCA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/LCA.cpp -------------------------------------------------------------------------------- /Tree/Leaf At Same level.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Leaf At Same level.cpp -------------------------------------------------------------------------------- /Tree/Least common ancestor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Least common ancestor.cpp -------------------------------------------------------------------------------- /Tree/Leaves to DLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Leaves to DLL.cpp -------------------------------------------------------------------------------- /Tree/Left View of Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Left View of Tree.cpp -------------------------------------------------------------------------------- /Tree/Leftmost Node and rightmost Node of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Leftmost Node and rightmost Node of Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Level Order Traversal in spiral form.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Level Order Traversal in spiral form.cpp -------------------------------------------------------------------------------- /Tree/Level of Node of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Level of Node of Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Level order traversal in tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Level order traversal in tree.cpp -------------------------------------------------------------------------------- /Tree/Level order traversal line by line.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Level order traversal line by line.cpp -------------------------------------------------------------------------------- /Tree/Longest Consecutive sequence in binary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Longest Consecutive sequence in binary tree.cpp -------------------------------------------------------------------------------- /Tree/Make Binary Tree from Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Make Binary Tree from Linked List.cpp -------------------------------------------------------------------------------- /Tree/Maximum Level Sum In Bianry Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Maximum Level Sum In Bianry Tree.cpp -------------------------------------------------------------------------------- /Tree/Maximum Node Level.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Maximum Node Level.cpp -------------------------------------------------------------------------------- /Tree/Maximum path Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Maximum path Sum.cpp -------------------------------------------------------------------------------- /Tree/Maximum width of tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Maximum width of tree.cpp -------------------------------------------------------------------------------- /Tree/Median Of BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Median Of BST.cpp -------------------------------------------------------------------------------- /Tree/Merge Two BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Merge Two BST.cpp -------------------------------------------------------------------------------- /Tree/Min Depth of Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Min Depth of Tree.cpp -------------------------------------------------------------------------------- /Tree/Minimum value of data in tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Minimum value of data in tree.cpp -------------------------------------------------------------------------------- /Tree/Mirror Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Mirror Tree.cpp -------------------------------------------------------------------------------- /Tree/Number of leaves in tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Number of leaves in tree.cpp -------------------------------------------------------------------------------- /Tree/Odd Even Level Difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Odd Even Level Difference.cpp -------------------------------------------------------------------------------- /Tree/Perfect Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Perfect Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Postorder From Preorder in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Postorder From Preorder in BST.cpp -------------------------------------------------------------------------------- /Tree/Print BST in given Range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Print BST in given Range.cpp -------------------------------------------------------------------------------- /Tree/Print Binary Tree in Vertical Order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Print Binary Tree in Vertical Order.cpp -------------------------------------------------------------------------------- /Tree/Print Common Nodes In BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Print Common Nodes In BST.cpp -------------------------------------------------------------------------------- /Tree/Print all nodes without siblings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Print all nodes without siblings.cpp -------------------------------------------------------------------------------- /Tree/Reverse Alternate level of perfect Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Reverse Alternate level of perfect Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Reverse Level Order Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Reverse Level Order Traversal.cpp -------------------------------------------------------------------------------- /Tree/Right Veiw of Binary Tree .cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Right Veiw of Binary Tree .cpp -------------------------------------------------------------------------------- /Tree/Root to leaf Path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Root to leaf Path.cpp -------------------------------------------------------------------------------- /Tree/Root to leaf paths sum. check.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Root to leaf paths sum. check.cpp -------------------------------------------------------------------------------- /Tree/Root to leaf paths sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Root to leaf paths sum.cpp -------------------------------------------------------------------------------- /Tree/Serialize and Deserialize a Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Serialize and Deserialize a Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Sum Of right Root Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Sum Of right Root Nodes.cpp -------------------------------------------------------------------------------- /Tree/Sum of K smallest element in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Sum of K smallest element in BST.cpp -------------------------------------------------------------------------------- /Tree/Sum of leaf Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Sum of leaf Nodes.cpp -------------------------------------------------------------------------------- /Tree/Sum of left Root Nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Sum of left Root Nodes.cpp -------------------------------------------------------------------------------- /Tree/Sum of nodes of tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Sum of nodes of tree.cpp -------------------------------------------------------------------------------- /Tree/Sum tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Sum tree.cpp -------------------------------------------------------------------------------- /Tree/Symmetric Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Symmetric Tree.cpp -------------------------------------------------------------------------------- /Tree/Top Veiw of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Top Veiw of Binary Tree.cpp -------------------------------------------------------------------------------- /Tree/Transform to Sum Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Transform to Sum Tree.cpp -------------------------------------------------------------------------------- /Tree/Tree from inoder and preorder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Tree from inoder and preorder.cpp -------------------------------------------------------------------------------- /Tree/Vertical Sum of Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Vertical Sum of Tree.cpp -------------------------------------------------------------------------------- /Tree/Zig Zag Traversal of Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/Zig Zag Traversal of Tree.cpp -------------------------------------------------------------------------------- /Tree/check for BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/check for BST.cpp -------------------------------------------------------------------------------- /Tree/inorder Sucessor in BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/inorder Sucessor in BST.cpp -------------------------------------------------------------------------------- /Tree/vertical order traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Tree/vertical order traversal.cpp -------------------------------------------------------------------------------- /Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Trie.cpp -------------------------------------------------------------------------------- /Valentine Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Valentine Sum.cpp -------------------------------------------------------------------------------- /Valid Substring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Valid Substring.cpp -------------------------------------------------------------------------------- /Vertical Traversal of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Vertical Traversal of Binary Tree.cpp -------------------------------------------------------------------------------- /Word Ladder2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/Word Ladder2.cpp -------------------------------------------------------------------------------- /add 2 numbers repreesneted a s linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/add 2 numbers repreesneted a s linked List.cpp -------------------------------------------------------------------------------- /adventure in maze.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/adventure in maze.cpp -------------------------------------------------------------------------------- /articulation point-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/articulation point-2.cpp -------------------------------------------------------------------------------- /avlTree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/avlTree -------------------------------------------------------------------------------- /celebrity_problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/celebrity_problem.cpp -------------------------------------------------------------------------------- /check if linked list is palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/check if linked list is palindrome.cpp -------------------------------------------------------------------------------- /check if subtree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/check if subtree.cpp -------------------------------------------------------------------------------- /check tree traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/check tree traversal.cpp -------------------------------------------------------------------------------- /circular prime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/circular prime.cpp -------------------------------------------------------------------------------- /closest palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/closest palindrome.cpp -------------------------------------------------------------------------------- /contains-Nearby-Duplicate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/contains-Nearby-Duplicate.cpp -------------------------------------------------------------------------------- /count occurences of anagram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/count occurences of anagram.cpp -------------------------------------------------------------------------------- /count total set bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/count total set bits.cpp -------------------------------------------------------------------------------- /countPairsWithGivenSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/countPairsWithGivenSum.cpp -------------------------------------------------------------------------------- /cows of fooland.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/cows of fooland.cpp -------------------------------------------------------------------------------- /dam of candies.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/dam of candies.cpp -------------------------------------------------------------------------------- /detect cycle in undorected graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/detect cycle in undorected graph.cpp -------------------------------------------------------------------------------- /doctor strange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/doctor strange.cpp -------------------------------------------------------------------------------- /elixir of life.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/elixir of life.cpp -------------------------------------------------------------------------------- /encrpyt string-2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/encrpyt string-2.cpp -------------------------------------------------------------------------------- /factorials of large number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/factorials of large number.cpp -------------------------------------------------------------------------------- /find the kth smallest element in matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/find the kth smallest element in matrix.cpp -------------------------------------------------------------------------------- /four elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/four elements.cpp -------------------------------------------------------------------------------- /get-importance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/get-importance.cpp -------------------------------------------------------------------------------- /is_subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/is_subsequence.cpp -------------------------------------------------------------------------------- /kruskals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/kruskals.cpp -------------------------------------------------------------------------------- /last index of one.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/last index of one.cpp -------------------------------------------------------------------------------- /lets play.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/lets play.cpp -------------------------------------------------------------------------------- /longestCommonPrefix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/longestCommonPrefix -------------------------------------------------------------------------------- /ls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/ls.cpp -------------------------------------------------------------------------------- /maxArea: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/maxArea -------------------------------------------------------------------------------- /median of two sorted array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/median of two sorted array.cpp -------------------------------------------------------------------------------- /mergesort: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/mergesort -------------------------------------------------------------------------------- /minimum number of jumps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/minimum number of jumps.cpp -------------------------------------------------------------------------------- /mirror tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/mirror tree.cpp -------------------------------------------------------------------------------- /most-common-word.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/most-common-word.cpp -------------------------------------------------------------------------------- /n meetings in a room.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/n meetings in a room.cpp -------------------------------------------------------------------------------- /nth digit of pi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/nth digit of pi.cpp -------------------------------------------------------------------------------- /order-of-largest-plus-sign.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/order-of-largest-plus-sign.cpp -------------------------------------------------------------------------------- /paranthesis checker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/paranthesis checker.cpp -------------------------------------------------------------------------------- /peak-index-in-mountain-array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/peak-index-in-mountain-array.cpp -------------------------------------------------------------------------------- /prims.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/prims.cpp -------------------------------------------------------------------------------- /primsOptimized.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/primsOptimized.cpp -------------------------------------------------------------------------------- /priority_queue stl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/priority_queue stl.cpp -------------------------------------------------------------------------------- /product_of_array_except_Self.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/product_of_array_except_Self.cpp -------------------------------------------------------------------------------- /queries in matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/queries in matrix.cpp -------------------------------------------------------------------------------- /rangeMinQuerySegmentTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/rangeMinQuerySegmentTree.cpp -------------------------------------------------------------------------------- /reverse first k elements of queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/reverse first k elements of queue.cpp -------------------------------------------------------------------------------- /reverse the words of the string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/reverse the words of the string.cpp -------------------------------------------------------------------------------- /rotten oranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/rotten oranges.cpp -------------------------------------------------------------------------------- /seven segment display.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/seven segment display.cpp -------------------------------------------------------------------------------- /sort a stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/sort a stack.cpp -------------------------------------------------------------------------------- /sort an array of 0 1 2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/sort an array of 0 1 2.cpp -------------------------------------------------------------------------------- /tree_contains_dead_end.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/tree_contains_dead_end.cpp -------------------------------------------------------------------------------- /valid pair sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/valid pair sum.cpp -------------------------------------------------------------------------------- /water connection problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ashish-kumar7/geeks-for-geeks-solutions/HEAD/water connection problem.cpp --------------------------------------------------------------------------------