목록2025/02/04 (3)
Machineboy空

Linked List를 간략하게 설명한다면?a list of nodes that are linked together.singly linked listdoubly linked listLinear data structures : 선형 데이터 구조sequence(순서와 규칙)가 있다hopscotch처럼 끝에 다다르기 위해서는 순차적으로 모든 노드를 지나쳐야 한다.LinearNon-LinearArray, linked listhashes, trees, graphsMemory Management같은 선형 데이터인 Array와 linked List의 차이가 뭘까? 7개의 문자를 저장하는 Array가 만들어지면, 연속된 7byte짜리의 메모리 칸을 마련해두어야 한다.하지만, linked list는 연속된 single ..

1) 1 - Bit Register /** * 1-bit register: * If load is asserted, the register's value is set to in; * Otherwise, the register maintains its current value: * if (load(t)) out(t+1) = in(t), else out(t+1) = out(t) */ CHIP Bit { IN in, load; OUT out; PARTS: Mux(a=gayout,b=in,sel=load,out=a); DFF(in=a,out=out,out=gayout);}2) 16- bit Register/** * 16-bit register: * If load is asserted,..
문제요약로봇 이름을 무작위로 생성하라규칙 : 대문자 2개 + 숫자 3개로 이루어지며 중복되지 않는다.예 : RX837, BC811https://exercism.org/tracks/csharp/exercises/robot-name Robot Name in C# on ExercismCan you solve Robot Name in C#? Improve your C# skills with support from our world-class team of mentors.exercism.org난이도Easy풀이 포인트랜덤한 대문자 뽑기 : 아스키 코드(int형)에서 char 형 변환중복 체크 : Hashset 혹은 Listget,set 용법REVIEW 아스키 코드, 예를 들어 96을 A로 만드는 방법에서 헤맸다..