John Song

John Song

Senior at THHS. Founder and President of the C++ Coding Club. Highly interested in Computer Science.
Column: Finding a shortest path and Breadth-first search

Column: Finding a shortest path and Breadth-first search

What is a Breadth-first search? If you have a tree structure as below and visit the root node, and then all of its children, and all of its children’s children, and so on, that’s a so-called Breadth-first search. In this case, the order will be: A => B => C...

Column: Breaking down the uses of lambda

Column: Breaking down the uses of lambda

What is lambda? You may know that it’s the eleventh letter in the Greek alphabet. Perhaps you recall from Physics that it’s the symbol used to represent wavelength in calculations, or you might have heard about it from other places. In C++, a lambda is an expression...

Opinion: std::map vs std::unordered_map

Opinion: std::map vs std::unordered_map

Computer programs are often used to store and access large amounts of data, with one example being a program to manage students’ data. If a teacher wanted to modify a student’s information, they would want to find the student quickly and update it. They’d also want to...