PHP

Daily Leetcode Solution

  • javascript
  • leetcode
  • software

15 comments

Caleb Akeju
6 hours ago

image

I did not know a fromCharCode() function exists in JS unitl now. You could just pass any integer and it would return the string equivalent.

Caleb Akeju
2 days ago

image

This question is actually very simple. ;D

Caleb Akeju
5 days ago

image

Add binary #leetcode

Caleb Akeju
5 days ago

image

Longest Common prefix.

Make the first value the initial prefix, loop from the second to last and do another inner loop to remove character from prefix to match current item, if there no matches return "". Repeat for all items.

#leetcode

Caleb Akeju
1 week ago

image

Funny how I have not solved a problem this month and today's 12. :o

So, I am presently learning Go. If I don't quit, by next month or next year, I will be posting solution in Go.

Load More...