func removeDuplicates(s string) string { var stack []rune for _, c := range s { if len(stack) > 0 && stack[le
func sumZero(n int) []int { var ans []int if n%2==1 { ans = append(ans, 0) } for i:=1;len(ans)!=n;i
<!-- Based on Parallax Landing Page - Rellax.js by Brad Traversy (2020) see: https://www.youtube.com/watch?v=aAxt0Z7IXIo --> <!
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
func count(target int, arr []int) int { var count int for _, n := range arr { if n == target { c
<!DOCTYPE html> <html> <head> <title>My Web Page</title> </head> <body> <h1>Welcome to My Web Page</h1> <p>Th
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-sc
<html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
func uint32_to_bin_s(n uint32) string { var b string for ;n!=0; { if n%2==1 { n-- b
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <ti
<?php //Database Connection /*There are two ways to connect to My SQL Database 1. MySQLi extension (for use only m
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
/** * Definition for singly-linked list. * type ListNode struct { * Val int * Next *ListNode * } */ func
<?php /*Operators 1. Arithmetic Operator 2. Assignment Operator 3. Comparison Operator 4. Logical Operator */ $a = 10; $b = 5
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <ti
// @leet start /** * Definition for singly-linked list. * type ListNode struct { * Val int * Next *ListNode *
def mean(*nums): s = 0 c = 0 for n in nums: s += n c += 1 return s / c def mean(nums): s =
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <ti
**Twitter:** * To tag a user on Twitter, simply type the @ symbol followed by their username. For example, to tag the user @co
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
<head> <title>Imp Quetions</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <style> t
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>G
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>X
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Tabs</title> <meta name="view
// setAttribute <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=devi
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <ti
A Twitter user is an individual who has registered an account on the social media platform Twitter. **Functionality** Twitter
import gradio as gr import openai from kivy.core.clipboard import Clipboard prompt = "Send a message" def chat(promp
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <ti
// @leet start type BrowserHistoryNode struct { Url string Back *BrowserHistoryNode Forward *BrowserHistoryNode } t
func atoi(s string) int { var n int for _, c := range s { n = (n*10) + int(c-48) } return n } func is_number(s stri
<?php $name = "Dj"; //String $salary = 5000000; //Interger $experience = 1.5; //Float $bonus = "50.25k";//Decim
--[[ Colorschemes ]]-- return { { { "vim/colorschemes"}, { "jnurmine/Zenburn" }, { "altercation/vim
<!-- user-files.html --> {% for file in files %} {{ loop.index }}<a href=" {{ file.path }}">{{ file.name }}</a> {{ file.size }}<
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initi
<?php $add = false; $update = false; $delete = false; // Connecting to the Db $servername = "localhost";
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
def is_happy(n: int): n = str(n) while len(n) != 1: s = 0 for d in n: s += int(d)*int(d)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>Alphabets Word Pronounce</title> <link rel="stylesh
from textual.app import App from textual.containers import ScrollableContainer from textual.widget import Widget from threadi
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>U
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initia
<!-- Based on Full Screen Responsive Image Slider by Brad Traversy (2019) see: https://www.youtube.com/watch?v=wWWNrANNO1k -->
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
from datetime import date from os import system, listdir from sys import argv class Transaction: def __init__(self,
/** * @param {number} num1 * @param {number} num2 * @return {number} */ var sum = function(num1, num2) { return nu
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <ti
<?php //Database Connection /*There are two ways to connect to My SQL Database 1. MySQLi extension (for use only m
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scal
* { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; width: 100
<!DOCTYPE html> <html> <head> <!-- If you are serving your web app in a path other than the root, change the href valu
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>W
def reverse(self, x): if x > (2**30) or x < (-2**31)+1: return 0 m = 0 if x < 0: x = x * (-1) m = 1 s = 0
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>Slide Collect Coin </title> <link rel="stylesheet"
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <titl
def convertToBase7(self, num): if num == 0: return "0" s = [] minus = False if num <
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Snackbar</title> <link rel="s
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Chat P2P avec WebRTC</title> </head> <
<?php //for connection to database $servername = "localhost"; $username = "root"; $password = ""; $database
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>A
<?PhP // php is case insensitive programming lang. //with three variable $a = 10; $b = 5; $c = $a + $b; EcHo ($
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, init
TESTCASES = [ { "positional": (2,), "keyword": {}, "return": True, "msg": "", }, {
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Cards</title> <link rel="stylesheet" href="st
#HTMLify from flask import * from flask_migrate import * from random import randint, shuffle from hashlib import md5 from os im
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>E
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>G
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>Three Number Game</title> <link rel="stylesheet" hr
<!DOCTYPE html> <html lang="en" onclick="jump()"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" conte
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>F
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Accordion FAQ</title> <link rel="stylesheet" href="s
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initia
**Description:** CoderAI is a subreddit dedicated to artificial intelligence as it relates to coding. It is a place for people
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>S
<!DOCTYPE html> <html> <head> <title>Bootstrap Grid Demo</title> <!-- Add Bootstrap CSS from a CDN --> <link re
//WRITE a program to check if string is pangram? // input-"the quick brown fox jumps over the lazy dog" //output- is a pangra
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <met
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php if($_SERVER['REQUEST_METHOD'] == 'GET'){//if (isset($_GET)){ $name = $_GET['name']; $email = $_GET['em
<script> location.href="https://amzn.to/429eXX3"; </script>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width
<!Doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Dictionary App</title> <meta name="viewport" c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Material UI Input</title> <m
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>O
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>M
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>Call App</title> <link rel="stylesheet" href="./sty
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Based on Hulu Webpage Clone | HTML & CSS by Brad Traversy (2021) see: https://www.youtube.com/watch?v=9OVLaEjY-Rc --> <!DO
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, in
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <ti
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>P
From semester I 1. Ansh Kulshrestha 2. Krishna Shen 3. Anuj Singh 4. Ankaj 5. Kuldeep Dubey 6. Abhay Singh 7. Ompal 8.
func contain(target int, array []int) bool { for _, v := range array { if v == target { return true
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
def myPow(self, x, n): return x ** n
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=
**Company Name:** Coderai **Contact Information:** * **Email:** support@coderai.com * **Website:** https://coderai.com/ **Ad
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title>G
<html> <head> <meta http-equiv=Content-Type content="text/html; charset=utf-8"> <meta name=Generator content="Microsoft Wor
<!DOCTYPE html> <html lang="en" class=""> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=dev
class Solution: def permute(self, nums: List[int]) -> List[List[int]]: if len(nums) == 1: return [[nums[0]]]
<!DOCTYPE html> <html> <head> <style> table { border-collapse: collapse; width: 100%; border: 1
<?php echo "Hello World!"; ?> <!-- For embedding/use PHP we have to use <?php ?> all the php code will goes within the <?php
def average(*nums): s = 0 c = 0 for n in nums: s += n c += 1 return s / c def average(*nums):
/** * @param {Function[]} functions * @return {Function} */ var compose = function(functions) { return functio