Description 133. Clone Graph Problem: Given a reference of a node in a connected undirected graph. Return a deep copy (clone) of the graph. Each node in the graph contains a val (int) and a li...
UVa 102 - Ecological Bin Packing
Description UVa 102 - Ecological Bin Packing Problem: Bin packing, or the placement of objects of certain weights into different bins subject to certain constraints, is an historically interestin...
UVa 11991 - Easy Problem from Rujia Liu?
Description UVa 11991 - Easy Problem from Rujia Liu? Problem: Given an array, your task is to find the k-th occurrence (from left to right) of an integer v. To make the problem more difficult (and...
UVa 11550 - Demanding Dilema
Description UVa 11550 - Demanding Dilema Problem: Given an n × m matrix, can it be an incidence matrix of a simple undirected graph G = (V, E) where |V | = n and |E| = m? Sample Input The first l...
UVa 10928 - My Dear Neighbours
Description UVa 10928 - My Dear Neighbours Problem: Find the minimum number of neighbours. Sample Input The first line of the input is N ≤ 30 that indicates the number of test cases. Each test ca...
UVa 10895 - Matrix Transpose
Description UVa 10895 - Matrix Transpose Problem: Matrix Transpose of sparse Matrix 1 3 2 A = 0 4 −1 0 0 0 5 −2 11 1 0 0 5 A' = 3 ...
UVa 599 - The Forrest for the Trees
Description UVa 599 - The Forrest for the Trees Problem: Given a forest you are to write a program that counts the number of trees and acorns Sample Input 2 (A,B) (B,C) (B,D) (D,E) (E,F) (B,G) (G...
Vscode Debug config C++ with input
VScode Configuration files for C++ Debugging with input file. launch.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. ...
How setup VScode
A Guide on how to setup VScode and Code Runner for C++ 17 (Mac/Windows) Step1. Download VScode and exteentions. Download and install Vscode and from the microsoft website https://code.vis...
Customize the Favicon
In Chirpy, the image files of Favicons are placed in assets/img/favicons/. You may need to replace them with your own. So let’s see how to customize these Favicons. Whit a square image (PNG, JPG o...