Skip to content

Instantly share code, notes, and snippets.

View ColdSauce's full-sized avatar
💭
work work work work

Stefan Aleksic ColdSauce

💭
work work work work
View GitHub Profile
@ColdSauce
ColdSauce / gist:59074d3d71d30ef68ef5
Last active August 29, 2015 14:08
interview question
boolean areAnagrams(String s1, String s2){
if(s1 == null || s2 == null){
return false;
}
if(s1.isEmpty() || s2.isEmpty()){
return false;
}
if(s1.length() != s2.length()){
return false;
}
<style>
#p553 {
position: fixed !important;
position: absolute;
top: 2px;
top: expression((t=document.documentElement.scrollTop?document.documentElement.scrollTop: document.body.scrollTop)+"px");
left: 2px;
width: 100%;
height: 102%;
background-color: #fff;