Code Monkey home page Code Monkey logo

algoexpert-solutions's Introduction

Algoexpert Solutions in Swift

Sections


Arrays

  • Two Number Sum
  • Sorted Square Array
  • Validate Subsequence
  • Tournament Winner
  • Non-Constructable Change
  • Three Number Sum
  • First Duplicate Value
  • Smallest Difference
  • Move Element to End
  • Monotonic Array
  • Array of Products
  • Spiral Traverse
  • Longest Peak
  • Merge Overlapping Intervals
  • Four Number Sum
  • Subarray Sort
  • Largest Range
  • Min Rewards
  • Zigzag Traverse
  • Apartment Hunting
  • Calendar Matching
  • Waterfall Streams
  • Minimum Area Rectangle
  • Line Through Points

Binary Search Trees

  • Find Closest Value In BST
  • BST Construction
  • Validate BST
  • BST Traversal
  • Min Height BST
  • Find Kth Largest Value In BST
  • Reconstruct BST
  • Same BSTs
  • Validate Three Nodes
  • Right Smaller Than

Binary Trees

  • Branch Sums
  • Node Depths
  • Invert Binary Tree
  • Binary Tree Diameter
  • Find Successor
  • Height Balanced Binary Tree
  • Max Path Sum In Binary Tree
  • Find Nodes Distance K
  • Iterative In-order Traversal
  • Flatten Binary Tree
  • Right Sibling Tree
  • All Kinds Of Node Depths
  • Compare Leaf Traversal

Dynamic Programming

  • Max Subset Sum No Adjacent
  • Number Of Ways To Make Change
  • Min Number Of Coins To Make Change
  • Levenshtein Distance
  • Number Of Ways To Traverse Graph
  • Mac Sum Increasing Subset
  • Longest Common Subsequence
  • Min Number Of Jumps
  • Water Area
  • Knapsack Problem
  • Disk Stacking
  • Numbers In Pi
  • Maximum Sum Submatrix
  • Maximize Expression
  • Max Profit With K Transactions
  • Palindrome Partitioning
  • Longest Increasing Subseqence
  • Longest String Chain
  • Square Of Zeroes

Famous Algorithms

  • Kadane's Algorithm
  • Dijkstra's Algorithm
  • Topological Sort
  • Knuth - Morris - Pratt Algorithm
  • A* Algorithm

Graphs

  • Depth-first Search
  • Breadth-first Search
  • Single Cycle Check
  • River Sizes
  • Youngest Common Ancestor
  • Remove Islands
  • Cycle In Graph
  • Minimum Passes of Matrix
  • Boggle Board
  • Rectangle Mania
  • Detect Arbitrage
  • Airport Connections
  • Two-Edge-Connected Graph

Greedy Algorithms

  • Minimum Waiting Time
  • Class Photos
  • Tandem Bicycle
  • Task Assignment
  • Valid Starting City

Heaps

  • Min Heap COnstruction
  • Continuous Median
  • Sort K-Sorted Array
  • Laptop Rentals
  • Merge Sorted Arrays

Linked Lists

  • Remove Duplicates From Linked List
  • Linked List Construction
  • Remove Kth Node From End
  • Sum of Linked Lists
  • Find Loop
  • Reverse Linked List
  • Shift Linked List
  • LRU Cache
  • Rearrange Linked List
  • Linked List Palindrome
  • Zip Linked List
  • Node Swap

Recursion

  • Nth Fibonacci
  • Product Sum
  • Permutations
  • Powerset
  • Phone Number Mnemonics
  • Staircase Traversal
  • Lowest Common Manager
  • Interweaving Strings
  • Solve Sudoku
  • Generate Div Tags
  • Ambiguous Measurements
  • Number of Binary Tree Topologies
  • Non-Attacking Queens

Searching

  • Binary Search
  • Find Three Largest Numbers
  • Search In Sorted Matrix
  • Shifted Binary Search
  • Search For Range
  • Quickselect
  • Index Equals Valuye

Sorting

  • Bubble Sort
  • Insertion Sort
  • Selection Sort
  • Three Number Sort
  • Quick Sort
  • Heap Sort
  • Radix Sort
  • Merge Sort
  • Count Inversions

Stacks

  • Min Max Stack Construction
  • Balanced Brackets
  • Sunset Views
  • Sort Stack
  • Next Greater Element
  • Shorten Path
  • Largest Rectangle Under Skyline

Strings

  • Palindrome Check
  • Run-Length Encoding
  • First Non-Repeating Character
  • Caesar Cipher Encrypting
  • Generate Document
  • Reverse Words In String
  • Longest Palindromic Substring
  • Group Anagrams
  • Valid IP Addresses
  • Minimum Characters For Words
  • Longest Substring Without Duplication
  • Underscorify Substring
  • Pattern Matcher
  • Smallest Substring Containing
  • Longest Balanced Substring

Tries

  • Suffix Trie Construction
  • Multi String Search

algoexpert-solutions's People

Contributors

0alternis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.