목록Programming (52)
MJay
Edit Cracking the code interview - 4 Data StructuresHash TablesWhile not all problems can be solved with hash tables, a shocking number of interview prob-lems can be Before your interview, make sure to practice both using and implementing hash tables 1.public HashMap buildMap(Student[] students) { 2.HashMap map = new HashMap(); 3.for (Student s : students) map.put(s.getId(), s); 4.return map; 5...
Edit Cracking the Code Interview - 3 Resume에 들어가야 할 것들 Resume screeners look for the same things that interviewers do: »Are you smart? »Can you code? 프로젝트랑 관련된 것들Language 기재하는 법Resume 준비하는 건 p24 부근인데 취업할때 해도 될듯 몇가지 핵심 사항만 정리 Must Know프로젝트 하면서 느낀 점 말할때(Situation / Action / Response, Issue 1 / Issue 2 / Issue 3, etc하지 말하야 햘 것들 %23%23%20Cracking%20the%20Code%20Interview%20-%203%0A@%28%uC720%uD559%2..
Edit Cracking the code interview - 1 Write Code on Paper 먼저 interview problems 은 종이에 먼저 쓰고 그 다음에 컴퓨터에 쓰자 Resume 틈틈히 어떻게 쓸지 고민을 해보자Talk Out Loud - 크게 크게 말하자Cracking the code interview - 이 책은 fancy research가아닌 인터뷰를 도와주는 책이다구성 Algorithm , Coding, Design Question * Microsoft* Defnitely Prepare: “Why do you want to work for Microsoft?” In this question, Microsoft wants to see that you’re passionate a..
Edit Cracking the code interview - 2 Google Interview Definitely Prepare As a web-based company, Google cares about how to design a scalable system. So, make sure you prepare for questions from “System Design and Memory Limits” Additionally, many Google interviewers will ask questions involving Bit Ma-nipulation, so please brush up on these questions. Apple Interview Definitely Prepare If you kn..
출처 - http://rfriend.tistory.com/5 그리고 R을 킨다 Terminal에서도 할수있다. 패키지를 쓰고싶으면 아래와 같이 하면 된다. 설치를 하고 나서 쓰고 싶으면 library(" ")를 하면 된다.
출처-https://dojang.io/mod/page/view.php?id=802 Magma의 소스 코드를 보고있다가 extern void A() 라는 것이 나온다 기억이 가물가물해서 찾아봤다. extern으로 다른 소스 파일의 전역 변수를 사용할수있다고 한다. print.c 라는 파일을 만든다. 이렇게 오류가 뜨므로
Must Know Concept이다 하나씩 해보자Linked Lists출처: https://opentutorials.org/module/1335/8857Linked Lists정의linear collection of data elements, called nodes, each pointing to the next node by means of a pointerconsisting of a group of nodes which together represent a sequence.each node is composed of data and a reference(link)구현사용efficient insertion or removal of elements from any position in the sequenc..
definition 출처이진 트리(binary tree)란 한 노드가 최대 두 개의 자식 노드를 가지는 트리를 뜻한다. 보통 첫 번째 노드를 부모 노드라고 하며 자식 노드는 왼쪽(left)과 오른쪽(right)으로 불린다. 이진 트리는 이진 탐색 트리와 이진 힙의 구현에 흔히 쓰인다.시간 복잡도Average WorstSpace O(n) O(n)Search O(logn) O(n)Insert O(logn) O(n)Delete O(logn) O(n)용도모든 트리가 이진트리는 아니지만 상당량의 트리들이 이진트리라고 할 수 있습니다. 일단 일반적인 트리들은 LCRS형으로 트리의 역활을 하게되고 또한 힙 트리 ,AVL트리와 레드블랙트리, 스레드 이진 트리 등으로 트리의 역활을 하게 됩니다. 힙 트리를 이용하여 힙 ..