Skip to content

Instantly share code, notes, and snippets.

View jeon3029's full-sized avatar
🏠
Working from home

jeon3029

🏠
Working from home
  • Republic of Korea, Seoul
View GitHub Profile
@jeon3029
jeon3029 / bits-stdc++.h
Created April 9, 2024 02:30 — forked from Einstrasse/bits-stdc++.h
bits/stdc++.h header file
// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
@jeon3029
jeon3029 / gist:3ed5f3c3d5aba68597617d6ec11969c5
Created October 2, 2021 13:53
c++ / unordered map with class Example
#include<unordered_map>
#include<iostream>
using namespace std;
class A{
  private:
    int x;
    int y;
    float x_f;
 float y_f;
@jeon3029
jeon3029 / surjective.c
Created June 22, 2021 08:07 — forked from thinkphp/surjective.c
Generating the total number of surjective functions
#include <stdio.h>
#define SIZE 100
int stack[SIZE],
level,
N,
M;
void init() {
#include <iostream>
#include <string>
#include <cstdio>
#include <vector>
using namespace std;
vector<int> getPi(string p){
int m = (int)p.size(), j=0;
vector<int> pi(m, 0);
for(int i = 1; i< m ; i++){
while(j > 0 && p[i] != p[j])
@jeon3029
jeon3029 / ssafy_lecturenote(Chap2).md
Last active November 29, 2019 03:17
SSAFY lecture note

해킹이 어려워 활용분야 많은 기술
: [블록체인]

핵심 내용 정리

  • 블록은 가상의 장부를 의미(암호화 되어 저장)
  • 여러사람이 동일하게 블록을 나누어 가짐
  • 하나의 블록이 해킹되어도 분산 저장되어있기 때문에 사실상 해킹(위,변조)이 불가 --> 중앙통제 없이도 거래가 가능
  • 제 2의 인터넷이라고도 불림�

강의 내용 정리

@jeon3029
jeon3029 / 20190808_codinginterview(chap1).md
Last active August 16, 2019 13:09
20190808_codinginterview(chap1to5) / 코딩인터뷰 완전분석(1~5장) 요약

Chap1. 면접과정


1. 개요


대부분의 회사의 면접 과정

  1. 사전면접(전화, 숙제코딩 등등..)
  2. 방문 면접(구술코딩, 알고리즘, 이력서)
  3. 면접관끼리 모여 성적토론 -> 결과 통보