登录
  • #美国面经
  • #码农类general
  • #面试经验
  • #linkedin

Linkedin 新鲜面经

NANA1123
3983
30
刚刚面完Linkedin,发面经求RP~

question1:

/**

* Given two words as Strings, determine if they are isomorphic. Two words are called isomorphic

* if the letters in one word can be remapped to get the second word. Remapping a letter means replacing all

* occurrences of it with another letter while the ordering of the lett

本帖隐藏的内容需要积分高于 188 才可浏览,点击前往一亩三分地论坛阅读

commonAncestor(Node one, Node two);

}

class Node {

final Node parent;

final Node left;

final Node right;

public Node(Node parent, Node left, Node right) {

this.parent = parent;

this.left = left;

this.right = right;

}

bool isRoot() {

return parent == null;

}

}
30条回复
热度排序

发表回复