├── .github └── workflows │ └── gradle-ci.yml ├── .gitignore ├── README.md ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── images └── banner.png ├── licence ├── settings.gradle.kts └── src ├── main └── kotlin │ ├── array │ ├── ArrayLeftRotate.kt │ ├── ArrayMinMax.kt │ ├── ArrayReverse.kt │ ├── ArrayRightRotate.kt │ └── README.md │ ├── backtracking │ └── README.md │ ├── binarysearchtree │ └── README.md │ ├── binarytree │ └── README.md │ ├── bitmanipulation │ └── README.md │ ├── dynamicprogramming │ └── README.md │ ├── graph │ └── README.md │ ├── greedy │ └── README.md │ ├── heap │ └── README.md │ ├── linkedlist │ └── README.md │ ├── matrix │ └── README.md │ ├── searchingandsorting │ └── README.md │ ├── stackandqueue │ └── README.md │ ├── string │ ├── README.md │ └── StringReverse.kt │ └── trie │ └── README.md └── test └── kotlin ├── array ├── ArrayLeftRotateTest.kt ├── ArrayMinMaxTest.kt ├── ArrayReverseTest.kt └── ArrayRightRotateTest.kt └── string └── StringReverseTest.kt /.github/workflows/gradle-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/.github/workflows/gradle-ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | build 3 | .idea -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/README.md -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | kotlin.code.style=official 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/gradlew.bat -------------------------------------------------------------------------------- /images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/images/banner.png -------------------------------------------------------------------------------- /licence: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/licence -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | 2 | rootProject.name = "dsa" 3 | 4 | -------------------------------------------------------------------------------- /src/main/kotlin/array/ArrayLeftRotate.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/array/ArrayLeftRotate.kt -------------------------------------------------------------------------------- /src/main/kotlin/array/ArrayMinMax.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/array/ArrayMinMax.kt -------------------------------------------------------------------------------- /src/main/kotlin/array/ArrayReverse.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/array/ArrayReverse.kt -------------------------------------------------------------------------------- /src/main/kotlin/array/ArrayRightRotate.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/array/ArrayRightRotate.kt -------------------------------------------------------------------------------- /src/main/kotlin/array/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/array/README.md -------------------------------------------------------------------------------- /src/main/kotlin/backtracking/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/backtracking/README.md -------------------------------------------------------------------------------- /src/main/kotlin/binarysearchtree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/binarysearchtree/README.md -------------------------------------------------------------------------------- /src/main/kotlin/binarytree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/binarytree/README.md -------------------------------------------------------------------------------- /src/main/kotlin/bitmanipulation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/bitmanipulation/README.md -------------------------------------------------------------------------------- /src/main/kotlin/dynamicprogramming/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/dynamicprogramming/README.md -------------------------------------------------------------------------------- /src/main/kotlin/graph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/graph/README.md -------------------------------------------------------------------------------- /src/main/kotlin/greedy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/greedy/README.md -------------------------------------------------------------------------------- /src/main/kotlin/heap/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/heap/README.md -------------------------------------------------------------------------------- /src/main/kotlin/linkedlist/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/linkedlist/README.md -------------------------------------------------------------------------------- /src/main/kotlin/matrix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/matrix/README.md -------------------------------------------------------------------------------- /src/main/kotlin/searchingandsorting/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/searchingandsorting/README.md -------------------------------------------------------------------------------- /src/main/kotlin/stackandqueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/stackandqueue/README.md -------------------------------------------------------------------------------- /src/main/kotlin/string/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/string/README.md -------------------------------------------------------------------------------- /src/main/kotlin/string/StringReverse.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/string/StringReverse.kt -------------------------------------------------------------------------------- /src/main/kotlin/trie/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/main/kotlin/trie/README.md -------------------------------------------------------------------------------- /src/test/kotlin/array/ArrayLeftRotateTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/test/kotlin/array/ArrayLeftRotateTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/array/ArrayMinMaxTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/test/kotlin/array/ArrayMinMaxTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/array/ArrayReverseTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/test/kotlin/array/ArrayReverseTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/array/ArrayRightRotateTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/test/kotlin/array/ArrayRightRotateTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/string/StringReverseTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alidehkhodaei/data-structures-and-algorithms/HEAD/src/test/kotlin/string/StringReverseTest.kt --------------------------------------------------------------------------------