What do you want to save?
Add Code snippet
New code examples
-
Dart 2021-08-29 18:53:02
build_runner not generating g.dart files
import 'package:json_annotation/json_annotation.dart'; part 'cache-item.g.dart'; @JsonSerializable() class CacheItem { int created; String keywords; String response; CacheItem({this.response}); factory CacheItem.fromJson(Map<String,dynami... Add solution -
C++ 2021-08-29 16:57:02
open hashing basic operations
//open hashing , insertion,deletion,searching,displaying #include <iostream> using namespace std; #define n 5 class node { public: int data; node*next; }; node*hasharray[n]; void init() { for(int i=0;i<n;i++) { hasharray[... Add solution -
Other 2021-08-28 05:17:02
word frequency analysis c program
#include <stdbool.h>#include <stdio.h>#include <glib.h> typedef struct word_count_tag { const char* word; size_t count;} word_count; int compare_word_count(const void* p1, const void* p2) { const word_count* w1 = p1; ... Add solution -
TypeScript 2021-08-27 10:59:01
read/write linked lists to file
#include <stdio.h> #include <stdlib.h> typedef struct Node { char name[50]; int age; struct Node *next; }Node; // user-defined functions void printPetRecord(Node *head); void writeToFile(FILE *fptr, Node *head); // main() int ma... Add solution -
Python 2021-08-26 10:50:02
Convert the sklearn.dataset cancer to a DataFrame.
import numpy as np import pandas as pd from sklearn.datasets import load_breast_cancer cancer = load_breast_cancer() print cancer.keys() data = pd.DataFrame(cancer.data, columns=[cancer.feature_names]) data['Target'] = pd.Series(data=cancer.target, inde... Add solution
Best helpers
Seria Yin
+5
Kyle Smith
+5
JSanchez
+5
Larapsodia
+5
TJG
+5
Sharma Pocso
+5
Wilber82
+5
T-rex
+5
Wayno
+5
Winny
+5
Sikku
+5
AlecPerkey
+5
The Alpha
+5
IQAndreas
+5
TeacherSue
+5