Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USE ASSERT
- NO FOR LOOPS, can use list comprehension
- just jupyter if you want
- sql questions
- "hello world" into dictionary, counter
- palindrome
- chess board 1s, 0s
- compute the nth fibonnaci
- tower of hanoi ???
- double or half a number, cannot use +,-,/,*,**
- matrix upper triangle -> 1s, lower -> 0s, diagonal -> 2s
- sum up the columns of a matrix
- use binary search to find a value
- sum the diagonals in a matrix
- add a node in the middle of a single linked list
- sort a lists of names
- find the longest word in a string
- flatten a 2d array into 1d
- fill in missing values in a matrix with the mean of each column
- remove words from string that have an even length
- create a class, vector, that will create a n-dimensional vector, it should find the length and make unit
- name abbreviations
- n divisible by x and y ... with only one conditional
- write code to find the probability of the sum > 9 of two die over 100 rolls.
Add Comment
Please, Sign In to add comment