I hereby claim:
- I am eolo999 on github.
- I am eolo999 (https://keybase.io/eolo999) on keybase.
- I have a public key whose fingerprint is B0F5 73A5 7A76 CB08 247E 4561 3E53 6AEA 0043 2557
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import json | |
from subprocess import Popen | |
from os import getenv | |
from flask import Flask, request, abort | |
from flask.ext.pymongo import PyMongo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# -------------- | |
# User Instructions | |
# | |
# Write a function, longest_subpalindrome_slice(text) that takes | |
# a string as input and returns the i and j indices that | |
# correspond to the beginning and end indices of the longest | |
# palindrome in the string. |