Skip to content

gcsepregi/coding-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Craneware Coding Challenge

Set of coding challenges in C#.

1. Write a method to reverse a string

In the src/ReversingString project, there is a method called Reverse in src/ReversingString/StringUtilities.cs file. Implement this method so that it returns the string in reverse order:

Examples:

Input:  "BarBazQux"
Output: "xuQzaBraB"
Input:  "Hello Foo"
Output: "ooF olleH"

2. Implement a code to provide and shuffle a pack of cards

Add code to the src/CardGame project. The project already contains contracts (interfaces) that must be implemented. The implementation must contain the following:

  • provide a standard pack of 52 cards
  • the pack can be randomly shuffled
  • a card can be removed from the top of the pack
  • all cards are returned to the pack when the pack is shuffled

About

Collection of coding interview problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages