Loading...
Main Page → Exercises → C#
Click a category below to view its available exercises.
C# (390)
- Programming practice with the C# programming language.
-
programming basics (14)
-
arrays (41)
- ArrayMystery2
- ArrayMystery3
- ArrayMysteryExam2
- ArrayMysteryExam4
- ArrayMysteryExam6
- ArrayMystery
- Banish
- CollapsePairs
- Collapse
- ComputeAverage
- Contains
- CountDuplicates
- CountUnique
- DeclareArray
- EvenBeforeOdd
- FindMedian
- FindRange
- GetPercentEven
- HasMirrorTwice
- IndexOf
- IsMagicSquare
- LongestSortedSequence
- MaxValue
- Mean
- Mystery1
- Mystery2d
- Mystery2
- NCopies
- NumUnique
- ReferenceMystery1
- ReferenceMystery2
- ReferenceMystery3
- ReferenceMystery4
- ReferenceMystery5
- RemovePalindromes
- Sieve
- Sorted
- Split
- SquaredArray
- SwitchPairs
-
classes and objects (9)
-
collections (82)
- Using pre-existing collections from the .NET Framework libraries.
-
Dictionary (28)
- BiggestFamily
- ByAge
- CollectionMystery1
- CollectionMystery2
- CollectionMystery3
- CollectionMystery4
- CollectionMystery5
- CountNames
- DictionaryMystery
- FriendList
- GetMajorityLastName
- HasDuplicateValue
- HasThree
- Intersect
- IsSubDictionary
- IsUnique
- LastNamesByAge
- LeastCommon
- MaxOccurrences
- PairFrequencies
- PostalService
- Rarest
- RarestAge
- Reverse
- Starters
- Teacher
- ToMorseCode
- WordChain
-
List (28)
- AddStars
- CollectionMystery1
- CollectionMystery4
- CountInRange
- Cumulative
- DeleteDuplicates
- FindKeithNumbers
- Intersect
- IsKeithNumber
- ListMystery1
- ListMystery2
- ListMysteryInsert
- ListMysteryRemove
- Mean
- Mirror
- Mystery1
- RemoveAll
- RemoveBadPairs
- RemoveConsecutiveDuplicates
- RemoveDuplicates
- RemoveEvenLength
- RemoveRange
- Repeat
- Stretch
- Stutter
- SwitchPairs
- Twice
- UniqueNames
-
Set (10)
-
Stack and Queue (16)
-
expressions (10)
-
file input output (25)
- AskFileName
- AverageValueInFile
- CheckDates
- ClassPresidents
- CoinFlip
- Coolest
- Election
- FlipAndReverseLines
- FlipCoins
- FlipLines
- HoursWorked
- Hours
- InputStats
- LeetSpeak
- MostCommon
- NegativeSum
- PigLatin
- PigLatin2
- PrintBox
- PrintMostCommonName
- RemoveDuplicatesFromFile
- ReverseChunksInFile
- Weather
- WordStatsPlus
- WordStats
-
graphics (16)
-
if else (2)
-
loops (18)
-
parameters (40)
- AverageOf3
- BinaryToDecimal
- BMI
- BoxOfStars
- CircleArea
- CoinFlip
- ComputeDistance
- CountDigits
- CountUnique
- DaysInMonth
- DecimalToBinary
- FactorCount
- Factorial
- FitnessGoal
- GetDaysInMonth
- GetFirstDigit
- GetLastDigit
- Investment
- IsMultiple
- IsPrimeNumber
- ParameterMystery1
- ParameterMysteryExam1
- ParameterMysteryExam2
- ParameterMysteryExam3
- ParameterMysteryExam4
- ParameterMysteryExam5
- ParameterMysteryExam6
- ParameterMysterySection1
- ParameterMysterySection2
- PlayRoulette
- PrintPay
- RandomOver
- RandomWalk
- ReturnMystery1
- Roulette
- ShowTwos
- SumOfDigits
- SumOfRange
- ThreeConsecutive
- Triangle
-
recursion (55)
- CollapseSequences
- CountToBy
- Crawl
- DigitsSorted
- DigitSum
- EditDistance
- EvenDigits
- Factorial
- Hanoi
- HashString
- IndexOf
- IsPalindrome
- IsSubsequence
- MatchCount
- MergeDigitPairs
- MirrorSequence
- MoveToEnd
- Mystery1
- NonMatching
- NumberSequence
- Power
- PrintBinary
- PrintRange
- PrintStars
- RecursionMystery10
- RecursionMystery1
- RecursionMystery1X
- RecursionMystery2
- RecursionMystery2X
- RecursionMystery348
- RecursionMystery3
- RecursionMystery4
- RecursionMystery5
- RecursionMystery648
- RecursionMystery6
- RecursionMystery7
- RecursionMystery8
- RecursionMystery9
- RecursionMysteryComma
- RecursionMysteryDivMod
- RecursionMysteryMinus
- RecursionMysteryPrintDigits
- RemoveOddDigits
- RepeatString
- ReplaceAll
- ReverseLines
- Reverse
- Sequence
- StarString
- StutterStack
- SumOfSquares
- SumUpTo
- Travel
- WaysToClimb
- Zigzag
-
searching (4)
-
sorting (6)
-
strings (25)
-
algorithms (43)
- These are miscellaneous problems involving various concepts and algorithms. These are intentionally not categorized by concepts (such as array, string, list, tree, recursion, etc.) so that you must consider for yourself the best way to solve the problem. This category might be useful when studying for a coding interview.
- BaggageColors
- BaggageColors2
- BinaryBoarding
- BinaryBoarding2
- BootCode
- BootCode2
- CheckSum25
- CheckSum252
- CompressString
- ConwayCubes
- DockingMemoryData
- DockingMemoryData2
- GameOfFlights
- GameOfFlights2
- HitCounter
- IsPermutation
- JoltageAdapters
- JoltageAdapters2
- LargestNumber
- LongestUniqueString
- MatchPattern
- MemoryNumberGame
- MemoryNumberGame2
- MinSubrange
- NextPermutation
- Passports
- Passports2
- RainRisk
- RainRisk2
- ShuttleSearch
- ShuttleSearch2
- SortThree
- SumCubes
- SumOf2020
- Sum3Of2020
- Surveys
- Surveys2
- ThreeSum
- TicketValidation
- Toboggan
- Toboggan2
- ValidPasswords
- ValidPasswords2
You must log in before you can search for exercises or top users.
Is there a problem? Contact us.