Skip to content
kenjohnson edited this page Oct 18, 2019 · 5 revisions

programmingQuestions

Introduction

This is a set of programming questions. The questions are about strings, arrays, linked list,
recursion, trees, and graphs.

File structure

The top of the file has a few comment lines that should say what the problem is. The rest of the file is the solution to that problem.

Languages used

The solutions are done in Javascript, using ES6.
Starting in 2019, I have added solutions written in Python.

How to Run Javascript on Windows

You should have installed node and ES6.
To run, bring up a command terminal window, then at the command line type:

node myFile.js

How to run Python on Windows

The best way is with an IDE such as Wingware Python IDE.

Another way, is to bring up a bash shell and type in
python myfile.py