Efficient Programming?
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFYMJT3_S0NnxbpQCmmQVMGRU2X8WWBalLvFnhXBeWoL_YLNPPWntmpUYpIX954GyxeWXN7KKZmupm2LlX55uLTN98LxwyiCiJ2U5L1BYTwZipDVyIy6aSYEfBIGCrw5dlkAHtIOQb98Uh/s1600/sad.png)
Hola! What is an efficient program? In a layman term - A program which does, what its "supposed to do", in a "fast" and "cheap" way... A program can be very fast... If we decrease the number of loops inside it By choosing the "right data-structure " which can be used to efficiently manipulate the data, the program uses etc... A program can be cheap... If it consumes less memory (RAM space while it runs) By using as less "Objects" as we can Or by again using right data-structure Ok... theory.. its always boring... :-) Lets jump on to solving an interesting problem... Take up a role of Server-side Developer of a reputed website company, where the first task given to you is to validate the user password! Here is the requirement - You should reject a password if it contains a "repetitive sequence". A password is said to contain "repetitive sequence" if it has same sequence repeated one after ...