Skip to main content

All Questions

Filter by
Sorted by
Tagged with
8 votes
3 answers
2k views

Tiny URL creator

Coding challenge: Convert a given long URL into a Tiny URL. The length of this Tiny URL should be fixed and the same for all URLs. You should return the full URL if given a shortened URL. I am ...
MrJoe's user avatar
  • 2,153
3 votes
3 answers
211 views

Find MD5-hash whose hexadecimals starts like digits of π

I saw a programming puzzle. Find a string containing letters from a to z such that its MD5-hash starts like 314159265359. I am a junior programmer so I would like to know if I can solve the problem ...
guest's user avatar
  • 31
2 votes
2 answers
2k views

Leetcode 49: Group Anagrams - Hash function design talk

problem statement Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], ...
Jianmin Chen's user avatar
  • 2,456
5 votes
1 answer
200 views

2016 Advent of Code - Day05

Day 5: How About a Nice Game of Chess? You are faced with a security door designed by Easter Bunny engineers that seem to have acquired most of their security knowledge by watching hacking ...
enderland's user avatar
  • 1,736