Fahad PathanSum of the differences of all pairs in an arrayYou are given an array of integers. You have to tell the sum of the differences of all the pairs.2 min read·Jun 24, 2023----
Fahad PathanChoose r items from n itemsYou have given n items and have to choose r items from them. Now you have to print the number of ways you can choose.3 min read·Jun 24, 2023----
Fahad PathanSkip some digits and print the nth natural numberCan you tell the 109th number of a 7 based number system?3 min read·Apr 7, 2023--1--1