LeetCode practice
- Reversing a string
reversed_string = original_string[::-1]
| Problem Name | File Link | Level | Fastest Solution % | Second Fastest Solution % |
|---|---|---|---|---|
| Two Sum | two_sum.py | 🟢 Easy | 31% | 16% |
| Palindrome Number | palindrome_number.py | 🟢 Easy | 71% | 28% |
| Roman to Integer | roman_to_integer.py | 🟢 Easy | 87% | 15% |
| Longest Common Prefix | longest_common_prefix.py | 🟢 Easy | 100% | N/A |
| Merge Two Sorted Lists | merge_two_sorted_list.py | 🟢 Easy | 100% | N/A |
| Remove Duplicates from Sorted Array | remove_duplicates_from_sorted_array.py | 🟢 Easy | 100% | N/A |
| Remove Element | remove_element.py | 🟢 Easy | 100% | N/A |