Skip to content

CypherKingdom/Codewars

Repository files navigation

Codewars Solutions in C#

This repository contains my solutions to various Codewars coding challenges implemented in C#.

Overview

The repository is a collection of algorithm problems and their solutions, primarily focused on:

  • String manipulation
  • Mathematical operations
  • Bit manipulation
  • Regular expressions
  • Algorithm implementation

Challenge Solutions

Challenge Description
RegexValidatePinCode Validates if a PIN code contains exactly 4 or 6 digits
SquareEveryDigit Squares every digit in a number and concatenates them
SplitStrings Splits strings into pairs of characters
OnesandZeros Converts binary array to decimal integer
Digital_Root Calculates the recursive sum of digits until a single digit remains
BitCounting Counts '1' bits in binary representation of a number
BreakCamelCase Inserts spaces between words in camel case strings
CountingDuplicates Counts characters that appear more than once in a string

How to Run

Each solution class contains a static Solution method that can be tested through the MainProgram.cs file.

To run the solutions:

  1. Clone the repository
  2. Open the solution in Visual Studio
  3. Run the project to see the test cases in action

Technologies Used

  • C# 8.0+
  • .NET Core

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages