Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / danieltian
Developer Profile

danieltian

Discovered public repositories for danieltian in the GitHub catalog.

↗

danieltian/FizzBuzz

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.

↗

danieltian/ReverseLinkedList

C# project that implements a bare-bones linked list with a reverse method that reverses the order of elements in the list.

↗

danieltian/KnightBoard

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.

↗

danieltian/EightQueens

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.

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.