Code Monkey home page Code Monkey logo

core's Introduction

Nostalgia

Bài làm từ những buổi livestream mà mình thử giải đề thi của các học phần mình đã từng học ^^

Link youtube: https://youtube.com/@motherofsuper-coding

Link facebook: https://www.facebook.com/naturemother/

Notes

KTLT (22TNT1TN) (2022-2023)

Link livestream:

Câu 3

  • Câu lệnh để hủy mảng cần sử dụng dạng delete[] thay vì chỉ delete

Câu 4

  • Có 1 cách tối ưu hơn để bỏ qua các Data Blocks là xài hàm in.seekg (Nếu xài cách này thì cần cẩn thận trong việc tính toán phần size sẽ bỏ qua)
  • Nên có phần kiểm tra xem file lúc mở có valid để đọc hay không (Kiểm tra if (!in) thì thông báo lỗi và return)

NMLT (CNTN) (2022-2023)

Một quan sát thú vị dành cho Câu 2

Có 1 cách đơn giản hơn rất nhiều xDD Đó là:

  • So sánh theo từng kí tự từ đầu của cả 2 chuỗi
  • Nếu gặp kí tự nào khác nhau thì mình sẽ dừng so sánh và đếm số dấu '/' từ đó cho đến cuối chuỗi 1 và chuỗi 2
  • Cộng số dấu '/' lại sẽ cho ta kết quả đúng

Link livestream: https://youtu.be/1qQk1IIv2L0

Link livestream fix code Câu 2 & Câu 3: https://youtu.be/umBT1MOMV7g

Câu 2

  • Mình có fix dành cho trường hợp có thể có các thư mục cùng tên nhau

Câu 3

  • Mình có fix dành cho một số edge cases
  • Update ý tưởng thuật toán theo code đã fix

OOP (2022-2023)

Link livestream: https://youtu.be/f0dgv0jJ8ZU

Câu 3

  • Mình có minor fix cho Class Diagram về mối quan hệ Composition từ Project tới Fund (Chứ không còn là từ Project tới MoneyFund)
  • Xóa bớt method getName() thừa trong code của class MoneyFund (Đã có từ class Fund)
  • Sửa kí hiệu Multiplicity trong Class Diagram từ 0..n thành 0..* (Kí hiệu chuẩn của UML)

core's People

Contributors

nguyenhongduc2411 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.