| Algorithm | Best | Average | Worst | Space | Stable |
|---|---|---|---|---|---|
| Bubble Sort | O(n) | O(n²) | O(n²) | O(1) | Yes |
| Selection Sort | O(n²) | O(n²) | O(n²) | O(1) | No |
| Insertion Sort | O(n) | O(n²) | O(n²) | O(1) | Yes |
| Merge Sort | O(n log n) | O(n log n) | O(n log n) | O(n) | Yes |
Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "TicketCounts": [ | |
| "0x0f36CbE8Ab6e8122530bd5912c0F14Cf9d3570a1: 3", | |
| "0x10160581b2f0964b2e0295F1663fcA44433bB1d6: 118", | |
| "0x17b1603D0f0F277C728a7F0f7034059715f7A2E1: 397191", | |
| "0x387a47171B95b7C4775Fa80FC3cE943544343021: 38", | |
| "0x455D2c8845596655f21a4923Ae1594199F164e92: 252", | |
| "0x92354ddD8cA46bBcC12F2950Ee93ab44c5e7ba57: 3" | |
| ], | |
| "Winners": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # using this in my .zshrc file of the truenas_scale admin as an aliased command | |
| qvm() { | |
| local DISKS=() | |
| local ISO="" | |
| local BRIDGE="" | |
| local VNC_DISP="2" | |
| local VNC_BIND="0.0.0.0" | |
| local MEM="1024" | |
| local CPUS="1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 | |
| 00:00:00,000 --> 00:00:01,562 | |
| Oi, pequenos exploradores! | |
| 2 | |
| 00:00:01,562 --> 00:00:03,125 | |
| Hoje, vamos viajar pelo mundo | |
| 3 | |
| 00:00:03,125 --> 00:00:04,687 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requires AutoHotkey 2.0 | |
| #SingleInstance Force | |
| #HotIf WinActive("ahk_exe ShooterGame.exe") | |
| global HotBarCounter:=0 | |
| WheelUp:: { | |
| global HotBarCounter | |
| Send(++HotBarCounter=10?HotBarCounter:=0:HotBarCounter) | |
| } | |
| WheelDown:: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @startuml | |
| !theme plain | |
| participant Client | |
| participant Proposer | |
| box "Acceptors" #LightGrey | |
| participant A | |
| participant B | |
| participant C |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Log uploaded on Saturday, November 1, 2025, 9:01:55 PM | |
| Loaded mods: | |
| Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2) | |
| Core(Ludeon.RimWorld): (no assemblies) | |
| Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
| Ideology(Ludeon.RimWorld.Ideology): (no assemblies) | |
| Biotech(Ludeon.RimWorld.Biotech): (no assemblies) | |
| Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies) | |
| Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---- Minecraft Crash Report ---- | |
| // Daisy, daisy... | |
| Time: 11/1/25, 3:01 PM | |
| Description: Exception in server tick loop | |
| java.lang.NoClassDefFoundError: net/mcskill/shop/server/MSShopServer | |
| at net.mcskill.shop.common.network.packet.RequestShopDataPacket.handlePacket$lambda$0(RequestShopDataPacket.kt:23) ~[msshop:3.0.0] {re:classloading} | |
| at net.minecraftforge.fml.network.NetworkEvent$Context.enqueueWork(NetworkEvent.java:201) ~[forge:?] {re:classloading} | |
| at net.mcskill.shop.common.network.packet.RequestShopDataPacket.handlePacket(RequestShopDataPacket.kt:22) ~[msshop:3.0.0] {re:classloading} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace LargestElement | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[,] numbers = new int[10, 10]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Prizes": [ | |
| "{\u0022NftCollectionAddress\u0022:\u00220x5df95a95bf54004ab5776f5c1c27bfd4702d96ea\u0022,\u0022ContractType\u0022:\u0022RewardLockedNFT\u0022,\u0022Tier\u0022:2,\u0022LockedAmount\u0022:0,\u0022RewardAmount\u0022:200000,\u0022LockTime\u0022:0}", | |
| "{\u0022NftCollectionAddress\u0022:\u00220x5df95a95bf54004ab5776f5c1c27bfd4702d96ea\u0022,\u0022ContractType\u0022:\u0022RewardLockedNFT\u0022,\u0022Tier\u0022:2,\u0022LockedAmount\u0022:0,\u0022RewardAmount\u0022:200000,\u0022LockTime\u0022:0}", | |
| "{\u0022NftCollectionAddress\u0022:\u00220x5df95a95bf54004ab5776f5c1c27bfd4702d96ea\u0022,\u0022ContractType\u0022:\u0022RewardLockedNFT\u0022,\u0022Tier\u0022:2,\u0022LockedAmount\u0022:0,\u0022RewardAmount\u0022:200000,\u0022LockTime\u0022:0}", | |
| "{\u0022NftCollectionAddress\u0022:\u00220x5df95a95bf54004ab5776f5c1c27bfd4702d96ea\u0022,\u0022ContractType\u0022:\u0022RewardLockedNFT\u0022,\u0022Tier\u0022:2,\u0022LockedAmount\u0022:0,\u0022RewardAmount\u0022:200000,\u0022LockTime\u0022:0}", | |