What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-09-11 01:16:01
sort function in typescript
var items = [ { name: "Edward", value: 21 }, { name: "Sharpe", value: 37 }, { name: "And", value: 45 }, { name: "The", value: -12 }, { name: "Magnetic", value: 13 }, { name: "Zeros", ... Add solution -
Java 2021-09-10 21:10:02
how to find two strings are anagrams in java
import java.util.Arrays; public class AnagramString { static void isAnagram(String str1, String str2) { String s1 = str1.replaceAll("\\s", ""); String s2 = str2.replaceAll("\\s", "");... Add solution -
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 -
Other 2021-09-09 15:55:03
what is method overloading
Overloading mean same method name and different parameter, it can happen in same class. it's a feature that allows us to have more than one method with same name. Example: sort method of Arrays class Arrays.sort(int[] arr) Arrays.sort(String[] arr) ...... Add solution -
Best helpers
Ranking is empty