What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-09-10 09:05:03
binary_search in vector in c++
#include <bits/stdc++.h> #include <iostream> #include <vector> #include <algorithm> using namespace std; //defining the comparator function returns true or false //not for binary search.. bool f(int x, int y){ return x>y; //fo... Add solution -
C++ 2021-08-27 19:49:01
bst traversal code in data structure with c++
#include<iostream> using namespace std; struct node { int data; struct node *left; struct node *right; }; struct node *createNode(int val) { struct node *temp = (struct node *)malloc(sizeof(struct ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5