What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-11-21 00:01:17
C++ Book an appointment 2. Change an appointment 3. Cancel an appointment 4. View appointment by last name 5. View all appointment
using namespace std; #include <iostream> #include <conio.h> #include <fstream> #include <iomanip> #include <string> #include <stdlib.h> const unsigned short numComponents = 10; unsigned short prices[numComponents]; ... Add solution -
C++ 2021-11-20 11:08:17
get nth fibonacci c++
#include <bits/stdc++.h> using namespace std; #define ll long long; const ll mod =1e9+7; unordered_map <ll,ll> f; ll fib(ll n) { if(n < 2) return 1; if (f.find(n) != f.end()) return f[n]; f[n] = (fib((n+1)/2)*fib(n/2) + fib((n-1)/2)*... Add solution -
TypeScript 2021-11-20 05:38:11
longest increasing subsequence when elements hae duplicates
#include <iostream> #include <algorithm> using namespace std; // define maximum possible length of X and Y #define N 20 // lookup[i][j] stores the length of LCS of subarray X[0..i-1], Y[0..j-1] int lookup[N][N]; // Functio... Add solution -
Other 2021-11-18 03:01:09
why ios update is more in itunes and less on ios
This is because the app on the iOS device only contains the parts required by that device. Apple have a technology called App Thinning , introduced in iOS 9, that enables this sort of space saving delivery. It takes into account specifications of the devi... Add solution -
C++ 2021-11-16 17:58:17
map of maps c++
#include <bits/stdc++.h> #include <iostream> #include <map> using namespace std; void mapDemo(){ map<int, int> A; A[1] = 100; A[2] = -1; A[3] = 200; A[100000232] = 1; //to find the value of a key //A.find(key) //to delete... Add solution -
Javascript 2021-11-16 11:40:19
encodeuricomponent reverse
var set1 = ";,/?:@&=+$"; // Reserved Characters var set2 = "-_.!~*'()"; // Unescaped Characters var set3 = "#"; // Number Sign var set4 = "ABC abc 123"; // Alphanumeric Characters + Space console.l... Add solution
Best helpers
Mushi.f
+5
Ivan T.
+5
Bianco
+5
Graffito
+5
Mari Yoongi
+5
Tyr
+5
Christophrrb
+5
Vary
+5
Del Findley
+5
Ryan Friend
+5
Millemila
+5
Soumee
+5
Gftern
+5
Davesmiths
+5
Vocaro
+5
Vbence
+5