Skip to content

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

Ask to Answer

Got a problem you'd like us to solve? Email it to us at [email protected].

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 [email protected]. 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

Languages

  • C 100.0%