What is Quicksort?
Quicksort is a divide and conquer algorithm. It first divides a large list into two smaller sub-lists and then recursively sort the two sub-lists. If we want to sort an array without any extra space, Quicksort is a good option. On average, time complexity is O(n log(n)). Continue reading Quicksort array in Java
Logging is one of the most important parts of software development. When the project getting larger, debugging without a logging system is completely impossible. Developers really need a sufficient logging system!
Logging means store software errors (alerts, warning and so on) with a perfect details. They just could be stored in a directory (In my opinion, the best one), database or even be sent to an email (In my opinion, the worst one!).
Logs illuminates the way of debugging. When error occurs, you won’t tell unknown users the details, just say “Oops!” or something like that, and log all details you need, then you can find the bug easily…
Continue reading Logging in PHP with PHPLogger