Skip to content

Developing 3 efficient programs in order to more fully understand the implementations of procedural programming. These programs will be as short and fast as possible.

Notifications You must be signed in to change notification settings

Benjaminlewis984/Procedural-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Procedural-Programming

Developing 4 efficient programs in order to more fully understand the implementations of procedural programming. These programs will be as short and fast as possible.

OUTPUT :

The maximum length : 4

   @@  
  @@@  
   @@  
   @@  
   @@  
   @@  
 @@@@@@

   @@     @@@ 
  @@@    @@ @@
   @@      @@ 
   @@     @@  
   @@    @@   
   @@   @@    
 @@@@@@ @@@@@@

   @@     @@@  @@@@@@
  @@@    @@ @@ @@  @ 
   @@      @@     @  
   @@     @@     @@@ 
   @@    @@         @
   @@   @@     @@   @
 @@@@@@ @@@@@@ @@@@@ 

   @@     @@@  @@@@@@   @@@ 
  @@@    @@ @@ @@  @   @ @@ 
   @@      @@     @   @  @@ 
   @@     @@     @@@  @@@@@ 
   @@    @@         @    @@ 
   @@   @@     @@   @    @@ 
 @@@@@@ @@@@@@ @@@@@     @@ 

   @@     @@@  @@@@@@   @@@  @@@@@@
  @@@    @@ @@ @@  @   @ @@  @@    
   @@      @@     @   @  @@  @@    
   @@     @@     @@@  @@@@@  @@@@@@
   @@    @@         @    @@      @@
   @@   @@     @@   @    @@      @@
 @@@@@@ @@@@@@ @@@@@     @@  @@@@@@

   @@     @@@  @@@@@@   @@@  @@@@@@ @@@@@@
  @@@    @@ @@ @@  @   @ @@  @@     @@    
   @@      @@     @   @  @@  @@     @@    
   @@     @@     @@@  @@@@@  @@@@@@ @@@@@@
   @@    @@         @    @@      @@ @@  @@
   @@   @@     @@   @    @@      @@ @@  @@
 @@@@@@ @@@@@@ @@@@@     @@  @@@@@@ @@@@@@

   @@     @@@  @@@@@@   @@@  @@@@@@ @@@@@@ @@@@@@
  @@@    @@ @@ @@  @   @ @@  @@     @@         @@
   @@      @@     @   @  @@  @@     @@        @@ 
   @@     @@     @@@  @@@@@  @@@@@@ @@@@@@   @@  
   @@    @@         @    @@      @@ @@  @@  @@   
   @@   @@     @@   @    @@      @@ @@  @@ @@    
 @@@@@@ @@@@@@ @@@@@     @@  @@@@@@ @@@@@@ @@    

   @@     @@@  @@@@@@   @@@  @@@@@@ @@@@@@ @@@@@@ @@@@@@
  @@@    @@ @@ @@  @   @ @@  @@     @@         @@ @@  @@
   @@      @@     @   @  @@  @@     @@        @@  @@  @@
   @@     @@     @@@  @@@@@  @@@@@@ @@@@@@   @@   @@@@@@
   @@    @@         @    @@      @@ @@  @@  @@    @@  @@
   @@   @@     @@   @    @@      @@ @@  @@ @@     @@  @@
 @@@@@@ @@@@@@ @@@@@     @@  @@@@@@ @@@@@@ @@     @@@@@@

   @@     @@@  @@@@@@   @@@  @@@@@@ @@@@@@ @@@@@@ @@@@@@ @@@@@@
  @@@    @@ @@ @@  @   @ @@  @@     @@         @@ @@  @@ @@  @@
   @@      @@     @   @  @@  @@     @@        @@  @@  @@ @@  @@
   @@     @@     @@@  @@@@@  @@@@@@ @@@@@@   @@   @@@@@@ @@@@@@
   @@    @@         @    @@      @@ @@  @@  @@    @@  @@     @@
   @@   @@     @@   @    @@      @@ @@  @@ @@     @@  @@     @@
 @@@@@@ @@@@@@ @@@@@     @@  @@@@@@ @@@@@@ @@     @@@@@@ @@@@@@

   @@     @@@  @@@@@@   @@@  @@@@@@ @@@@@@ @@@@@@ @@@@@@ @@@@@@  @@@@ 
  @@@    @@ @@ @@  @   @ @@  @@     @@         @@ @@  @@ @@  @@ @@  @@
   @@      @@     @   @  @@  @@     @@        @@  @@  @@ @@  @@ @@  @@
   @@     @@     @@@  @@@@@  @@@@@@ @@@@@@   @@   @@@@@@ @@@@@@ @@  @@
   @@    @@         @    @@      @@ @@  @@  @@    @@  @@     @@ @@  @@
   @@   @@     @@   @    @@      @@ @@  @@ @@     @@  @@     @@ @@  @@
 @@@@@@ @@@@@@ @@@@@     @@  @@@@@@ @@@@@@ @@     @@@@@@ @@@@@@  @@@@ 

Reduced Size : 7

Iterative version duration in milliseconds : 2025708 Recursive version duration in milliseconds : 512130 Ratio between recursive and iterative function. Recursion is : x3 faster


About

Developing 3 efficient programs in order to more fully understand the implementations of procedural programming. These programs will be as short and fast as possible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published