Feb 14HTTPWhat is it? HTTP (Hypertext Transfer Protocol) is a communication protocol for sending and receiving information. Since the Web uses the HTTP protocol as a method for exchanging data between the browser and the server, it is one of the essential knowledge for front-end developers.Https3 min read
Feb 8Quick Sort — [Introduction to Algorithms]What is Quick Sort Quicksort is an algorithm that sorts an array of n elements in O(n²) time in the worst case. In this worst case, quicksort is slow, but the average execution time is O(n log n), which is very efficient, and the constant factor hidden in O(n log n) is very small. …Quicksort2 min read
Feb 1Priority Queue — [Introduction to Algorithms]About Heap In a previous post, I introduced heap sort, which is a sort that uses heaps. Although heapsort is a good algorithm, a great implementation of quicksort, which we’ll discuss later, is usually quicker. …Priority Queue3 min read
Jan 30Heap Sort — [Introduction to Algorithms]From now on, I’m going to start TIL on Introduction to Algorithms. We’ll look at why this book starts with sorting algorithms, and I’ll go through heap and heap sorting. Why sorting algorithms? Sorting is considered by many computer scientists to be the most fundamental topic in the algorithmic study. …Heap4 min read
Jan 30Why should we study algorithms? — [Introduction to Algorithms]What is an Algorithm? An algorithm, in simple words, is a well-defined computational technique that takes a value or set of values as input and outputs another value or collection of values. As a result, an algorithm can be defined as a set of computations that turns an input into an output. Algorithms can…Algorithms2 min read