mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
3.0 KiB
3.0 KiB
Wikipedia: Quicksort, Merge Sort
algorithms-data-structures
Continually updated IPython Notebooks containing coding problems and solutions (algorithms and data structures).
Arrays and Strings
- Determine if a string contains unique characters
- Reverse characters in a string
- Determine if a string is a permutation of another
- Encode spaces in a string in-place
- Compress a string
- Determine if a string is a rotation of another
Linked Lists
- Implement a linked list with insert, find, delete, and print methods
- Remove duplicates from a linked list
- Find the kth to last element of a linked list
- Delete a node in the middle of a linked list, given access to only that node
- Partition a linked list around a given value
- Add two numbers whose digits are stored in a linked list in reverse order
License
Copyright 2015 Donne Martin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.