This file contains hidden or 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
def LongestCommonSubstring(string1, string2): | |
max_length = max(len(string1),len(string2)) | |
min_length = min(len(string1),len(string2)) | |
# sprawdzenie które słowo jest krótsze | |
if len(string1)>=len(string2): | |
long_str = string1 | |
short_str = string2 | |
else: | |
long_str = string2 |
This file contains hidden or 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
import React, { PropTypes } from 'react'; | |
import Select from 'react-select'; | |
import 'react-select/dist/react-select.css'; | |
RFReactSelect.defaultProps = { | |
multi: false, | |
className: "" | |
}; | |
RFReactSelect.propTypes = { |