aboutsummaryrefslogtreecommitdiff
path: root/leetcode/lc-796-rotate-string.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'leetcode/lc-796-rotate-string.rkt')
-rw-r--r--leetcode/lc-796-rotate-string.rkt6
1 files changed, 0 insertions, 6 deletions
diff --git a/leetcode/lc-796-rotate-string.rkt b/leetcode/lc-796-rotate-string.rkt
deleted file mode 100644
index b51d9e3..0000000
--- a/leetcode/lc-796-rotate-string.rkt
+++ /dev/null
@@ -1,6 +0,0 @@
-#lang racket/base
-(define/contract (rotate-string A B)
- (-> string? string? boolean?)
- (define doubled-A (string-append A A))
- (and (= (string-length A) (string-length B))
- (string-contains? doubled-A B))) \ No newline at end of file