Initial commit

This commit is contained in:
2023-10-04 16:42:27 +02:00
commit a1fff22f54
3 changed files with 30 additions and 0 deletions

15
.editorconfig Normal file
View File

@@ -0,0 +1,15 @@
[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[*.{ts,js,tsx,jsx,lua,html,css,yml,json}]
indent_size = 2
[*.go]
indent_style = tab
[Makefile]
indent_style = tab

2
README.md Normal file
View File

@@ -0,0 +1,2 @@
# Coding Tests

View File

@@ -0,0 +1,13 @@
#include <stdio.h>
#include <assert.h>
int lengthOfLongestSubstring(char * s) {
}
int main() {
assert(lengthOfLongestSubstring("abcabcbb") == 3);
assert(lengthOfLongestSubstring("bbbbb") == 1);
assert(lengthOfLongestSubstring("pwwkew") == 3);
return 0;
}