nikneal91 / javaCollections

MIT License
0 stars 0 forks source link

javaCollections

Blind75 Java Solutions

Problem Solution File Description
Bitwise Sum BitwiseSum.java Computes the sum using bitwise operations
Clone Graph CloneGraph.java Creates a deep copy of a graph
Coin Change CoinChange.java Finds minimum coins for a given amount
Contains Duplicate ContainDuplicate.java Checks if an array has duplicates
Detect Cycle DetectCycle.java Detects a cycle in a linked list
Max Product Subarray MaxProduct.java Finds the maximum product of a subarray
Minimum in Rotated Array MinRotated.java Finds the minimum in a rotated sorted array
Count 1 Bits OneBits.java Counts the number of 1 bits in an integer
Prefix Suffix Products PrefixSuffixProducts.java Calculates prefix and suffix products
Reorder List ReOrder.java Reorders a linked list
Reverse Linked List ReverseLinkedList.java Reverses a linked list
Two Sum TwoSum.java Finds two numbers that add to a target
Buy and Sell Stocks buySellStocks.java Determines the best time to buy and sell stocks
Maximum Subarray (Kadane’s) kadane.java Finds the maximum sum subarray

Note Use Ctrl+Shift+V to preview in vscode with markdown preview extension

Java Datastructure Practise

Problem Solution File Description
Binary Search Tree (BST) BST.java Implements a binary search tree
Binary Search BinarySearch.java Performs binary search on a sorted array
Custom Linked List CustomLInkedList.java Custom implementation of a linked list
Detect Cycle DetectCycle.java Detects a cycle in a linked list
Even Number Stream EvenNumberStream.java Streams even numbers
Even Index Elements EventIndex.java Extracts elements at even indices
Generate Binary Numbers GenerateBinary.java Generates binary numbers up to a given limit
Linear Search LinearSearch.java Performs linear search on an array
Matching Elements Matching.java Finds matching elements in two arrays
Matching Parentheses MatchingParenthesis.java Checks for balanced parentheses
Missing Array Member MissingArrayMemeber.java Finds the missing member in an array
Next Greater Element (NGE) NGE.java Finds the next greater element for each element
Next Smaller Element (NSE) NSE.java Finds the next smaller element for each element
Normalize String Normalize.java Normalizes a string to a standard format
Test Switch Statement TestSwitch.java Tests switch statement cases
Validation Algorithm ValidationAlgorithm.java Implements a basic validation algorithm