Skip to content

codeprepper/data-structures

Repository files navigation

Data Structure Problems

In this repo, we will explore problems involving arrays, strings, linked lists stacks and queues.

Problems

  1. FizzBuzz
  2. Implement atoi
  3. Compress a string aaaabbc => a4b2c
  4. Find the kth to last node in a list
  5. Check for interleaved strings
  6. Store IP address in a 4-byte integer
  7. Find the mid-poing of a singly-linked list
  8. Remove nodes from a list containing a given value
  9. Find the longest palindrome in a given string
  10. Reverse a singly-linked list
  11. Product array in O(N) without division

Ask to Answer

Got a problem you'd like us to solve? Email it to us at codeprepper@gmail.com.

Help us make CodePrepper better

If you have an alternative solution to any of the solutions we've posted that is more optimal or uses a different approach, please email it to us at codeprepper@gmail.com. If it compiles and passes our unit-tests, we will feature your solution and give you credit for it.

About

arrays, linked lists, stacks and queues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published