【文件属性】:
文件名称:Coding-Prep:该存储库用于编码面试准备
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-01 01:35:32
python c java algorithms cpp
编码面试预备
二进制数组排序
Input:
5
1 0 1 1 0
Output:
0 0 1 1 1
字符串中的数字总和
Input:
str = abc12yu8it4
Output: 24
说明:1和23是字符串中的数字,这些数字相加后得出的总和为24。
检查数组中对的总和
arr[] = {1, -2, 1, 0, 5}
sum = 0
Input: 1 -2 1 0 5
0
Output: Array doesnt have two elements with the given sum Explaination:(No valid pair exists.)
二叉树中所有节点的总和
15
/ \
6 8
/ \
3 4
【文件预览】:
Coding-Prep-main
----Binary Array Sorting(253B)
----Palindrome_substring.py(590B)
----counting pair.py(195B)
----no of paths in matrix.py(309B)
----palindrome.py(454B)
----reversing a string without affecting special char.py(523B)
----book problem.py(146B)
----BubbleSort.java(871B)
----sum_of_nodes.py(535B)
----merge_array.py(332B)
----sum_of_pairs_meets_target_in_array.py(387B)
----printing without space(102B)
----check for sum of pair in array(522B)
----ReverseLinkList.java(1KB)
----sum of numbers in string(169B)
----cat and mouse.py(567B)
----reverse an array.py(272B)
----README.md(5KB)
----remove vowels.py(251B)
----height_binary tree.py(1KB)
----piggy bank.py(313B)
----SumOfArray.java(438B)