Skip to content

Coding for practice on things I don't use that often; mostly in PHP

Notifications You must be signed in to change notification settings

megdesko/practice-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

practice-coding

This is my place to put practice algorithms and is a work in progress. I write code at work, but it's more functional and less theoretical. To fill in some of the gaps in my CS background, I'm practicing writing algorithms. Most of these are implemented in PHP because it's my most comfortable language.

Topics:

Arrays and Strings

  • Moving average of array
  • is palindrome?
  • string compression
  • finding unique characters in a string
  • reverse a string without using string_reverse

Recursion

  • Factorial
  • Fibonacci numbers
  • String permutations

Sorting

  • Bubble sort
  • Merge sort
  • Quicksort

Trees

Search

  • binary search

Linked Lists

  • implement
  • delete a node by key
  • delete duplicate nodes
  • find kth from end item
  • partition list (greater/less than certain data value)
  • read the list

About

Coding for practice on things I don't use that often; mostly in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages