Simple overview of use/purpose.
An in-depth paragraph about your project and overview of use.
function checkSimilar(str1, str2) { | |
if (str1.length === str2.length) { | |
str1.toLowerCase(); | |
str2.toLowerCase(); | |
const tempStr1 = str1.split("").sort(); | |
const tempStr2 = str2.split("").sort(); | |
// console.log(tempStr1); | |
for (let i = 0; i < tempStr2.length; i++) { | |
if (tempStr1[i] !== tempStr2[i]) { | |
return false; |
import java.io.*; | |
import java.util.*; | |
// Bhava nahi aathavt java try kar | |
public class Main { | |
public static void main(String[] args) throws Exception { | |
// write your code here | |
Scanner scn = new Scanner(System.in); | |
int n1 = scn.nextInt(); |
function calsum(arr) { | |
const tempArr = []; | |
for (let i = 0; i < arr.length; i++) { | |
if (i === 0) { | |
tempArr.push(arr[0]); | |
} | |
if (i === 1) { | |
const sub = arr[1] - arr[0]; | |
console.log(sub); |
import calendar | |
from collections import Counter | |
# shaikh gandhnar aahe kuthe tari jara try karun bgh :) | |
def using_calender(year,month,date): | |
# if (year % 4 == 0) and (year % 100 != 0): | |
# year = 2 | |
# print(year) | |
# elif (year % 4 == 0) and (year % 100 == 0) and (year % 400 == 0): | |
# year = 2 |
import "./App.css"; | |
import { useState } from "react"; | |
function App() { | |
const [todo, setTodo] = useState(""); | |
const [allTodo, setAllTodo] = useState([]); | |
const [editId, setEditId] = useState(0); | |
const handelSubmit = (e) => { | |
e.preventDefault(); |
// function longestPrefixSuffix(s) { | |
// const n = s.length; | |
// if (n < 2) { | |
// return 0; | |
// } | |
// const len = 0; | |
// const i = (n + 1) / 2; |
class UserName { | |
greet = 'Hello'; | |
constructor(name, age, birthYear, weight) { | |
this.name = name; | |
this.age = age; | |
this.birthYear = birthYear; | |
this.weight = weight; | |
// calling methods here |
npm WARN deprecated parcel-bundler@1.12.5: Parcel v1 is no longer maintained. Please migrate to v2, which is published under the 'parcel' package. See https://v2.parceljs.org/getting-started/migration | |
for details. | |
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. | |
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. | |
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. | |
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated | |
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated | |
npm WARN deprecated request@2.88.2: reques |