Black's Document Docs
Powered by

# Tag: c++

See all tags.

Algorithms
Array Manipulation

Array Manipulation

Algorithms
Coin change problem – bài toán đổi tiền

Cho số tiền cần đổi là N, và tập các loại tiền có số lượng tờ không giới hạn C = {c1, c2,…,cm}. Cho biết số cách đổi số tiền N bằng các tờ tiền có...

Algorithms
Construct the Array

Link: https://www.hackerrank.com/challenges/construct-the-array/problem

Algorithms
Container With Most Water Problem

Cho một dãy số nguyên không âm a1, a2,..., an. Mỗi số nguyên với ở vị trí i sẽ biểu diễn một điểm ở biểu đồ có toạ độ (i, ai).

Algorithms
Count bits

Đây là bài toán nằm trong series về giải thuật và interview ở các công ty công nghệ.

Algorithms
Dynamic Array

Dynamic Array

Algorithms
Implement Queue via Stack

Xây dựng cấu trúc dữ liệu Queue bằng Stack

Algorithms
Left rotation array

link: https://www.hackerrank.com/challenges/ctci-array-left-rotation/problem

Algorithms
Minimum Swaps 2

Minimum Swaps 2

Algorithms
One edit distance – One way

Cho 2 chuỗi s1, s2. Viết hàm kiểm tra xem s1 và s2 có phải chỉ khác biệt tối đa 1 thao tác chỉnh sửa (thêm, sửa hoặc xoá 1 kí tự)

Algorithms
Sherlock and Cost

https://www.hackerrank.com/challenges/sherlock-and-cost/problem

© Copyright 2023. All rights reserved.