2024-10-29 16:01:30 -04:00

Data Structures And Algorithms Studying in C++

Overview

This is just studying for coding interviews. It loosely follows "Cracking the Coding Interview" by Gayle Laakmann McDowell. The code is structured by keeping the implementations in the lib directory and the study questions in the tests directory. The build system, meson, supports pulling down other projects and integrating them. CPPUTEST is pulled down with a wrap file.

Initialization

Toolchain

I use devbox to handle the toolchain dependencies. If you have not installed it, it is pretty easy at Installing Devbox. After that just run the following in a shell from this directory:

  devbox shell

The Build System (Meson)

Initialize build directory and pull down the sub projects via the meson "wrap" feature:

  meson setup build

Testing

To run the tests:

  meson test -C build
Description
Practice for Data Structures and Algorithms (DSA) coding interviews.
Readme 51 KiB
Languages
C++ 94.2%
Meson 5.8%