Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 4.71 KB

bitburner.codingcontractsignatures.md

File metadata and controls

42 lines (37 loc) · 4.71 KB

Home > bitburner > CodingContractSignatures

CodingContractSignatures type

Signature:

export type CodingContractSignatures = {
  [CodingContractName.FindLargestPrimeFactor]: [number, number];
  [CodingContractName.SubarrayWithMaximumSum]: [number[], number];
  [CodingContractName.TotalWaysToSum]: [number, number];
  [CodingContractName.TotalWaysToSumII]: [[number, number[]], number];
  [CodingContractName.SpiralizeMatrix]: [number[][], number[]];
  [CodingContractName.ArrayJumpingGame]: [number[], 1 | 0];
  [CodingContractName.ArrayJumpingGameII]: [number[], number];
  [CodingContractName.MergeOverlappingIntervals]: [[number, number][], [number, number][]];
  [CodingContractName.GenerateIPAddresses]: [string, string[]];
  [CodingContractName.AlgorithmicStockTraderI]: [number[], number];
  [CodingContractName.AlgorithmicStockTraderII]: [number[], number];
  [CodingContractName.AlgorithmicStockTraderIII]: [number[], number];
  [CodingContractName.AlgorithmicStockTraderIV]: [[number, number[]], number];
  [CodingContractName.MinimumPathSumInATriangle]: [number[][], number];
  [CodingContractName.UniquePathsInAGridI]: [[number, number], number];
  [CodingContractName.UniquePathsInAGridII]: [(1 | 0)[][], number];
  [CodingContractName.ShortestPathInAGrid]: [(1 | 0)[][], string];
  [CodingContractName.SanitizeParenthesesInExpression]: [string, string[]];
  [CodingContractName.FindAllValidMathExpressions]: [[string, number], string[]];
  [CodingContractName.HammingCodesIntegerToEncodedBinary]: [number, string];
  [CodingContractName.HammingCodesEncodedBinaryToInteger]: [string, number];
  [CodingContractName.Proper2ColoringOfAGraph]: [[number, [number, number][]], (1 | 0)[]];
  [CodingContractName.CompressionIRLECompression]: [string, string];
  [CodingContractName.CompressionIILZDecompression]: [string, string];
  [CodingContractName.CompressionIIILZCompression]: [string, string];
  [CodingContractName.EncryptionICaesarCipher]: [[string, number], string];
  [CodingContractName.EncryptionIIVigenereCipher]: [[string, string], string];
  [CodingContractName.SquareRoot]: [bigint, bigint, [string, string]];
};

References: CodingContractName.FindLargestPrimeFactor, CodingContractName.SubarrayWithMaximumSum, CodingContractName.TotalWaysToSum, CodingContractName.TotalWaysToSumII, CodingContractName.SpiralizeMatrix, CodingContractName.ArrayJumpingGame, CodingContractName.ArrayJumpingGameII, CodingContractName.MergeOverlappingIntervals, CodingContractName.GenerateIPAddresses, CodingContractName.AlgorithmicStockTraderI, CodingContractName.AlgorithmicStockTraderII, CodingContractName.AlgorithmicStockTraderIII, CodingContractName.AlgorithmicStockTraderIV, CodingContractName.MinimumPathSumInATriangle, CodingContractName.UniquePathsInAGridI, CodingContractName.UniquePathsInAGridII, CodingContractName.ShortestPathInAGrid, CodingContractName.SanitizeParenthesesInExpression, CodingContractName.FindAllValidMathExpressions, CodingContractName.HammingCodesIntegerToEncodedBinary, CodingContractName.HammingCodesEncodedBinaryToInteger, CodingContractName.Proper2ColoringOfAGraph, CodingContractName.CompressionIRLECompression, CodingContractName.CompressionIILZDecompression, CodingContractName.CompressionIIILZCompression, CodingContractName.EncryptionICaesarCipher, CodingContractName.EncryptionIIVigenereCipher, CodingContractName.SquareRoot