What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-01-23 17:06:28
between two sets problem hackerrank solution in c
#include<stdio.h> int main() { int n,t,flag1,flag2,j,total=0,i; int m; scanf("%i %i", &n, &m); int a[n],b[m]; for (i = 0; i < n; i++) scanf("%i",&a[i]); for (i = 0; i < m; i+... Add solution -
Other 2022-01-22 12:20:30
Write a program to perform predictive parsing.
#include<stdio.h> #include<conio.h> #include<string.h> void main() { char fin[10][20],st[10][20],ft[20][20],fol[20][20]; int a=0,e,i,t,b,c,n,k,l=0,j,s,m,p; printf("enter the no. of coordinates\n"); scanf("%d",&n);... Add solution -
Javascript 2022-01-22 00:30:31
filter array with unique objects javascript
const array = [ { "name": "Joe", "age": 17 }, { "name": "Bob", "age": 17 }, { "name": "Carl", "age": 35 } ] const key = 'age'; const arrayUniqueByK... Add solution -
Javascript 2021-11-20 23:22:11
month name array javascript
'use strict'; (function(d){ var mL = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; var mS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July', 'Aug', 'Sept', 'Oct', 'N... Add solution -
C# 2021-11-20 07:05:20
save image IFOrmFile to path in asp.net 5 C# web api
[Route("api/[controller]")] [ApiController] public class CarsController : ControllerBase { private readonly IHostingEnvironment _hostingEnv; private readonly WebAPIDbContext _context; public CarsController(WebAPIDbContext context, ... 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