Wednesday, July 17, 2019

Tuesday, July 16, 2019

Perfection is the Enemy of the Good.

I have struggled with this idea of Perfection many times in my life and even now when I am writing it. The change today is that I know I am not right about this obsession and I know one needs to have a balance to go through this life with a smile and satisfaction.

To that I say, let's priortize progress over perfection. Let's prioritize iteration. Let's not wait for the RIGHT answer for life is no binary. It is a unreal number where a value of Pi can be 3.14 or 3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74944 59230 78164 06286 20899 86280 34825 34211 7067 
and even that is not perfect. If you gonna wait for the perfect, you pay with progress.
















Image result for perfection is a mirage

Related image


Image result for perfection is a mirage

Thursday, July 4, 2019

palindrome number


Find if the integer is Palindrome or not. Test Cases : a) 10 : False b) 0-9 : True c) 121 : True 

https://leetcode.com/problems/palindrome-number

https://gist.github.com/amitkc00/48e93764cff5de8eca5d8857034f9778.js

Python Language Tit-bits I always forget for interviews.

==

dictionary - add, delete, access key,value, length etc

list - add, delete, access key,value, length etc

tuples - add, delete, access key,value, length etc

set - add, delete, access key,value, length etc

==
for key, value in enumerate(list_name):
  print(key,value)

###

zip

###

join

###

len(list_name)
list_name.length()

####
int(string_int)
str(int)
####

map

####

filter

####

reminder = x % 10
quotient = x // 10
####
unittest package
####
file processing
#### s = "split this string"
s.split() # default is space
join_string = ':'
join_string.join(#iterator)


It's OK to be NOT-OK.

02/22/2021  Last week I was just un-productive and was not doing enough to talk about. I also wanted to say that weeks before the last, I ha...