danieltian/ReverseLinkedList
C# project that implements a bare-bones linked list with a reverse method that reverses the order of elements in the list.
C# Implementation of FizzBuzz, with unit tests. FizzBuzz is a programming exercise that tasks the programmer to write a program that prints out the values from 1 to 100, except that if the number is divisble by 3, it prints out "Fizz", if the number is divisible by 5, it prints out "Buzz", and if it's divisible by both 3 and 5, it prints out "FizzBuzz". This exercise is often used to screen out 'programmers' who claim to be able to program, but can't write a simple for loop. This version uses NUnit unit tests, so you must have an NUnit test runner to run them.
This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.
C# project that implements a bare-bones linked list with a reverse method that reverses the order of elements in the list.
C# project that finds the first valid solution for how a knight should move (obeying chess laws for a knight) on a N x M chess board so that it visits each square only once and will visit all the squares. It will show the solution in a console window step by step and is advanced by pressing enter. The size of the board can be changed by changing the values of the maxX and maxY variables.
C# project that finds all the possible positions that N queens on a N x N board can occupy such that no queen can attack another queen. Differentiates between unique solutions (any reflections and rotations count as only one) and distinct solutions (counts each reflection and rotation separately). The project is called EightQueens but can be changed to solve for any value of N by setting a variable, and it can easily be adapted to handle non-square boards by introducing a new variable. Will write the solution to a file called 'log.txt' on the user's desktop and display the runtime statistics in the console.