├── .github ├── FUNDING.yml └── readme.md ├── .gitignore ├── AdHoc ├── Bit Hacks.cpp ├── FastIO.cpp ├── Gray Code.cpp ├── Infinite Grid.cpp ├── Josephus Problem.cpp ├── Knight Distance.cpp ├── RandomShuffle.cpp ├── U128.cpp └── __int128.cpp ├── Array ├── ARRAY SPIRAL PRINT (Clockwise) ├── ARRAY_SPIRAL_PRINT_ANTICLOCKWISE.cpp ├── Absolute Diagonal Difference ├── Arrange given numbers to form the biggest number.cpp ├── Array Sum ├── ArraySpiralClockwise.cpp ├── Arrays waveprint row wise.cpp ├── BOOK ALLOCATION ├── Container With Most Water.cpp ├── ENCRYPT MESSAGE - Codechef.cpp ├── Equilibrium_index.cpp ├── Kadane algorithm.cpp ├── LargestElementInArray.cpp ├── MAXIMUM_SUBARRAY.cpp ├── Maximum Subarray.cpp ├── MaximumSumSubarray.CPP ├── Moore_Moote_voting_algo ├── MostOccuringInarray.cpp ├── Product of Array Except Self.cpp ├── Reverse_Array.txt ├── Rotate.c ├── RunningSumOf1DArray.cpp ├── Shuffle_Array.cpp ├── SortColors.cpp ├── SortedArray.cpp ├── Square Root Decompostion.cpp ├── Strips.cpp ├── Unique_Element.cpp ├── Wave_print_column_wise.cpp ├── Window Sliding Technique ├── XOR Queries of a Subarray ├── a.out ├── array implementation ├── arrayManipulation.cpp ├── binarysearch.cpp ├── bit_manipulation.cpp ├── coingame.cpp ├── counting_inversion.c ├── divsumpair.cpp ├── duplicatearray.cpp ├── kadane_subarray_sum.cpp ├── left_rotation.cpp ├── majority element-II ├── majority_element.cpp ├── minmax.cpp ├── negative_nos_at_one_end.cpp ├── nthlargest.cpp ├── rotate_array_left.cpp ├── rotate_array_right.cpp ├── rotatearray.cpp ├── secLargenoArray.cpp ├── secondSmallestInArray.c ├── singleOccurance.cpp ├── smallestinArray.cpp ├── spiral.cpp ├── subarray with given sum.cpp ├── thatismyscore.cpp └── trappingRainwater.cpp ├── Bitmasking ├── CombationalSum.cpp ├── Lexicograhical Order.cpp ├── Minimum Flips to Make a OR b Equal to c ├── NQueens.cpp ├── NoOf Number with Duplicates.cpp ├── PrintSubsetsOfArray.cpp ├── PrintSubsetsSumOfArray.cpp ├── ReturnSubsetOfArray.cpp ├── Sudoku.cpp ├── SwapTwoNibbles.cpp ├── add ├── count_set_bits.cpp ├── fastExponent.cpp └── largest_Subset_Pairwise_co prime.cpp ├── CPU_Scheduling_Algorithms ├── FCFS.cpp ├── SJF.cpp ├── fcfs_arrival.cpp ├── priority.cpp ├── producer-consumer problem.c └── robin_round.cpp ├── DailyCode ├── Element_difference.cpp ├── Fibonacci_iterative.cpp ├── Hourglass.cpp ├── Leet 14 - Find Center of Star Graph ├── Leet1 - round.cpp ├── Leet11 - remove covered intervals.cpp ├── Leet13 - lexorder.cpp ├── Leet2 - sell and buy stocks.cpp ├── Leet3.cpp ├── Leet6 - subarray product less than k.cpp ├── Leet7 - twoSum.cpp ├── Leet8 - CombinationSum.cpp ├── Leet9 - k diff pairs.cpp ├── PalindromeInteger.cpp ├── add ├── arithmeticThree.cpp ├── book_allocation.cpp ├── fiblog.cpp ├── fibonacci_2.cpp ├── multiply_large_numbers.cpp ├── palindrome.cpp ├── reverse.cpp ├── starpattern.cpp ├── triangleEverywhere.cpp ├── triangleWithAngle.cpp └── universe.cpp ├── Data structures and algorithms ├── B+ tree.cpp ├── BFSShortReach.cpp ├── BinaryTree Algorithm ├── KMPDemo.cpp ├── KruskalAlgo.cpp ├── LongestPath.cpp ├── SegmentTree.cpp ├── Segtree_Lazy_Propagation.cpp ├── Travelling_Salesman.cpp └── floyd_warshal_algo.cpp ├── Design LRU Cache └── lrucache.cpp ├── Dynamic_Programming ├── .cph │ └── .Distinct_subsequences.cpp_799c8055c9adbef74e4b4bbaafb67159.prob ├── 0-1 Knapsack O(weight) space complexity ├── 0-1 Knapsack Problem - DP.cpp ├── BoxStackingProblem.cpp ├── CoinChangeUnique.cpp ├── Count Square Submatrices with All Ones ├── CountNumberOfBinaryStrings ├── CountNumberOfBinaryStrings.cpp ├── Decode Ways II ├── DiameterOfBinaryTree.cpp ├── Distinct_subsequences.cpp ├── Egg Dropping Puzzle.cpp ├── EggDropping.cpp ├── FibonacciSeriesUsingDynamicProgramming.cpp ├── House Robber ├── House Robber II.cpp ├── House_Robber_3.cpp ├── Knapsack Problem ├── Knapsacks.cpp ├── LAPSwDifference.cpp ├── LargestContiguousSum.cpp ├── LongestCommonSubsequence.cpp ├── LongestIncreasingSubsequence.cpp ├── LongestPathInMatrix.cpp ├── MagicNumberUsingDigitDP ├── MaxPathSumFromLeafToAnyLeaf.cpp ├── MaxPathSumFromNodeToAnyNode.cpp ├── MaximalRectangle.cpp ├── Number_of_Dice_Rolls_for_given_sum.cpp ├── Perfect Squares.cpp ├── Subset_sum_problem.cpp ├── Wildcard_matching.cpp ├── buy_sell_stocks.cpp ├── climb_stairs.cpp ├── coinchange.cpp ├── cut_rod_bottomup.c ├── cut_rod_topdown.c ├── editDistance.cpp ├── house_robber.cpp ├── knapsack.cpp ├── knapsack_01.c ├── longArithmeticProgSub.cpp ├── mcm.cpp ├── minimum Path sum ├── nth_bell_Number.cpp ├── optimalStratergy.cpp ├── removeItem.cpp ├── unique paths └── wildcard matching, ├── GAME ├── VideoGame.cpp └── readme.md ├── GoogleKickstart ├── Google_Kickstart_2020_Round_A_Allocation.cpp ├── Google_Kickstart_2020_Round_A_Bundling.cpp ├── Google_Kickstart_2020_Round_A_Plates.cpp ├── Google_Kickstart_2020_Round_A_Workout.cpp ├── Kickstart Round F C++(A) ├── Kickstart Round F C++(B) ├── Kickstart Round F C++(C) ├── Kickstart Round F C++(D) ├── Round A 2021 - Kick Start 2021_Checksum.cpp ├── Round A 2021 - Kick Start 2021_K-Goodness_String.cpp ├── Round A 2021 - Kick Start 2021_L Shaped Plots.cpp ├── Round A 2021 - Kick Start 2021_Rabbit_House.cpp ├── Round B 2020 - Kick Start 2020_bike_tour.cpp ├── Round C 2020 - Kick Start 2020-countdown.cpp ├── Round F 2021 - Kick Start 2021 - (A) ├── Round G 2021 - Kick Start 2021_Dogs_and_Cats.cpp ├── Round G 2022-KickStart2022_Curling.cpp └── readme.md ├── Graph ├── Adjacency_matrix ├── DisjointSetUnion.cpp ├── Find_if_a_cycle_exists_in_a_graph.cpp ├── KosarajuConnectedComponents.cpp ├── MotherVertexKosaraju.cpp ├── PetersenGraph.cpp ├── adjacencylist.cpp ├── articulationPoints.cpp ├── bellmanFord.cpp ├── bfs.cpp ├── bipartite_detection.cpp ├── bridge.cpp ├── connected_components.cpp ├── cycle_detection_undirected.cpp ├── detectCycle.cpp ├── detectCycleIn_Directed_graph.cpp ├── dfs.cpp ├── dijkstra.cpp ├── eulerPath.cpp ├── flood_fill.cpp ├── floydWarshall.cpp ├── getPath.cpp ├── graph.cpp ├── kru ├── krushkalalgousingdsu.cpp ├── krushkalnotes.md ├── mst.cpp ├── prims.cpp ├── scc.cpp ├── topSort.cpp └── tsp.cpp ├── Graphics ├── BezierCurve.CPP ├── DigitalDifferentialAnalyzer.CPP └── MidPointCircle.c ├── Greedy_Algorithm ├── BiasedStandings.cpp ├── Dijsktras_algorithm.cpp └── HuffmanCoding.cpp ├── INterviewQuestions ├── 01Knapsack.cpp ├── AggressiveCows.cpp ├── Equilibrium index of array.cpp ├── Equilibrium index of array.exe ├── Kadane algorithm.cpp ├── LargestNumByRearrangingArray.cpp ├── N-QUEEN-HARD.cpp ├── Prime_Sequence.cpp ├── add ├── anagrams.cpp ├── convert_integer_to_roman_numeral.cpp ├── countPrimes.cpp ├── find_next_permutation.cpp ├── longestSubstringWithoutRepetating.cpp ├── numbertocharacter.cpp ├── searchinRSA.cpp └── validparenthesis.cpp ├── LICENSE.MD ├── LinkedList ├── AppendLastNToFirst.cpp ├── Bubble Sort (Iterative) LinkedList.cpp ├── Clockwise_rotation _of_Linked_List.cpp ├── Code Merge Sort.cpp ├── Code Reverse LL (Recursive).cpp ├── Code Merge Two Sorted LL.cpp ├── Code Midpoint of LL.cpp ├── Code Reverse LL (Iterative).cpp ├── Delete every N nodes.cpp ├── Delete(Recursive).cpp ├── DeleteNode.cpp ├── DeleteNskipM.cpp ├── Delete_withou_head_pointer.cpp ├── DivideLLInto2.cpp ├── Doubly-linked-list.cpp ├── Eliminate duplicates from LL.cpp ├── Even after Odd LinkedList.cpp ├── Even-after-odd linked list.cpp ├── EvenAfterOddLL.cpp ├── Find a Node in Linked List.cpp ├── Find a node in LL (recursive).cpp ├── Insert(recursive).cpp ├── Insert.cpp ├── KReverse.cpp ├── LenghtofLL(recursive).cpp ├── Length of LL.cpp ├── Length-of-loop-in-linkedlist.cpp ├── LetFirstBeLast.cpp ├── PallindromList.cpp ├── Print Reverse LinkedList.cpp ├── Print ith node.cpp ├── Remove Nth node from end.cpp ├── Reorder a list ├── Reverse a link list ├── Reverse_group_of_element.cpp ├── Swap two Nodes of LL.cpp ├── Swap2nodes.cpp ├── UnionLL.cpp ├── binarytreetraversal.cpp ├── circular_linkedlist.cpp ├── deepakuma_Palindrome_ll.cpp ├── detection of loop in linked_list.cpp ├── doubly_linkedlist.cpp ├── implement_queue_using _linkedlist.cpp ├── implement_stack_using _linkedlist.cpp ├── intersection_point.cpp ├── kReverse.cpp ├── linked_list_is_palindrome ├── merge two sorted link list ├── palindrome or not ├── quicksortlinkedlist.cpp ├── remove_duplicates.cpp ├── singly_linked_list.cpp └── singlylinkedlist.cpp ├── Maths ├── AckermannFunction.cpp ├── Binary_Exponentiation.cpp ├── Check divisibility by 7 ├── HCF.C ├── PrimeFactorise.cpp ├── binary_addition.cpp ├── decimal_to_octal.cpp ├── euclid_gcd.cpp ├── extended_euclids_gcd.cpp ├── factorialOfLargeNumbers.cpp ├── fast_power.cpp ├── fibonacci_matrix_expo.cpp ├── hcf.cpp ├── integer_to_roman.cpp ├── nth_catalan_number.cpp ├── pascals_triangle.cpp ├── segmented_sieve.cpp └── sieve_of_erastothenes.cpp ├── Matrix ├── M x N Size Matrix transpose ├── Matrix chain multilications ├── Sparse Matrix.cpp ├── SparseMatrixOperations.cpp ├── Spiral_Matrix.cpp ├── add ├── check_sparse_matrix.cpp ├── converting a matrix to sparse matrix.py ├── generate_spiral_matrix.cpp ├── gridSearch.cpp ├── matrix transpose.cpp ├── matrix_to_sparse_matrix.cpp ├── matrix_transpose ├── matrix_transpose.cpp ├── matrixsearch.cpp ├── rotate_matrix_by_90degree.cpp ├── sparce_matrix.cpp └── sparse.cpp ├── Patterns ├── DiamondPattern.cpp ├── FloydsTriangle.cpp ├── Ganesha_pattern.cpp ├── PascalsTriangle.cpp ├── PatternTriangle.cpp ├── add ├── countingPattern.cpp ├── half_pyramid_using_numbers.cpp └── pascal.c ├── Projects ├── CreditCardValidator.cpp ├── TicTacToe.cpp └── determinant_solver.cpp ├── README.md ├── Sorting&Searching ├── BinarySearch_1D │ ├── BinarySearch_1D.png │ ├── binary_search_1d │ └── binary_search_1d.c ├── Bogo_Sort ├── Bubble_sort_pro.c ├── CompleteBinary Search with Begineer to advance Problems │ ├── BinarySearch.java │ ├── aggressiveCows.cpp │ ├── binarySearch.cpp │ ├── binarySearch.py │ ├── bookAllocationProblem.cpp │ ├── firstLastPosition.cpp │ ├── peakInMountain.cpp │ ├── pivot.cpp │ ├── searchRotatedArray.cpp │ └── sqrt.cpp ├── Dijkstra.cpp ├── Exponential_Search.cpp ├── FibonacciSearch.cpp ├── Heap_sort.cpp ├── Iterative_Merge_Sort.CPP ├── Pigeon_Sort ├── RADIX SORT.cpp ├── Tree_Sort ├── add ├── binarySearch.cpp ├── bubble_sort.c ├── bubble_sort.cpp ├── bucketSort.cpp ├── counting_sort.cpp ├── cyclic_sort.cpp ├── heap_sort.c ├── insertion_sort.c ├── interpolation_search.cpp ├── jump_search.cpp ├── jumpsearch.cpp ├── linear_search.c ├── mergesort.cpp ├── pancakeSort.cpp ├── quicksort.c └── sort_linkedlist_using_insertion.cpp ├── Stacks ├── Balanced_parenthesis_using_stack.cpp ├── Brackets_Validator.cpp ├── Celebrity Problem ├── Next_Larger_Element.cpp ├── Parentheses_checker.c ├── Parentheses_checker.cpp ├── StackUsingTwoQueue.cpp ├── Stack_ft_array.c ├── Stack_using_array.cpp ├── Stacks_using_linkedlist.c ├── Tracking Current maximum element in stack ├── dequeue_using_stack.cpp ├── find_min_element_in_stack.cpp ├── pseudo code for queue operation with 2 stacks ├── reverse_stack_using_recursion.cpp ├── stack_duplicate_parenthesis.cpp └── valid parentheses.c ├── StandardAlgos ├── Activity_Selection.cpp ├── FCFS.cpp ├── KMP.cpp ├── Knapsack_Fractional.cpp ├── KnuthMorrisPratt.cpp ├── RussianPeasant.cpp ├── add └── priority_deadline.cpp ├── Strings ├── C++string.cpp ├── FirstNonRepeatingChar.cpp ├── FirstRepeatingChar.cpp ├── KMP_algo.cpp ├── README.md ├── Remove characters from alphanumeric string.cpp ├── Z_function.cpp ├── ZippedString.cpp ├── compressString.cpp ├── delete_consecutiveduplicate.cpp ├── knuth_morris_pratt.cpp ├── parenthesis.cpp ├── reverse_words.cpp ├── split.cpp └── string_compression_vector.cpp ├── Sudoku_Solver ├── SUDOKU_SOLVER.C └── sudoku_solver.cpp ├── Trees ├── AVLTREE.C ├── B+ tree insertion.cpp ├── BTREE.C ├── BinarySearchTree.cpp ├── Binary_Search_Tree.cpp ├── Binary_Tree_Left_View.cpp ├── Bottom-View.cpp ├── Boundary-Traversal.cpp ├── Building_tree_from_inorder _and_postorder_traversals.cpp ├── CheckTree.cpp ├── DiameterOfTree.cpp ├── DiameterofBinaryTree.cpp ├── Find_Bottom_Left_Tree_value.cpp ├── Flatten a binary tree to link list ├── Inorder_Traversal.cpp ├── Kth_Smallest_Element_in_BST.cpp ├── Least_Common_Ancestor.cpp ├── Populating Next Right Pointers in Each Node ├── SegTree.cpp ├── SerializeDeserialize.cpp ├── Trie.cpp ├── TwoSumBST.cpp ├── a.out ├── add ├── avl_tree.cpp ├── bottom_view.cpp ├── convert_binary_tree_to_mirror_tree.cpp ├── diameter.cpp ├── inorder_traversal.cpp ├── invert_tree.cpp ├── k_smallest_el_bst.cpp ├── lca.cpp ├── left_view.cpp ├── level-order-traversal.cpp ├── level-order-traversal_usingBFS.cpp ├── morris traversal ├── shortest_distance_between_two_nodes.cpp ├── sum_of_node.cpp ├── tree.cpp └── tree_zig_zag.cpp ├── Trie ├── trie.cpp └── word-break.cpp ├── heap ├── KclosestElements.cpp ├── basic-stl.cpp ├── maxHeap.cpp ├── minHeap.cpp └── readme.md ├── images └── readme.md ├── queue ├── Code _ Queue Using LL.cpp ├── circularQueueArray.cpp ├── circular_queue.cpp ├── queue.cpp ├── queueUsingStack.cpp ├── queue_using_stack.cpp ├── reverseQueue.cpp └── two_stacks.c ├── recursion ├── KthGrammarSymbol.cpp ├── LetterCombinationsPhoneNum.cpp ├── NQueensProbleam.cpp ├── RatInAMaze.cpp ├── TOH.cpp └── generateParenthesis.cpp ├── sorting ├── Binary_Insertion_Sort │ └── Binary_Insertion_Sort.cpp ├── Bitonic_Sort ├── BubbleSort.c ├── Circle_Sort │ ├── Circle_Sort.c │ ├── Circle_Sort.cpp │ ├── Circle_Sort.java │ ├── Circle_Sort.py │ ├── Circle_Sort │ │ ├── Circle_Sort.c │ │ ├── Circle_Sort.cpp │ │ ├── Circle_Sort.java │ │ ├── Circle_Sort.py │ │ └── README.md │ └── README.md ├── Counting_Sort │ ├── Counting_Sort.cpp │ └── README.md ├── MergeSort.cpp ├── Merge_With_Insertion_Sort │ └── Merge_With_Insertion_Sort.cpp ├── Pancake_Sort │ └── Pancake_Sort.cpp ├── Pigeonhole_Sort │ ├── Pigeonhole_Sort.cpp │ └── README.md ├── Quick_Sort │ ├── Quick Sort.cpp │ ├── Quick_Sort.cpp │ └── README.md ├── Radix_Sort │ ├── README.md │ └── Radix_Sort.cpp ├── Search in a rotated sorted array ├── Shaker_Sort │ ├── README.md │ └── Shaker_Sort.cpp ├── Shell_Sort │ ├── README.md │ └── Shell_Sort.cpp ├── Sleep_Sort │ └── Sleep_Sort.cpp ├── Stooge_sort.cpp ├── Tim_Sort │ ├── README.md │ ├── Tim_Sort.c │ └── Tim_Sort.cpp ├── Topological_Sort │ ├── README.md │ └── Topological_Sort.cpp ├── bubble_sort.cpp ├── dnf_sort.cpp ├── insertionSort.c ├── selectionSort.c ├── upperbound.cpp └── wave_sort.cpp └── trend.jpeg /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/.github/readme.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/.gitignore -------------------------------------------------------------------------------- /AdHoc/Bit Hacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/Bit Hacks.cpp -------------------------------------------------------------------------------- /AdHoc/FastIO.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/FastIO.cpp -------------------------------------------------------------------------------- /AdHoc/Gray Code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/Gray Code.cpp -------------------------------------------------------------------------------- /AdHoc/Infinite Grid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/Infinite Grid.cpp -------------------------------------------------------------------------------- /AdHoc/Josephus Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/Josephus Problem.cpp -------------------------------------------------------------------------------- /AdHoc/Knight Distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/Knight Distance.cpp -------------------------------------------------------------------------------- /AdHoc/RandomShuffle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/RandomShuffle.cpp -------------------------------------------------------------------------------- /AdHoc/U128.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/U128.cpp -------------------------------------------------------------------------------- /AdHoc/__int128.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/AdHoc/__int128.cpp -------------------------------------------------------------------------------- /Array/ARRAY SPIRAL PRINT (Clockwise): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/ARRAY SPIRAL PRINT (Clockwise) -------------------------------------------------------------------------------- /Array/ARRAY_SPIRAL_PRINT_ANTICLOCKWISE.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/ARRAY_SPIRAL_PRINT_ANTICLOCKWISE.cpp -------------------------------------------------------------------------------- /Array/Absolute Diagonal Difference: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Absolute Diagonal Difference -------------------------------------------------------------------------------- /Array/Arrange given numbers to form the biggest number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Arrange given numbers to form the biggest number.cpp -------------------------------------------------------------------------------- /Array/Array Sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Array Sum -------------------------------------------------------------------------------- /Array/ArraySpiralClockwise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/ArraySpiralClockwise.cpp -------------------------------------------------------------------------------- /Array/Arrays waveprint row wise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Arrays waveprint row wise.cpp -------------------------------------------------------------------------------- /Array/BOOK ALLOCATION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/BOOK ALLOCATION -------------------------------------------------------------------------------- /Array/Container With Most Water.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Container With Most Water.cpp -------------------------------------------------------------------------------- /Array/ENCRYPT MESSAGE - Codechef.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/ENCRYPT MESSAGE - Codechef.cpp -------------------------------------------------------------------------------- /Array/Equilibrium_index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Equilibrium_index.cpp -------------------------------------------------------------------------------- /Array/Kadane algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Kadane algorithm.cpp -------------------------------------------------------------------------------- /Array/LargestElementInArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/LargestElementInArray.cpp -------------------------------------------------------------------------------- /Array/MAXIMUM_SUBARRAY.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/MAXIMUM_SUBARRAY.cpp -------------------------------------------------------------------------------- /Array/Maximum Subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Maximum Subarray.cpp -------------------------------------------------------------------------------- /Array/MaximumSumSubarray.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/MaximumSumSubarray.CPP -------------------------------------------------------------------------------- /Array/Moore_Moote_voting_algo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Moore_Moote_voting_algo -------------------------------------------------------------------------------- /Array/MostOccuringInarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/MostOccuringInarray.cpp -------------------------------------------------------------------------------- /Array/Product of Array Except Self.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Product of Array Except Self.cpp -------------------------------------------------------------------------------- /Array/Reverse_Array.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Reverse_Array.txt -------------------------------------------------------------------------------- /Array/Rotate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Rotate.c -------------------------------------------------------------------------------- /Array/RunningSumOf1DArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/RunningSumOf1DArray.cpp -------------------------------------------------------------------------------- /Array/Shuffle_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Shuffle_Array.cpp -------------------------------------------------------------------------------- /Array/SortColors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/SortColors.cpp -------------------------------------------------------------------------------- /Array/SortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/SortedArray.cpp -------------------------------------------------------------------------------- /Array/Square Root Decompostion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Square Root Decompostion.cpp -------------------------------------------------------------------------------- /Array/Strips.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Strips.cpp -------------------------------------------------------------------------------- /Array/Unique_Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Unique_Element.cpp -------------------------------------------------------------------------------- /Array/Wave_print_column_wise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Wave_print_column_wise.cpp -------------------------------------------------------------------------------- /Array/Window Sliding Technique: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/Window Sliding Technique -------------------------------------------------------------------------------- /Array/XOR Queries of a Subarray: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/XOR Queries of a Subarray -------------------------------------------------------------------------------- /Array/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/a.out -------------------------------------------------------------------------------- /Array/array implementation: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/array implementation -------------------------------------------------------------------------------- /Array/arrayManipulation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/arrayManipulation.cpp -------------------------------------------------------------------------------- /Array/binarysearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/binarysearch.cpp -------------------------------------------------------------------------------- /Array/bit_manipulation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/bit_manipulation.cpp -------------------------------------------------------------------------------- /Array/coingame.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/coingame.cpp -------------------------------------------------------------------------------- /Array/counting_inversion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/counting_inversion.c -------------------------------------------------------------------------------- /Array/divsumpair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/divsumpair.cpp -------------------------------------------------------------------------------- /Array/duplicatearray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/duplicatearray.cpp -------------------------------------------------------------------------------- /Array/kadane_subarray_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/kadane_subarray_sum.cpp -------------------------------------------------------------------------------- /Array/left_rotation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/left_rotation.cpp -------------------------------------------------------------------------------- /Array/majority element-II: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/majority element-II -------------------------------------------------------------------------------- /Array/majority_element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/majority_element.cpp -------------------------------------------------------------------------------- /Array/minmax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/minmax.cpp -------------------------------------------------------------------------------- /Array/negative_nos_at_one_end.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/negative_nos_at_one_end.cpp -------------------------------------------------------------------------------- /Array/nthlargest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/nthlargest.cpp -------------------------------------------------------------------------------- /Array/rotate_array_left.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/rotate_array_left.cpp -------------------------------------------------------------------------------- /Array/rotate_array_right.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/rotate_array_right.cpp -------------------------------------------------------------------------------- /Array/rotatearray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/rotatearray.cpp -------------------------------------------------------------------------------- /Array/secLargenoArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/secLargenoArray.cpp -------------------------------------------------------------------------------- /Array/secondSmallestInArray.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/secondSmallestInArray.c -------------------------------------------------------------------------------- /Array/singleOccurance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/singleOccurance.cpp -------------------------------------------------------------------------------- /Array/smallestinArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/smallestinArray.cpp -------------------------------------------------------------------------------- /Array/spiral.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/spiral.cpp -------------------------------------------------------------------------------- /Array/subarray with given sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/subarray with given sum.cpp -------------------------------------------------------------------------------- /Array/thatismyscore.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/thatismyscore.cpp -------------------------------------------------------------------------------- /Array/trappingRainwater.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Array/trappingRainwater.cpp -------------------------------------------------------------------------------- /Bitmasking/CombationalSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/CombationalSum.cpp -------------------------------------------------------------------------------- /Bitmasking/Lexicograhical Order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/Lexicograhical Order.cpp -------------------------------------------------------------------------------- /Bitmasking/Minimum Flips to Make a OR b Equal to c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/Minimum Flips to Make a OR b Equal to c -------------------------------------------------------------------------------- /Bitmasking/NQueens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/NQueens.cpp -------------------------------------------------------------------------------- /Bitmasking/NoOf Number with Duplicates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/NoOf Number with Duplicates.cpp -------------------------------------------------------------------------------- /Bitmasking/PrintSubsetsOfArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/PrintSubsetsOfArray.cpp -------------------------------------------------------------------------------- /Bitmasking/PrintSubsetsSumOfArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/PrintSubsetsSumOfArray.cpp -------------------------------------------------------------------------------- /Bitmasking/ReturnSubsetOfArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/ReturnSubsetOfArray.cpp -------------------------------------------------------------------------------- /Bitmasking/Sudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/Sudoku.cpp -------------------------------------------------------------------------------- /Bitmasking/SwapTwoNibbles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/SwapTwoNibbles.cpp -------------------------------------------------------------------------------- /Bitmasking/add: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Bitmasking/count_set_bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/count_set_bits.cpp -------------------------------------------------------------------------------- /Bitmasking/fastExponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/fastExponent.cpp -------------------------------------------------------------------------------- /Bitmasking/largest_Subset_Pairwise_co prime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Bitmasking/largest_Subset_Pairwise_co prime.cpp -------------------------------------------------------------------------------- /CPU_Scheduling_Algorithms/FCFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/CPU_Scheduling_Algorithms/FCFS.cpp -------------------------------------------------------------------------------- /CPU_Scheduling_Algorithms/SJF.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/CPU_Scheduling_Algorithms/SJF.cpp -------------------------------------------------------------------------------- /CPU_Scheduling_Algorithms/fcfs_arrival.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/CPU_Scheduling_Algorithms/fcfs_arrival.cpp -------------------------------------------------------------------------------- /CPU_Scheduling_Algorithms/priority.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/CPU_Scheduling_Algorithms/priority.cpp -------------------------------------------------------------------------------- /CPU_Scheduling_Algorithms/producer-consumer problem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/CPU_Scheduling_Algorithms/producer-consumer problem.c -------------------------------------------------------------------------------- /CPU_Scheduling_Algorithms/robin_round.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/CPU_Scheduling_Algorithms/robin_round.cpp -------------------------------------------------------------------------------- /DailyCode/Element_difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Element_difference.cpp -------------------------------------------------------------------------------- /DailyCode/Fibonacci_iterative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Fibonacci_iterative.cpp -------------------------------------------------------------------------------- /DailyCode/Hourglass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Hourglass.cpp -------------------------------------------------------------------------------- /DailyCode/Leet 14 - Find Center of Star Graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet 14 - Find Center of Star Graph -------------------------------------------------------------------------------- /DailyCode/Leet1 - round.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet1 - round.cpp -------------------------------------------------------------------------------- /DailyCode/Leet11 - remove covered intervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet11 - remove covered intervals.cpp -------------------------------------------------------------------------------- /DailyCode/Leet13 - lexorder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet13 - lexorder.cpp -------------------------------------------------------------------------------- /DailyCode/Leet2 - sell and buy stocks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet2 - sell and buy stocks.cpp -------------------------------------------------------------------------------- /DailyCode/Leet3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet3.cpp -------------------------------------------------------------------------------- /DailyCode/Leet6 - subarray product less than k.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet6 - subarray product less than k.cpp -------------------------------------------------------------------------------- /DailyCode/Leet7 - twoSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet7 - twoSum.cpp -------------------------------------------------------------------------------- /DailyCode/Leet8 - CombinationSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet8 - CombinationSum.cpp -------------------------------------------------------------------------------- /DailyCode/Leet9 - k diff pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/Leet9 - k diff pairs.cpp -------------------------------------------------------------------------------- /DailyCode/PalindromeInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/PalindromeInteger.cpp -------------------------------------------------------------------------------- /DailyCode/add: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /DailyCode/arithmeticThree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/arithmeticThree.cpp -------------------------------------------------------------------------------- /DailyCode/book_allocation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/book_allocation.cpp -------------------------------------------------------------------------------- /DailyCode/fiblog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/fiblog.cpp -------------------------------------------------------------------------------- /DailyCode/fibonacci_2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/fibonacci_2.cpp -------------------------------------------------------------------------------- /DailyCode/multiply_large_numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/multiply_large_numbers.cpp -------------------------------------------------------------------------------- /DailyCode/palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/palindrome.cpp -------------------------------------------------------------------------------- /DailyCode/reverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/reverse.cpp -------------------------------------------------------------------------------- /DailyCode/starpattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/starpattern.cpp -------------------------------------------------------------------------------- /DailyCode/triangleEverywhere.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/triangleEverywhere.cpp -------------------------------------------------------------------------------- /DailyCode/triangleWithAngle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/triangleWithAngle.cpp -------------------------------------------------------------------------------- /DailyCode/universe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/DailyCode/universe.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/B+ tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/B+ tree.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/BFSShortReach.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/BFSShortReach.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/BinaryTree Algorithm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/BinaryTree Algorithm -------------------------------------------------------------------------------- /Data structures and algorithms/KMPDemo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/KMPDemo.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/KruskalAlgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/KruskalAlgo.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/LongestPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/LongestPath.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/SegmentTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/SegmentTree.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/Segtree_Lazy_Propagation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/Segtree_Lazy_Propagation.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/Travelling_Salesman.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/Travelling_Salesman.cpp -------------------------------------------------------------------------------- /Data structures and algorithms/floyd_warshal_algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Data structures and algorithms/floyd_warshal_algo.cpp -------------------------------------------------------------------------------- /Design LRU Cache/lrucache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Design LRU Cache/lrucache.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/.cph/.Distinct_subsequences.cpp_799c8055c9adbef74e4b4bbaafb67159.prob: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/.cph/.Distinct_subsequences.cpp_799c8055c9adbef74e4b4bbaafb67159.prob -------------------------------------------------------------------------------- /Dynamic_Programming/0-1 Knapsack O(weight) space complexity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/0-1 Knapsack O(weight) space complexity -------------------------------------------------------------------------------- /Dynamic_Programming/0-1 Knapsack Problem - DP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/0-1 Knapsack Problem - DP.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/BoxStackingProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/BoxStackingProblem.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/CoinChangeUnique.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/CoinChangeUnique.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Count Square Submatrices with All Ones: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Count Square Submatrices with All Ones -------------------------------------------------------------------------------- /Dynamic_Programming/CountNumberOfBinaryStrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/CountNumberOfBinaryStrings -------------------------------------------------------------------------------- /Dynamic_Programming/CountNumberOfBinaryStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/CountNumberOfBinaryStrings.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Decode Ways II: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Decode Ways II -------------------------------------------------------------------------------- /Dynamic_Programming/DiameterOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/DiameterOfBinaryTree.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Distinct_subsequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Distinct_subsequences.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Egg Dropping Puzzle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Egg Dropping Puzzle.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/EggDropping.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/EggDropping.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/FibonacciSeriesUsingDynamicProgramming.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/FibonacciSeriesUsingDynamicProgramming.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/House Robber: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/House Robber -------------------------------------------------------------------------------- /Dynamic_Programming/House Robber II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/House Robber II.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/House_Robber_3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/House_Robber_3.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Knapsack Problem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Knapsack Problem -------------------------------------------------------------------------------- /Dynamic_Programming/Knapsacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Knapsacks.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/LAPSwDifference.cpp: -------------------------------------------------------------------------------- 1 | // Longest Arithmetic Progression Subsequence given difference -------------------------------------------------------------------------------- /Dynamic_Programming/LargestContiguousSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/LargestContiguousSum.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/LongestCommonSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/LongestCommonSubsequence.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/LongestIncreasingSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/LongestIncreasingSubsequence.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/LongestPathInMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/LongestPathInMatrix.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/MagicNumberUsingDigitDP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/MagicNumberUsingDigitDP -------------------------------------------------------------------------------- /Dynamic_Programming/MaxPathSumFromLeafToAnyLeaf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/MaxPathSumFromLeafToAnyLeaf.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/MaxPathSumFromNodeToAnyNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/MaxPathSumFromNodeToAnyNode.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/MaximalRectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/MaximalRectangle.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Number_of_Dice_Rolls_for_given_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Number_of_Dice_Rolls_for_given_sum.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Perfect Squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Perfect Squares.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Subset_sum_problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Subset_sum_problem.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/Wildcard_matching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/Wildcard_matching.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/buy_sell_stocks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/buy_sell_stocks.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/climb_stairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/climb_stairs.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/coinchange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/coinchange.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/cut_rod_bottomup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/cut_rod_bottomup.c -------------------------------------------------------------------------------- /Dynamic_Programming/cut_rod_topdown.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/cut_rod_topdown.c -------------------------------------------------------------------------------- /Dynamic_Programming/editDistance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/editDistance.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/house_robber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/house_robber.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/knapsack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/knapsack.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/knapsack_01.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/knapsack_01.c -------------------------------------------------------------------------------- /Dynamic_Programming/longArithmeticProgSub.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/longArithmeticProgSub.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/mcm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/mcm.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/minimum Path sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/minimum Path sum -------------------------------------------------------------------------------- /Dynamic_Programming/nth_bell_Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/nth_bell_Number.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/optimalStratergy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/optimalStratergy.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/removeItem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/removeItem.cpp -------------------------------------------------------------------------------- /Dynamic_Programming/unique paths: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/unique paths -------------------------------------------------------------------------------- /Dynamic_Programming/wildcard matching,: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Dynamic_Programming/wildcard matching, -------------------------------------------------------------------------------- /GAME/VideoGame.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GAME/VideoGame.cpp -------------------------------------------------------------------------------- /GAME/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GAME/readme.md -------------------------------------------------------------------------------- /GoogleKickstart/Google_Kickstart_2020_Round_A_Allocation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Google_Kickstart_2020_Round_A_Allocation.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Google_Kickstart_2020_Round_A_Bundling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Google_Kickstart_2020_Round_A_Bundling.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Google_Kickstart_2020_Round_A_Plates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Google_Kickstart_2020_Round_A_Plates.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Google_Kickstart_2020_Round_A_Workout.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Google_Kickstart_2020_Round_A_Workout.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Kickstart Round F C++(A): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Kickstart Round F C++(A) -------------------------------------------------------------------------------- /GoogleKickstart/Kickstart Round F C++(B): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Kickstart Round F C++(B) -------------------------------------------------------------------------------- /GoogleKickstart/Kickstart Round F C++(C): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Kickstart Round F C++(C) -------------------------------------------------------------------------------- /GoogleKickstart/Kickstart Round F C++(D): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Kickstart Round F C++(D) -------------------------------------------------------------------------------- /GoogleKickstart/Round A 2021 - Kick Start 2021_Checksum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round A 2021 - Kick Start 2021_Checksum.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Round A 2021 - Kick Start 2021_K-Goodness_String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round A 2021 - Kick Start 2021_K-Goodness_String.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Round A 2021 - Kick Start 2021_L Shaped Plots.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round A 2021 - Kick Start 2021_L Shaped Plots.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Round A 2021 - Kick Start 2021_Rabbit_House.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round A 2021 - Kick Start 2021_Rabbit_House.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Round B 2020 - Kick Start 2020_bike_tour.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round B 2020 - Kick Start 2020_bike_tour.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Round C 2020 - Kick Start 2020-countdown.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round C 2020 - Kick Start 2020-countdown.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Round F 2021 - Kick Start 2021 - (A): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round F 2021 - Kick Start 2021 - (A) -------------------------------------------------------------------------------- /GoogleKickstart/Round G 2021 - Kick Start 2021_Dogs_and_Cats.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round G 2021 - Kick Start 2021_Dogs_and_Cats.cpp -------------------------------------------------------------------------------- /GoogleKickstart/Round G 2022-KickStart2022_Curling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/GoogleKickstart/Round G 2022-KickStart2022_Curling.cpp -------------------------------------------------------------------------------- /GoogleKickstart/readme.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Graph/Adjacency_matrix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/Adjacency_matrix -------------------------------------------------------------------------------- /Graph/DisjointSetUnion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/DisjointSetUnion.cpp -------------------------------------------------------------------------------- /Graph/Find_if_a_cycle_exists_in_a_graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/Find_if_a_cycle_exists_in_a_graph.cpp -------------------------------------------------------------------------------- /Graph/KosarajuConnectedComponents.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/KosarajuConnectedComponents.cpp -------------------------------------------------------------------------------- /Graph/MotherVertexKosaraju.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/MotherVertexKosaraju.cpp -------------------------------------------------------------------------------- /Graph/PetersenGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/PetersenGraph.cpp -------------------------------------------------------------------------------- /Graph/adjacencylist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/adjacencylist.cpp -------------------------------------------------------------------------------- /Graph/articulationPoints.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/articulationPoints.cpp -------------------------------------------------------------------------------- /Graph/bellmanFord.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/bellmanFord.cpp -------------------------------------------------------------------------------- /Graph/bfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/bfs.cpp -------------------------------------------------------------------------------- /Graph/bipartite_detection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/bipartite_detection.cpp -------------------------------------------------------------------------------- /Graph/bridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/bridge.cpp -------------------------------------------------------------------------------- /Graph/connected_components.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/connected_components.cpp -------------------------------------------------------------------------------- /Graph/cycle_detection_undirected.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/cycle_detection_undirected.cpp -------------------------------------------------------------------------------- /Graph/detectCycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/detectCycle.cpp -------------------------------------------------------------------------------- /Graph/detectCycleIn_Directed_graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/detectCycleIn_Directed_graph.cpp -------------------------------------------------------------------------------- /Graph/dfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/dfs.cpp -------------------------------------------------------------------------------- /Graph/dijkstra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/dijkstra.cpp -------------------------------------------------------------------------------- /Graph/eulerPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/eulerPath.cpp -------------------------------------------------------------------------------- /Graph/flood_fill.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/flood_fill.cpp -------------------------------------------------------------------------------- /Graph/floydWarshall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/floydWarshall.cpp -------------------------------------------------------------------------------- /Graph/getPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/getPath.cpp -------------------------------------------------------------------------------- /Graph/graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/graph.cpp -------------------------------------------------------------------------------- /Graph/kru: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Graph/krushkalalgousingdsu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/krushkalalgousingdsu.cpp -------------------------------------------------------------------------------- /Graph/krushkalnotes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/krushkalnotes.md -------------------------------------------------------------------------------- /Graph/mst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/mst.cpp -------------------------------------------------------------------------------- /Graph/prims.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/prims.cpp -------------------------------------------------------------------------------- /Graph/scc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/scc.cpp -------------------------------------------------------------------------------- /Graph/topSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/topSort.cpp -------------------------------------------------------------------------------- /Graph/tsp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graph/tsp.cpp -------------------------------------------------------------------------------- /Graphics/BezierCurve.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graphics/BezierCurve.CPP -------------------------------------------------------------------------------- /Graphics/DigitalDifferentialAnalyzer.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graphics/DigitalDifferentialAnalyzer.CPP -------------------------------------------------------------------------------- /Graphics/MidPointCircle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Graphics/MidPointCircle.c -------------------------------------------------------------------------------- /Greedy_Algorithm/BiasedStandings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Greedy_Algorithm/BiasedStandings.cpp -------------------------------------------------------------------------------- /Greedy_Algorithm/Dijsktras_algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Greedy_Algorithm/Dijsktras_algorithm.cpp -------------------------------------------------------------------------------- /Greedy_Algorithm/HuffmanCoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Greedy_Algorithm/HuffmanCoding.cpp -------------------------------------------------------------------------------- /INterviewQuestions/01Knapsack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/01Knapsack.cpp -------------------------------------------------------------------------------- /INterviewQuestions/AggressiveCows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/AggressiveCows.cpp -------------------------------------------------------------------------------- /INterviewQuestions/Equilibrium index of array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/Equilibrium index of array.cpp -------------------------------------------------------------------------------- /INterviewQuestions/Equilibrium index of array.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/Equilibrium index of array.exe -------------------------------------------------------------------------------- /INterviewQuestions/Kadane algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/Kadane algorithm.cpp -------------------------------------------------------------------------------- /INterviewQuestions/LargestNumByRearrangingArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/LargestNumByRearrangingArray.cpp -------------------------------------------------------------------------------- /INterviewQuestions/N-QUEEN-HARD.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/N-QUEEN-HARD.cpp -------------------------------------------------------------------------------- /INterviewQuestions/Prime_Sequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/Prime_Sequence.cpp -------------------------------------------------------------------------------- /INterviewQuestions/add: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/add -------------------------------------------------------------------------------- /INterviewQuestions/anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/anagrams.cpp -------------------------------------------------------------------------------- /INterviewQuestions/convert_integer_to_roman_numeral.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/convert_integer_to_roman_numeral.cpp -------------------------------------------------------------------------------- /INterviewQuestions/countPrimes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/countPrimes.cpp -------------------------------------------------------------------------------- /INterviewQuestions/find_next_permutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/find_next_permutation.cpp -------------------------------------------------------------------------------- /INterviewQuestions/longestSubstringWithoutRepetating.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/longestSubstringWithoutRepetating.cpp -------------------------------------------------------------------------------- /INterviewQuestions/numbertocharacter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/numbertocharacter.cpp -------------------------------------------------------------------------------- /INterviewQuestions/searchinRSA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/searchinRSA.cpp -------------------------------------------------------------------------------- /INterviewQuestions/validparenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/INterviewQuestions/validparenthesis.cpp -------------------------------------------------------------------------------- /LICENSE.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LICENSE.MD -------------------------------------------------------------------------------- /LinkedList/AppendLastNToFirst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/AppendLastNToFirst.cpp -------------------------------------------------------------------------------- /LinkedList/Bubble Sort (Iterative) LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Bubble Sort (Iterative) LinkedList.cpp -------------------------------------------------------------------------------- /LinkedList/Clockwise_rotation _of_Linked_List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Clockwise_rotation _of_Linked_List.cpp -------------------------------------------------------------------------------- /LinkedList/Code Merge Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Code Merge Sort.cpp -------------------------------------------------------------------------------- /LinkedList/Code Reverse LL (Recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Code Reverse LL (Recursive).cpp -------------------------------------------------------------------------------- /LinkedList/Code Merge Two Sorted LL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Code Merge Two Sorted LL.cpp -------------------------------------------------------------------------------- /LinkedList/Code Midpoint of LL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Code Midpoint of LL.cpp -------------------------------------------------------------------------------- /LinkedList/Code Reverse LL (Iterative).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Code Reverse LL (Iterative).cpp -------------------------------------------------------------------------------- /LinkedList/Delete every N nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Delete every N nodes.cpp -------------------------------------------------------------------------------- /LinkedList/Delete(Recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Delete(Recursive).cpp -------------------------------------------------------------------------------- /LinkedList/DeleteNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/DeleteNode.cpp -------------------------------------------------------------------------------- /LinkedList/DeleteNskipM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/DeleteNskipM.cpp -------------------------------------------------------------------------------- /LinkedList/Delete_withou_head_pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Delete_withou_head_pointer.cpp -------------------------------------------------------------------------------- /LinkedList/DivideLLInto2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/DivideLLInto2.cpp -------------------------------------------------------------------------------- /LinkedList/Doubly-linked-list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Doubly-linked-list.cpp -------------------------------------------------------------------------------- /LinkedList/Eliminate duplicates from LL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Eliminate duplicates from LL.cpp -------------------------------------------------------------------------------- /LinkedList/Even after Odd LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Even after Odd LinkedList.cpp -------------------------------------------------------------------------------- /LinkedList/Even-after-odd linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Even-after-odd linked list.cpp -------------------------------------------------------------------------------- /LinkedList/EvenAfterOddLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/EvenAfterOddLL.cpp -------------------------------------------------------------------------------- /LinkedList/Find a Node in Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Find a Node in Linked List.cpp -------------------------------------------------------------------------------- /LinkedList/Find a node in LL (recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Find a node in LL (recursive).cpp -------------------------------------------------------------------------------- /LinkedList/Insert(recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Insert(recursive).cpp -------------------------------------------------------------------------------- /LinkedList/Insert.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Insert.cpp -------------------------------------------------------------------------------- /LinkedList/KReverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/KReverse.cpp -------------------------------------------------------------------------------- /LinkedList/LenghtofLL(recursive).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/LenghtofLL(recursive).cpp -------------------------------------------------------------------------------- /LinkedList/Length of LL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Length of LL.cpp -------------------------------------------------------------------------------- /LinkedList/Length-of-loop-in-linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Length-of-loop-in-linkedlist.cpp -------------------------------------------------------------------------------- /LinkedList/LetFirstBeLast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/LetFirstBeLast.cpp -------------------------------------------------------------------------------- /LinkedList/PallindromList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/PallindromList.cpp -------------------------------------------------------------------------------- /LinkedList/Print Reverse LinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Print Reverse LinkedList.cpp -------------------------------------------------------------------------------- /LinkedList/Print ith node.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Print ith node.cpp -------------------------------------------------------------------------------- /LinkedList/Remove Nth node from end.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Remove Nth node from end.cpp -------------------------------------------------------------------------------- /LinkedList/Reorder a list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Reorder a list -------------------------------------------------------------------------------- /LinkedList/Reverse a link list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Reverse a link list -------------------------------------------------------------------------------- /LinkedList/Reverse_group_of_element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Reverse_group_of_element.cpp -------------------------------------------------------------------------------- /LinkedList/Swap two Nodes of LL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Swap two Nodes of LL.cpp -------------------------------------------------------------------------------- /LinkedList/Swap2nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/Swap2nodes.cpp -------------------------------------------------------------------------------- /LinkedList/UnionLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/UnionLL.cpp -------------------------------------------------------------------------------- /LinkedList/binarytreetraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/binarytreetraversal.cpp -------------------------------------------------------------------------------- /LinkedList/circular_linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/circular_linkedlist.cpp -------------------------------------------------------------------------------- /LinkedList/deepakuma_Palindrome_ll.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/deepakuma_Palindrome_ll.cpp -------------------------------------------------------------------------------- /LinkedList/detection of loop in linked_list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/detection of loop in linked_list.cpp -------------------------------------------------------------------------------- /LinkedList/doubly_linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/doubly_linkedlist.cpp -------------------------------------------------------------------------------- /LinkedList/implement_queue_using _linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/implement_queue_using _linkedlist.cpp -------------------------------------------------------------------------------- /LinkedList/implement_stack_using _linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/implement_stack_using _linkedlist.cpp -------------------------------------------------------------------------------- /LinkedList/intersection_point.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/intersection_point.cpp -------------------------------------------------------------------------------- /LinkedList/kReverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/kReverse.cpp -------------------------------------------------------------------------------- /LinkedList/linked_list_is_palindrome: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/linked_list_is_palindrome -------------------------------------------------------------------------------- /LinkedList/merge two sorted link list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/merge two sorted link list -------------------------------------------------------------------------------- /LinkedList/palindrome or not: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/palindrome or not -------------------------------------------------------------------------------- /LinkedList/quicksortlinkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/quicksortlinkedlist.cpp -------------------------------------------------------------------------------- /LinkedList/remove_duplicates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/remove_duplicates.cpp -------------------------------------------------------------------------------- /LinkedList/singly_linked_list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/singly_linked_list.cpp -------------------------------------------------------------------------------- /LinkedList/singlylinkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/LinkedList/singlylinkedlist.cpp -------------------------------------------------------------------------------- /Maths/AckermannFunction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/AckermannFunction.cpp -------------------------------------------------------------------------------- /Maths/Binary_Exponentiation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/Binary_Exponentiation.cpp -------------------------------------------------------------------------------- /Maths/Check divisibility by 7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/Check divisibility by 7 -------------------------------------------------------------------------------- /Maths/HCF.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/HCF.C -------------------------------------------------------------------------------- /Maths/PrimeFactorise.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/PrimeFactorise.cpp -------------------------------------------------------------------------------- /Maths/binary_addition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/binary_addition.cpp -------------------------------------------------------------------------------- /Maths/decimal_to_octal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/decimal_to_octal.cpp -------------------------------------------------------------------------------- /Maths/euclid_gcd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/euclid_gcd.cpp -------------------------------------------------------------------------------- /Maths/extended_euclids_gcd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/extended_euclids_gcd.cpp -------------------------------------------------------------------------------- /Maths/factorialOfLargeNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/factorialOfLargeNumbers.cpp -------------------------------------------------------------------------------- /Maths/fast_power.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/fast_power.cpp -------------------------------------------------------------------------------- /Maths/fibonacci_matrix_expo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/fibonacci_matrix_expo.cpp -------------------------------------------------------------------------------- /Maths/hcf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/hcf.cpp -------------------------------------------------------------------------------- /Maths/integer_to_roman.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/integer_to_roman.cpp -------------------------------------------------------------------------------- /Maths/nth_catalan_number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/nth_catalan_number.cpp -------------------------------------------------------------------------------- /Maths/pascals_triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/pascals_triangle.cpp -------------------------------------------------------------------------------- /Maths/segmented_sieve.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/segmented_sieve.cpp -------------------------------------------------------------------------------- /Maths/sieve_of_erastothenes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Maths/sieve_of_erastothenes.cpp -------------------------------------------------------------------------------- /Matrix/M x N Size Matrix transpose: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/M x N Size Matrix transpose -------------------------------------------------------------------------------- /Matrix/Matrix chain multilications: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/Matrix chain multilications -------------------------------------------------------------------------------- /Matrix/Sparse Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/Sparse Matrix.cpp -------------------------------------------------------------------------------- /Matrix/SparseMatrixOperations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/SparseMatrixOperations.cpp -------------------------------------------------------------------------------- /Matrix/Spiral_Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/Spiral_Matrix.cpp -------------------------------------------------------------------------------- /Matrix/add: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Matrix/check_sparse_matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/check_sparse_matrix.cpp -------------------------------------------------------------------------------- /Matrix/converting a matrix to sparse matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/converting a matrix to sparse matrix.py -------------------------------------------------------------------------------- /Matrix/generate_spiral_matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/generate_spiral_matrix.cpp -------------------------------------------------------------------------------- /Matrix/gridSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/gridSearch.cpp -------------------------------------------------------------------------------- /Matrix/matrix transpose.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/matrix transpose.cpp -------------------------------------------------------------------------------- /Matrix/matrix_to_sparse_matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/matrix_to_sparse_matrix.cpp -------------------------------------------------------------------------------- /Matrix/matrix_transpose: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/matrix_transpose -------------------------------------------------------------------------------- /Matrix/matrix_transpose.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/matrix_transpose.cpp -------------------------------------------------------------------------------- /Matrix/matrixsearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/matrixsearch.cpp -------------------------------------------------------------------------------- /Matrix/rotate_matrix_by_90degree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/rotate_matrix_by_90degree.cpp -------------------------------------------------------------------------------- /Matrix/sparce_matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/sparce_matrix.cpp -------------------------------------------------------------------------------- /Matrix/sparse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Matrix/sparse.cpp -------------------------------------------------------------------------------- /Patterns/DiamondPattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Patterns/DiamondPattern.cpp -------------------------------------------------------------------------------- /Patterns/FloydsTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Patterns/FloydsTriangle.cpp -------------------------------------------------------------------------------- /Patterns/Ganesha_pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Patterns/Ganesha_pattern.cpp -------------------------------------------------------------------------------- /Patterns/PascalsTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Patterns/PascalsTriangle.cpp -------------------------------------------------------------------------------- /Patterns/PatternTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Patterns/PatternTriangle.cpp -------------------------------------------------------------------------------- /Patterns/add: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Patterns/countingPattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Patterns/countingPattern.cpp -------------------------------------------------------------------------------- /Patterns/half_pyramid_using_numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Patterns/half_pyramid_using_numbers.cpp -------------------------------------------------------------------------------- /Patterns/pascal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Patterns/pascal.c -------------------------------------------------------------------------------- /Projects/CreditCardValidator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Projects/CreditCardValidator.cpp -------------------------------------------------------------------------------- /Projects/TicTacToe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Projects/TicTacToe.cpp -------------------------------------------------------------------------------- /Projects/determinant_solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Projects/determinant_solver.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/README.md -------------------------------------------------------------------------------- /Sorting&Searching/BinarySearch_1D/BinarySearch_1D.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/BinarySearch_1D/BinarySearch_1D.png -------------------------------------------------------------------------------- /Sorting&Searching/BinarySearch_1D/binary_search_1d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/BinarySearch_1D/binary_search_1d -------------------------------------------------------------------------------- /Sorting&Searching/BinarySearch_1D/binary_search_1d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/BinarySearch_1D/binary_search_1d.c -------------------------------------------------------------------------------- /Sorting&Searching/Bogo_Sort: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/Bogo_Sort -------------------------------------------------------------------------------- /Sorting&Searching/Bubble_sort_pro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/Bubble_sort_pro.c -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/BinarySearch.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/BinarySearch.java -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/aggressiveCows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/aggressiveCows.cpp -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/binarySearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/binarySearch.cpp -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/binarySearch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/binarySearch.py -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/bookAllocationProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/bookAllocationProblem.cpp -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/firstLastPosition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/firstLastPosition.cpp -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/peakInMountain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/peakInMountain.cpp -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/pivot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/pivot.cpp -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/searchRotatedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/searchRotatedArray.cpp -------------------------------------------------------------------------------- /Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/sqrt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/CompleteBinary Search with Begineer to advance Problems/sqrt.cpp -------------------------------------------------------------------------------- /Sorting&Searching/Dijkstra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/Dijkstra.cpp -------------------------------------------------------------------------------- /Sorting&Searching/Exponential_Search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/Exponential_Search.cpp -------------------------------------------------------------------------------- /Sorting&Searching/FibonacciSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/FibonacciSearch.cpp -------------------------------------------------------------------------------- /Sorting&Searching/Heap_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/Heap_sort.cpp -------------------------------------------------------------------------------- /Sorting&Searching/Iterative_Merge_Sort.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/Iterative_Merge_Sort.CPP -------------------------------------------------------------------------------- /Sorting&Searching/Pigeon_Sort: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/Pigeon_Sort -------------------------------------------------------------------------------- /Sorting&Searching/RADIX SORT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/RADIX SORT.cpp -------------------------------------------------------------------------------- /Sorting&Searching/Tree_Sort: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/Tree_Sort -------------------------------------------------------------------------------- /Sorting&Searching/add: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Sorting&Searching/binarySearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/binarySearch.cpp -------------------------------------------------------------------------------- /Sorting&Searching/bubble_sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/bubble_sort.c -------------------------------------------------------------------------------- /Sorting&Searching/bubble_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/bubble_sort.cpp -------------------------------------------------------------------------------- /Sorting&Searching/bucketSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/bucketSort.cpp -------------------------------------------------------------------------------- /Sorting&Searching/counting_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/counting_sort.cpp -------------------------------------------------------------------------------- /Sorting&Searching/cyclic_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/cyclic_sort.cpp -------------------------------------------------------------------------------- /Sorting&Searching/heap_sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/heap_sort.c -------------------------------------------------------------------------------- /Sorting&Searching/insertion_sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/insertion_sort.c -------------------------------------------------------------------------------- /Sorting&Searching/interpolation_search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/interpolation_search.cpp -------------------------------------------------------------------------------- /Sorting&Searching/jump_search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/jump_search.cpp -------------------------------------------------------------------------------- /Sorting&Searching/jumpsearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/jumpsearch.cpp -------------------------------------------------------------------------------- /Sorting&Searching/linear_search.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/linear_search.c -------------------------------------------------------------------------------- /Sorting&Searching/mergesort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/mergesort.cpp -------------------------------------------------------------------------------- /Sorting&Searching/pancakeSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/pancakeSort.cpp -------------------------------------------------------------------------------- /Sorting&Searching/quicksort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/quicksort.c -------------------------------------------------------------------------------- /Sorting&Searching/sort_linkedlist_using_insertion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sorting&Searching/sort_linkedlist_using_insertion.cpp -------------------------------------------------------------------------------- /Stacks/Balanced_parenthesis_using_stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Balanced_parenthesis_using_stack.cpp -------------------------------------------------------------------------------- /Stacks/Brackets_Validator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Brackets_Validator.cpp -------------------------------------------------------------------------------- /Stacks/Celebrity Problem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Celebrity Problem -------------------------------------------------------------------------------- /Stacks/Next_Larger_Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Next_Larger_Element.cpp -------------------------------------------------------------------------------- /Stacks/Parentheses_checker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Parentheses_checker.c -------------------------------------------------------------------------------- /Stacks/Parentheses_checker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Parentheses_checker.cpp -------------------------------------------------------------------------------- /Stacks/StackUsingTwoQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/StackUsingTwoQueue.cpp -------------------------------------------------------------------------------- /Stacks/Stack_ft_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Stack_ft_array.c -------------------------------------------------------------------------------- /Stacks/Stack_using_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Stack_using_array.cpp -------------------------------------------------------------------------------- /Stacks/Stacks_using_linkedlist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Stacks_using_linkedlist.c -------------------------------------------------------------------------------- /Stacks/Tracking Current maximum element in stack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/Tracking Current maximum element in stack -------------------------------------------------------------------------------- /Stacks/dequeue_using_stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/dequeue_using_stack.cpp -------------------------------------------------------------------------------- /Stacks/find_min_element_in_stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/find_min_element_in_stack.cpp -------------------------------------------------------------------------------- /Stacks/pseudo code for queue operation with 2 stacks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/pseudo code for queue operation with 2 stacks -------------------------------------------------------------------------------- /Stacks/reverse_stack_using_recursion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/reverse_stack_using_recursion.cpp -------------------------------------------------------------------------------- /Stacks/stack_duplicate_parenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/stack_duplicate_parenthesis.cpp -------------------------------------------------------------------------------- /Stacks/valid parentheses.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Stacks/valid parentheses.c -------------------------------------------------------------------------------- /StandardAlgos/Activity_Selection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/StandardAlgos/Activity_Selection.cpp -------------------------------------------------------------------------------- /StandardAlgos/FCFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/StandardAlgos/FCFS.cpp -------------------------------------------------------------------------------- /StandardAlgos/KMP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/StandardAlgos/KMP.cpp -------------------------------------------------------------------------------- /StandardAlgos/Knapsack_Fractional.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/StandardAlgos/Knapsack_Fractional.cpp -------------------------------------------------------------------------------- /StandardAlgos/KnuthMorrisPratt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/StandardAlgos/KnuthMorrisPratt.cpp -------------------------------------------------------------------------------- /StandardAlgos/RussianPeasant.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/StandardAlgos/RussianPeasant.cpp -------------------------------------------------------------------------------- /StandardAlgos/add: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /StandardAlgos/priority_deadline.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/StandardAlgos/priority_deadline.cpp -------------------------------------------------------------------------------- /Strings/C++string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/C++string.cpp -------------------------------------------------------------------------------- /Strings/FirstNonRepeatingChar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/FirstNonRepeatingChar.cpp -------------------------------------------------------------------------------- /Strings/FirstRepeatingChar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/FirstRepeatingChar.cpp -------------------------------------------------------------------------------- /Strings/KMP_algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/KMP_algo.cpp -------------------------------------------------------------------------------- /Strings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/README.md -------------------------------------------------------------------------------- /Strings/Remove characters from alphanumeric string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/Remove characters from alphanumeric string.cpp -------------------------------------------------------------------------------- /Strings/Z_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/Z_function.cpp -------------------------------------------------------------------------------- /Strings/ZippedString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/ZippedString.cpp -------------------------------------------------------------------------------- /Strings/compressString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/compressString.cpp -------------------------------------------------------------------------------- /Strings/delete_consecutiveduplicate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/delete_consecutiveduplicate.cpp -------------------------------------------------------------------------------- /Strings/knuth_morris_pratt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/knuth_morris_pratt.cpp -------------------------------------------------------------------------------- /Strings/parenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/parenthesis.cpp -------------------------------------------------------------------------------- /Strings/reverse_words.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/reverse_words.cpp -------------------------------------------------------------------------------- /Strings/split.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/split.cpp -------------------------------------------------------------------------------- /Strings/string_compression_vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Strings/string_compression_vector.cpp -------------------------------------------------------------------------------- /Sudoku_Solver/SUDOKU_SOLVER.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sudoku_Solver/SUDOKU_SOLVER.C -------------------------------------------------------------------------------- /Sudoku_Solver/sudoku_solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Sudoku_Solver/sudoku_solver.cpp -------------------------------------------------------------------------------- /Trees/AVLTREE.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/AVLTREE.C -------------------------------------------------------------------------------- /Trees/B+ tree insertion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/B+ tree insertion.cpp -------------------------------------------------------------------------------- /Trees/BTREE.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/BTREE.C -------------------------------------------------------------------------------- /Trees/BinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/BinarySearchTree.cpp -------------------------------------------------------------------------------- /Trees/Binary_Search_Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Binary_Search_Tree.cpp -------------------------------------------------------------------------------- /Trees/Binary_Tree_Left_View.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Binary_Tree_Left_View.cpp -------------------------------------------------------------------------------- /Trees/Bottom-View.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Bottom-View.cpp -------------------------------------------------------------------------------- /Trees/Boundary-Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Boundary-Traversal.cpp -------------------------------------------------------------------------------- /Trees/Building_tree_from_inorder _and_postorder_traversals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Building_tree_from_inorder _and_postorder_traversals.cpp -------------------------------------------------------------------------------- /Trees/CheckTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/CheckTree.cpp -------------------------------------------------------------------------------- /Trees/DiameterOfTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/DiameterOfTree.cpp -------------------------------------------------------------------------------- /Trees/DiameterofBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/DiameterofBinaryTree.cpp -------------------------------------------------------------------------------- /Trees/Find_Bottom_Left_Tree_value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Find_Bottom_Left_Tree_value.cpp -------------------------------------------------------------------------------- /Trees/Flatten a binary tree to link list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Flatten a binary tree to link list -------------------------------------------------------------------------------- /Trees/Inorder_Traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Inorder_Traversal.cpp -------------------------------------------------------------------------------- /Trees/Kth_Smallest_Element_in_BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Kth_Smallest_Element_in_BST.cpp -------------------------------------------------------------------------------- /Trees/Least_Common_Ancestor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Least_Common_Ancestor.cpp -------------------------------------------------------------------------------- /Trees/Populating Next Right Pointers in Each Node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Populating Next Right Pointers in Each Node -------------------------------------------------------------------------------- /Trees/SegTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/SegTree.cpp -------------------------------------------------------------------------------- /Trees/SerializeDeserialize.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/SerializeDeserialize.cpp -------------------------------------------------------------------------------- /Trees/Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/Trie.cpp -------------------------------------------------------------------------------- /Trees/TwoSumBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/TwoSumBST.cpp -------------------------------------------------------------------------------- /Trees/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/a.out -------------------------------------------------------------------------------- /Trees/add: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Trees/avl_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/avl_tree.cpp -------------------------------------------------------------------------------- /Trees/bottom_view.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/bottom_view.cpp -------------------------------------------------------------------------------- /Trees/convert_binary_tree_to_mirror_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/convert_binary_tree_to_mirror_tree.cpp -------------------------------------------------------------------------------- /Trees/diameter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/diameter.cpp -------------------------------------------------------------------------------- /Trees/inorder_traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/inorder_traversal.cpp -------------------------------------------------------------------------------- /Trees/invert_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/invert_tree.cpp -------------------------------------------------------------------------------- /Trees/k_smallest_el_bst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/k_smallest_el_bst.cpp -------------------------------------------------------------------------------- /Trees/lca.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/lca.cpp -------------------------------------------------------------------------------- /Trees/left_view.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/left_view.cpp -------------------------------------------------------------------------------- /Trees/level-order-traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/level-order-traversal.cpp -------------------------------------------------------------------------------- /Trees/level-order-traversal_usingBFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/level-order-traversal_usingBFS.cpp -------------------------------------------------------------------------------- /Trees/morris traversal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/morris traversal -------------------------------------------------------------------------------- /Trees/shortest_distance_between_two_nodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/shortest_distance_between_two_nodes.cpp -------------------------------------------------------------------------------- /Trees/sum_of_node.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/sum_of_node.cpp -------------------------------------------------------------------------------- /Trees/tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/tree.cpp -------------------------------------------------------------------------------- /Trees/tree_zig_zag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trees/tree_zig_zag.cpp -------------------------------------------------------------------------------- /Trie/trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trie/trie.cpp -------------------------------------------------------------------------------- /Trie/word-break.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/Trie/word-break.cpp -------------------------------------------------------------------------------- /heap/KclosestElements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/heap/KclosestElements.cpp -------------------------------------------------------------------------------- /heap/basic-stl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/heap/basic-stl.cpp -------------------------------------------------------------------------------- /heap/maxHeap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/heap/maxHeap.cpp -------------------------------------------------------------------------------- /heap/minHeap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/heap/minHeap.cpp -------------------------------------------------------------------------------- /heap/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/heap/readme.md -------------------------------------------------------------------------------- /images/readme.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /queue/Code _ Queue Using LL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/queue/Code _ Queue Using LL.cpp -------------------------------------------------------------------------------- /queue/circularQueueArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/queue/circularQueueArray.cpp -------------------------------------------------------------------------------- /queue/circular_queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/queue/circular_queue.cpp -------------------------------------------------------------------------------- /queue/queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/queue/queue.cpp -------------------------------------------------------------------------------- /queue/queueUsingStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/queue/queueUsingStack.cpp -------------------------------------------------------------------------------- /queue/queue_using_stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/queue/queue_using_stack.cpp -------------------------------------------------------------------------------- /queue/reverseQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/queue/reverseQueue.cpp -------------------------------------------------------------------------------- /queue/two_stacks.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/queue/two_stacks.c -------------------------------------------------------------------------------- /recursion/KthGrammarSymbol.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/recursion/KthGrammarSymbol.cpp -------------------------------------------------------------------------------- /recursion/LetterCombinationsPhoneNum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/recursion/LetterCombinationsPhoneNum.cpp -------------------------------------------------------------------------------- /recursion/NQueensProbleam.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/recursion/NQueensProbleam.cpp -------------------------------------------------------------------------------- /recursion/RatInAMaze.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/recursion/RatInAMaze.cpp -------------------------------------------------------------------------------- /recursion/TOH.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/recursion/TOH.cpp -------------------------------------------------------------------------------- /recursion/generateParenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/recursion/generateParenthesis.cpp -------------------------------------------------------------------------------- /sorting/Binary_Insertion_Sort/Binary_Insertion_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Binary_Insertion_Sort/Binary_Insertion_Sort.cpp -------------------------------------------------------------------------------- /sorting/Bitonic_Sort: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Bitonic_Sort -------------------------------------------------------------------------------- /sorting/BubbleSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/BubbleSort.c -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort.c -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort.cpp -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort.java -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort.py -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort/Circle_Sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort/Circle_Sort.c -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort/Circle_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort/Circle_Sort.cpp -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort/Circle_Sort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort/Circle_Sort.java -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort/Circle_Sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort/Circle_Sort.py -------------------------------------------------------------------------------- /sorting/Circle_Sort/Circle_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/Circle_Sort/README.md -------------------------------------------------------------------------------- /sorting/Circle_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Circle_Sort/README.md -------------------------------------------------------------------------------- /sorting/Counting_Sort/Counting_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Counting_Sort/Counting_Sort.cpp -------------------------------------------------------------------------------- /sorting/Counting_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Counting_Sort/README.md -------------------------------------------------------------------------------- /sorting/MergeSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/MergeSort.cpp -------------------------------------------------------------------------------- /sorting/Merge_With_Insertion_Sort/Merge_With_Insertion_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Merge_With_Insertion_Sort/Merge_With_Insertion_Sort.cpp -------------------------------------------------------------------------------- /sorting/Pancake_Sort/Pancake_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Pancake_Sort/Pancake_Sort.cpp -------------------------------------------------------------------------------- /sorting/Pigeonhole_Sort/Pigeonhole_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Pigeonhole_Sort/Pigeonhole_Sort.cpp -------------------------------------------------------------------------------- /sorting/Pigeonhole_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Pigeonhole_Sort/README.md -------------------------------------------------------------------------------- /sorting/Quick_Sort/Quick Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Quick_Sort/Quick Sort.cpp -------------------------------------------------------------------------------- /sorting/Quick_Sort/Quick_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Quick_Sort/Quick_Sort.cpp -------------------------------------------------------------------------------- /sorting/Quick_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Quick_Sort/README.md -------------------------------------------------------------------------------- /sorting/Radix_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Radix_Sort/README.md -------------------------------------------------------------------------------- /sorting/Radix_Sort/Radix_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Radix_Sort/Radix_Sort.cpp -------------------------------------------------------------------------------- /sorting/Search in a rotated sorted array: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Search in a rotated sorted array -------------------------------------------------------------------------------- /sorting/Shaker_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Shaker_Sort/README.md -------------------------------------------------------------------------------- /sorting/Shaker_Sort/Shaker_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Shaker_Sort/Shaker_Sort.cpp -------------------------------------------------------------------------------- /sorting/Shell_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Shell_Sort/README.md -------------------------------------------------------------------------------- /sorting/Shell_Sort/Shell_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Shell_Sort/Shell_Sort.cpp -------------------------------------------------------------------------------- /sorting/Sleep_Sort/Sleep_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Sleep_Sort/Sleep_Sort.cpp -------------------------------------------------------------------------------- /sorting/Stooge_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Stooge_sort.cpp -------------------------------------------------------------------------------- /sorting/Tim_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Tim_Sort/README.md -------------------------------------------------------------------------------- /sorting/Tim_Sort/Tim_Sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Tim_Sort/Tim_Sort.c -------------------------------------------------------------------------------- /sorting/Tim_Sort/Tim_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Tim_Sort/Tim_Sort.cpp -------------------------------------------------------------------------------- /sorting/Topological_Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Topological_Sort/README.md -------------------------------------------------------------------------------- /sorting/Topological_Sort/Topological_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/Topological_Sort/Topological_Sort.cpp -------------------------------------------------------------------------------- /sorting/bubble_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/bubble_sort.cpp -------------------------------------------------------------------------------- /sorting/dnf_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/dnf_sort.cpp -------------------------------------------------------------------------------- /sorting/insertionSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/insertionSort.c -------------------------------------------------------------------------------- /sorting/selectionSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/selectionSort.c -------------------------------------------------------------------------------- /sorting/upperbound.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/upperbound.cpp -------------------------------------------------------------------------------- /sorting/wave_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/sorting/wave_sort.cpp -------------------------------------------------------------------------------- /trend.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akshitagit/CPP/HEAD/trend.jpeg --------------------------------------------------------------------------------