Chapter 10. Looking at Advanced Algorithms

In this chapter, we will cover:

  • Using getters and setters
  • Implementing a linked list
  • Building a bubble sort
  • Implementing a stack
  • Building a binary search class
  • Implementing a search engine
  • Displaying a multi-dimensional array and accumulating totals

Introduction

In this chapter, we cover recipes that implement various advanced algorithms such as linked list, bubble sort, stacks, and binary search. In addition, we cover getters and setters, as well as implementing a search engine and displaying values from a multi-dimensional array with accumulated totals.

Get PHP 7 Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.