[Google Interview] License Key Formatting

[toc] Company tags: Google, Capital One Problem Formulation You are given a license key represented as a string s that consists of only alphanumeric characters and dashes. The string is separated into n + 1 groups by n dashes. You are also given an integer k. We want to reformat the string s such that … Read more

[Interview Question] How to Check a Valid Palindrome?

[toc] Company tags: Apple, Amazon, Bloomberg, Facebook, Microsoft, Oracle This is one of the most commonly occurred questions in numerous interviews and you should be absolutely ready to solve this question in a flash as soon as you see this in your interview. Hence, let’s dive into the problem and solution to this interview question. … Read more