brightlightkim

  • 홈
  • 태그
  • 방명록

CrackingTheCodingInterview 3

[Array and Strings] CCI 1.1

1.1. Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures? 1) Brute Force (I made this not to use additional data structure) Calculate each item by iterating the string >> result in O(n^2) boolean isUnique(String[] string){ for (int i = 0; i < string.length; i++){ //Since we compute one for i we don't have to start from i ag..

Algorithms and Data Structures/Coding Practices 2022.05.18

[Coding Test] How to Solve Coding Problems

A problem Solving Flow Chart Listen Pay very close attention to any information in the problem description. You probably need it all for an optimal algorithm. Example Most examples are too small or are special cases. Debug your example. Is there any way it's a special case? Is it big enough? Brute Force get a brute-force solution as soon as possible. Don't worry about developing an efficient alg..

Algorithms and Data Structures/Algorithms 2022.05.15

[Big O] Missed Questions

From Cracking the Coding Interview: Question 10: int sumDigits(int n) { int sum = 0; while (n < 0) { num += n % 10; n /= 10; } return sum; } The runtime will be the number of digits in the number. A number with d digits can have a value up to 10^d. if n = 10^d, then d = log n. Therefore, the runtime is 0(log n). Question 11: The following code prints all strings of length k where the characters ..

Algorithms and Data Structures/Algorithms 2022.05.14
1
더보기
프로필사진

Algorithms and Data Structures Research Blog https://www.linkedin.com/in/taeyang-kim/ https://github.com/brightlightkim

  • 분류 전체보기
    • Algorithms and Data Structu..
      • Algorithms
      • Data Structures
      • Coding Practices
    • AI
    • AWS
      • EC2
      • ECS
      • CDK
      • X-Ray
      • Cloud Practitioner Certific..
      • Global Infrastructure and R..
      • Networking
      • Storage and Databases
      • Security
      • Monitoring and Analytics
      • Pricing and Support
      • Migration and Innovation
    • Rust
    • Node.js
      • Jest
      • Joi
      • Express
    • Serverless
    • Docker
    • Mongo
    • React
      • Next.js
    • Vue.js
      • Vuex
      • Nuxt
    • Coding Languages
      • JavaScript
      • TypeScript
      • Python
    • Internet of Things (IoT)
      • Arduino
      • Circuits
    • Basic Coding Info
      • Git
      • Monorepo
    • Testing
    • Bug
      • Git
      • AWS
      • JavaScript
      • Node
    • BYU-Broadcast
      • ScreenSharing
      • Bi-Weekly Training
      • Sprint
    • Security
    • Flutter
    • Android_App
      • Front-end
      • Back-end
      • RxJava
    • Web
      • CSS

Tag

VUE, Node.js, BST, ECS, AWS, vue.js, JEST, S3, ML, Docker, Amazon, AI, Git, cdk, lambda, javascript, EC2, vuex, serverless, node,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바