This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Algorithms.Maths | |
{ | |
public struct Queen | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class StringHashCodeExtensions | |
{ | |
public static int GetHashCodeJava(this string value) | |
{ | |
if (value == null) | |
throw new ArgumentNullException("value"); | |
int hashCode = 0; | |
for (int i = 0; i < value.Length; i++) |
NewerOlder