BitonicDev
BitonicDev
  • Видео 67
  • Просмотров 49 137

Видео

AI minecraft
Просмотров 17Месяц назад
AI minecraft
Scenexe.io tetrahedron super rare
Просмотров 67Месяц назад
Scenexe.io tetrahedron super rare
Merging in-place with Shell Merging
Просмотров 1 тыс.2 месяца назад
Merging in-place with Shell Merging
Bucket sort - What if the amount of buckets is equal to the array size?
Просмотров 1,6 тыс.2 месяца назад
Bucket sort - What if the amount of buckets is equal to the array size?
Shell sort - Average case vs Worst case
Просмотров 2,3 тыс.2 месяца назад
Shell sort - Average case vs Worst case
Heapsort is fighting quicksort
Просмотров 1,9 тыс.2 месяца назад
Heapsort is fighting quicksort
Sort Visualizer Update - I made it about 1,000,000 times more optimized
Просмотров 5 тыс.2 месяца назад
Sort Visualizer Update - I made it about 1,000,000 times more optimized
Pushing my algorithm visualizer to its limit - 16384 elements
Просмотров 2613 месяца назад
Pushing my algorithm visualizer to its limit - 16384 elements
i made a lil game
Просмотров 333 месяца назад
i made a lil game
Merge Sort - Recursive vs Iterative
Просмотров 1,5 тыс.3 месяца назад
Software: svis4.glitch.me/ #mergesort #sortingalgorithm #sortingalgo #sorting
Released!! Sort visualizer V4.0
Просмотров 3,6 тыс.3 месяца назад
Released!! Sort visualizer V4.0
More new features to the sort visualizer + Development of trace sort
Просмотров 4313 месяца назад
More new features to the sort visualizer Development of trace sort
New features to sort visualizer - High Speed Mode + Visualization Fix
Просмотров 1343 месяца назад
New features to sort visualizer - High Speed Mode Visualization Fix
Comparing my sorting algorithm to the fastest comparison algorithms
Просмотров 963 месяца назад
Comparing my sorting algorithm to the fastest comparison algorithms
Im making a new sort visualizer
Просмотров 1013 месяца назад
Im making a new sort visualizer
New Visualization Type - Rainbow Link (or disparity bars)
Просмотров 1863 месяца назад
New Visualization Type - Rainbow Link (or disparity bars)
0.6:Y29tbWVudCAiaWxsdXNpb24i
Просмотров 2513 месяца назад
0.6:Y29tbWVudCAiaWxsdXNpb24i
1.0:Y29tbWVudCAiaWxsdXNpb24i
Просмотров 653 месяца назад
1.0:Y29tbWVudCAiaWxsdXNpb24i
Typing Website
Просмотров 153 месяца назад
Typing Website
Update on the channel (and sort visualizer)
Просмотров 1,2 тыс.3 месяца назад
Update on the channel (and sort visualizer)
Sometimes quick sort isn't really quick..
Просмотров 1,4 тыс.3 месяца назад
Sometimes quick sort isn't really quick..
I made a new sort visualizer
Просмотров 4734 месяца назад
I made a new sort visualizer
Did I make a binaural beat?
Просмотров 154 месяца назад
Did I make a binaural beat?
typing
Просмотров 345 месяцев назад
typing
Weird glitch??
Просмотров 625 месяцев назад
Weird glitch??
Happy Father's Day!
Просмотров 275 месяцев назад
Happy Father's Day!
working on a diep copy
Просмотров 235 месяцев назад
working on a diep copy
Infinite Sites - My new website
Просмотров 368 месяцев назад
Infinite Sites - My new website
Cryptography Web - Website I made
Просмотров 208 месяцев назад
Cryptography Web - Website I made

Комментарии

  • @gustavotonogamerMad
    @gustavotonogamerMad 14 часов назад

    at first i through at the iterative that it was the bubble sort lol

  • @kellyherkey6377
    @kellyherkey6377 18 часов назад

    Hmm thats weird

  • @ojd9145
    @ojd9145 7 дней назад

    quick heap sort

  • @Avgrobloxplayr
    @Avgrobloxplayr 9 дней назад

    I kinda think Stalin sort is better

  • @Null42x86
    @Null42x86 9 дней назад

    Imagine doing a worst case with bogo

  • @ThatGuywithNoFacecam
    @ThatGuywithNoFacecam 10 дней назад

    the Quicksort adversary: reversed.

  • @buzelmausbuzelmaus221
    @buzelmausbuzelmaus221 11 дней назад

    sisyphus be like

  • @bitonic589
    @bitonic589 13 дней назад

    Is this the thick of it??

  • @Baseball_football
    @Baseball_football 13 дней назад

    No lol your videos trash stop hating on my content

  • @appybane8481
    @appybane8481 20 дней назад

    0:31 : It is also insertion's worst case which needs around n^2/2 comparisons too.

  • @lizzhystellaespitiamartine8823
    @lizzhystellaespitiamartine8823 22 дня назад

    how to make custom tiers

    • @bitonic589
      @bitonic589 22 дня назад

      sorry I would tell you but arras removed the entire functionality to make these servers 😭

  • @eincallme
    @eincallme 26 дней назад

    This is not quick sort. seriously

    • @soosboi
      @soosboi 8 дней назад

      Yea,quicksort looks way different from this,this is probably some sort of random sort that i dont know about…

    • @soosboi
      @soosboi 8 дней назад

      Okay,i think this is quicksort but with left and left pointers,no right pointers…

  • @duothehybrid
    @duothehybrid 26 дней назад

    gif material

  • @catherinezheng7829
    @catherinezheng7829 Месяц назад

    This is actually slow sort now

  • @SKJEAN3107
    @SKJEAN3107 Месяц назад

    Heauick Sort

  • @paulchamberlain7942
    @paulchamberlain7942 Месяц назад

    Thanks for making such an awesome program!

    • @bitonic589
      @bitonic589 Месяц назад

      thx, if you have any suggestions please comment them bc I have no more ideas to add

    • @paulchamberlain7942
      @paulchamberlain7942 Месяц назад

      @@bitonic589 your videos have inspired me to start a simple visualisation using C++/SDL on my own LSD-256-radix sort implementation! I will comment again if I get any new ideas not already covered. The important line of my radix sort that avoids modulo divisions, and also avoids bit shifts and logical ands is: for ( auto i : input ) { count[ *((uint8_t*)&i + pass) ]++; } Where pass is the least significant byte as the radix. All good fun (as long as machine little endian lol )

    • @paulchamberlain7942
      @paulchamberlain7942 Месяц назад

      @@bitonic589 I just remembered I do have an idea! For the last 10 years or so we have lived in a world where CPU clocks didn't get much faster, but number of processing cores has increased instead. Therefore it might be interesting to try to make some multi threaded sorts to take advantage of all this extra processing power? I appreciate it might not change the visualizations much.

    • @bitonic589
      @bitonic589 Месяц назад

      @@paulchamberlain7942 Yes, I have tried this. You can scroll to the bottom to try Parallel merge sort. It utilizes multiple threads to merge multiple subsections at once. However, it is very laggy and I currently can't find any way to fix it, I assume it may just be that an internet browser can only go so far in using CPU resources. Great suggestion though

  • @Plaer1
    @Plaer1 Месяц назад

    Why would anyone switch to merge due to a single case that's extremely rare given real life data?

    • @bitonic589
      @bitonic589 Месяц назад

      @@Plaer1 ? No, this is common. Real data is often partially sorted in some way, whether that be in ascending or descending order. Quick sort is unreliable, only good for unrealistically random data. It's best to use a hybrid sort like timsort or grailsort

    • @Plaer1
      @Plaer1 Месяц назад

      @@bitonic589 real data being sorted backwards isnt very common...but sure

    • @soosboi
      @soosboi 8 дней назад

      Most developers use introsort also known as std::sort,i think,idk

    • @bitonic589
      @bitonic589 8 дней назад

      @@soosboi Yes

  • @Ghal00xx
    @Ghal00xx Месяц назад

    no way and hey can you make a vid about belection i made a vid on my channel bout it

    • @bitonic589
      @bitonic589 Месяц назад

      @@Ghal00xx what

    • @Ghal00xx
      @Ghal00xx Месяц назад

      @@bitonic589i heard you made vids about sorting algorithms before and I made one myself :)

  • @ForlornFraudFacade
    @ForlornFraudFacade 2 месяца назад

    so hows it work

    • @bitonic589
      @bitonic589 2 месяца назад

      @@ForlornFraudFacade Ok so you make sorted sections of two by compare and swap and then shellsort them with ²exponential gaps

    • @ForlornFraudFacade
      @ForlornFraudFacade 4 дня назад

      @@bitonic589ok thank

    • @AnonymousUsername-e4c
      @AnonymousUsername-e4c День назад

      @@bitonic589stability:

  • @maymaymhm
    @maymaymhm 2 месяца назад

    no

    • @bitonic589
      @bitonic589 2 месяца назад

      @@maymaymhm no 👍

    • @GrantMaska
      @GrantMaska Месяц назад

      Indeed no ​@bitonic589

  • @DiscontinuedChannelProbably
    @DiscontinuedChannelProbably 2 месяца назад

    Is it trying to solve it solve after solve

    • @bitonic589
      @bitonic589 2 месяца назад

      idk lol it glitched

  • @陳娟娟-t6f
    @陳娟娟-t6f 2 месяца назад

    Ummmmm... So Sort Good!

  • @rka3477
    @rka3477 2 месяца назад

    I think this is called counting sort

    • @bitonic589
      @bitonic589 2 месяца назад

      @@rka3477 nope different algorithm

  • @DcorneaterYT
    @DcorneaterYT 2 месяца назад

    Why Did I See Gravels And Rocks At The Top Left Corner Move At The First Place?

    • @bitonic589
      @bitonic589 2 месяца назад

      idk they forgot to stop moving

  • @Mini-Rusty
    @Mini-Rusty 2 месяца назад

    Why no likes and comments?

    • @bitonic589
      @bitonic589 2 месяца назад

      @@Mini-Rusty Idk nobody likes coding channels

  • @bitonic589
    @bitonic589 2 месяца назад

    Much more efficient than shell sort itself. A reliable and naturally adaptive worst-case n log n algorithm, with very low overhead. 4,096 elements were used in the visualization. There are more efficient ways to do this but they are more complex

  • @bitonic589
    @bitonic589 2 месяца назад

    It will sort in O(n) time usually, assuming buckets are distributed evenly Though this is a little bit inefficient, because of the overhead of creating each bucket, and the memory used in the process. Using √n buckets is optimal. In my implementation, insertion sort is used as the core algorithm, so that leaves a worst case of O(n^2), but if you use an algorithm like a modified radix sort for each bucket, you can ensure a worst case O(n), which is optimal for a distribution algorithm. Visualizer: svis4.glitch.me Alternative link: svis4.playcode.io (Use if the first link is blocked)

  • @bitonic589
    @bitonic589 2 месяца назад

    Accidently discovered the worst case. Sounds really cool. I wonder if anyone else has figured this out before? This happens when using the default shell constants (divide the gap by two), because the binary is sorted in a binary reverse (2-ary reverse) A shellsort with knuth, hibbard, ciura.. gap sequences would probably sort this quickly, but I assume there would be a similar pattern for every gap sequence. Visualizer: svis4.glitch.me Alternative link: svis4.playcode.io (Use if the first link is blocked)

    • @Kromaatikse
      @Kromaatikse 13 дней назад

      Shell proposed this algorithm, with these gaps, in 1959. By 1960, improved gap sequences which avoided precisely this problem were already being proposed - Papernov, Hibbard, etc. Basically, one must avoid a pure geometric sequence with integer base, and these early proposals (up to the early 1980s) were normally for an integer geometric sequence that was offset by a constant; for example, Hibbard's sequence is just the Mersenne numbers, 2^k-1. This includes Knuth's recommendation from the 1970s: (3^k+1)/2, no greater than N/3. Pratt proved that Shell's original sequence had worst-case complexity O(N^2), and that these conventional alternatives were O(N^3/2) worst-case. In 1971 he showed that using the 3-smooth numbers (2^p * 3^q) reduced the asymptotic complexity to O(N log^2 N). However, because this involves a large number of passes over the data, the average-case performance of this version is significantly worse than the conventional sequences. It's still an interesting way to construct a sorting network that has O(log^2 N) layers, so this is still vaguely relevant to parallel computing (eg. on GPUs). The next advance was by Sedgewick, who showed that the sum of two near-geometric sequences yielded better results, both asymptotically and in practice, than a single one as previously used. One such sequence is hilariously easy to compute: start with a=(4 << 2*k) and b=(3 << k), then at each iteration, take gap=a+b+1, then shift a right by 2 and b right by 1. The final entries in this sequence are 8, 3, 1 as the significant bits of a and b are shifted into oblivion. Sedgewick sequences have worst-case O(N^4/3) complexity, which is practically useful up to the millions or even low billions of elements. Most other sequences have been designed for average-case performance, without being formally analysed for worst-case performance. Finding killer inputs for them is quite difficult, though, which suggests that they are robust in practice.

    • @bitonic589
      @bitonic589 13 дней назад

      @Kromaatikse I made my own sequence which is approx n log n (improved version of sedgewick)

    • @AnonymousUsername-e4c
      @AnonymousUsername-e4c День назад

      In-place radix sort

  • @bitonic589
    @bitonic589 2 месяца назад

    Basically I tried to code introsort but it didn't work

  • @bitonic589
    @bitonic589 2 месяца назад

    I just saw youtube update in real-time, they changed the comment styling

  • @bitonic589
    @bitonic589 3 месяца назад

    Okay so basically what I did: - For frames that would be too fast for you to see anyway at that speed, just skip them. Why try to render it at 96,203,103 frames per second when no monitor, or human eye can see it? Also the triangle at the end shows what happens if you set the speed too high. I don't recommend going over 600x Edit: nvm its fixed now

  • @bitonic589
    @bitonic589 3 месяца назад

    Update: Not really its limit anymore, I optimized it a lot

  • @bitonic589
    @bitonic589 3 месяца назад

    Realized how much fun I had coding arras servers. I might start doing arras again sometime soon.

  • @bitonic589
    @bitonic589 3 месяца назад

    *it looked like nothing because it was memory based typing. So it turns invisible and I have to type it from memory

  • @bitonic589
    @bitonic589 3 месяца назад

    The sort visualizer will keep being developed as long as I can keep finding new sorting algorithms and finding new features to add. Link: svis4.glitch.me/

  • @bitonic589
    @bitonic589 3 месяца назад

    Trace sort is a sorting algorithm I'm developing. It should be extremely fast for all scenarios. This is the first version. On some inputs, it can reach the lower bound of O(n log n) still, eventually it will be fast for all scenarios.

  • @sid-bg2lm
    @sid-bg2lm 3 месяца назад

    Nerd

    • @bitonic589
      @bitonic589 3 месяца назад

      lol 💀 just try it

  • @Mini-Rusty
    @Mini-Rusty 3 месяца назад

    My brother at the middle of night:

    • @bitonic589
      @bitonic589 3 месяца назад

      sry I couldnt find a way to fix the sound but im working on a new one which will have better sound

  • @bitonic589
    @bitonic589 3 месяца назад

    infinitesites.glitch.me/svis3.html * once I think it is finished it wont be an infinitesites link anymore

  • @bitonic589
    @bitonic589 3 месяца назад

    *My sorting algorithm is queue sort It is still in development

  • @TNTSuperMan
    @TNTSuperMan 3 месяца назад

    Quick sort is usually fast. but Worst case is O(n^2).

    • @bitonic589
      @bitonic589 3 месяца назад

      @@TNTSuperMan did you even watch the video

    • @PCBoyStudios
      @PCBoyStudios 3 месяца назад

      I'm afraid TNTSuperMan is correct. In this case, it looks like the implementation of this Quick has a pivot that is found in a non-random assignment with no comparisons. It is tough to use a system like this since from the left, from the right, or even exactly in the center (with a special input), there is a way for the pivot to not guarantee any additional items in the partition it creates. I am going to guess that this implementation uses an LR pointer partition scheme with a left or right pivot. When it tries to sort, sometimes, either end of the partition scheme would only result in the left pivot being the least or the right pivot being the greatest item. However, the sort doesn't know that until it tries and finds nothing. This is considered a single scan. Abusing the weaknesses of algorithms that have weak strategies is not that difficult. A reversed array tends to kill algorithms that rely on there being some sortedness amidst the unsortedness in the array, which Quicksorts with a left or right pivot traditionally rely on. However, on a reversed array, no sortedness exists. Thus, nothing less than or greater than the pivot, and the algorithm scans a subset of the N items O(N) times, and N * O(N) = O(N^2).

    • @bitonic589
      @bitonic589 3 месяца назад

      @@PCBoyStudios Bro chill 💀 The title was "Sometimes it isn't" not that it's always slow. Anyways, this implementation uses a classic Lomuto Partition, implementing the standard quicksort. If you look at the quicksort algorithm, you will see my implementation is the standard. The point of the video though, was to show quick sort's weakness, and how in some cases, it is not a reliable algorithm like merge sort or heap sort is.

    • @PCBoyStudios
      @PCBoyStudios 3 месяца назад

      @@bitonic589 Nope, I just know common sorting algorithms all too well that I can analyze what made it do that.

    • @bitonic589
      @bitonic589 2 месяца назад

      @@PCBoyStudios Well usually quicksort uses a Lomuto partition, and that's what's used here. You can check out my new sort visualizer if you want, it has dual pivot partitions and random partitions

  • @bitonic589
    @bitonic589 3 месяца назад

    The bottom array is the unsorted array (the array being sorted) The top array is the sorted array Every element on the bottom is linked to the corresponding element on the top

  • @bitonic589
    @bitonic589 3 месяца назад

    32:RXZlbnR1YWxseSB5b3Ugd2lsbCBmaWd1cmUgaXQgb3V0 1.0:NETW2IDUOJQXA4DFMQQGS3RAORUGKIDNMF2HE2LY

  • @bitonic589
    @bitonic589 3 месяца назад

    32:RXZlbnR1YWxseSB5b3Ugd2lsbCBmaWd1cmUgaXQgb3V0 1.0:NETW2IDUOJQXA4DFMQQGS3RAORUGKIDNMF2HE2LY

  • @bitonic589
    @bitonic589 4 месяца назад

    Sorts (if you wanted to suggest new sorts) 1. Reverse Selection Sort 2. Selection Sort 3. Double Selection Sort 4. Min Heap Sort 5. Max Heap Sort 6. Insertion Sort 7. Shell Sort 8. Bubble Sort 9. Exchange Sort 10. Comb Sort 11. Odd-Even Sort 12. Cocktail Shaker Sort 13. Merge Sort 14. Quick Sort 15. Quick Sort (Dual Pointer) 16. Counting Sort 17. Bogo Sort

  • @Sans1_4890
    @Sans1_4890 4 месяца назад

    Nice vid thanks

  • @Mason_Gamer101
    @Mason_Gamer101 4 месяца назад

    best yt vid i ever seen no cap

    • @bitonic589
      @bitonic589 4 месяца назад

      It's just water 😭

  • @bitonic589
    @bitonic589 4 месяца назад

    It will be on infinitesites when I think it is ready to be released, after: - Sound is improved - idk

    • @AngelinSofya
      @AngelinSofya Месяц назад

      Link

    • @bitonic589
      @bitonic589 Месяц назад

      @@AngelinSofya well the link for the one in the video is infinitesites.glitch.me/sortvisualizer.html but that's an old one, I made a newer one which is much better: svis4.glitch.me/

  • @bitonic589
    @bitonic589 4 месяца назад

    I was trying to make 14hz beta wave binaural beat Did I do it correctly or is there something else I need Also I am adding new stuff to Infinite Sites, this is one of the new websites that's going to be released