Skip to content

Instantly share code, notes, and snippets.

View sensgithub's full-sized avatar

sens sensgithub

  • Bulgaria
  • 12:25 (UTC +03:00)
View GitHub Profile
@sensgithub
sensgithub / searching.py
Created April 22, 2022 17:44 — forked from jatinsharrma/searching.py
Searching Algorithums : Linear Search | Binary Search | Interpolcation Search | exponential Search
#------------------------------------------------
#------------Searching Algorithms----------------
#------------------------------------------------
'''
Searching Algorithm:
1. Linear Search : Iterative and Recursive
2. Binary Search : Iterative and Recursive
3. Interpretation Search : Iterative
@sensgithub
sensgithub / Extract.sh
Created April 22, 2022 17:43 — forked from jatinsharrma/Extract.sh
Extract Multiple ZIP / RAR files from one directory to another. Shell Script
#!/bin/bash
#Script to extract Multiple RAR files and place each RAR file's content in its own directory
for z in *.rar
do
# removing all white space. Generating Directory name
c="$(echo -e "${z}" | tr -d '[:space:]')"
# Creating directory. Replace <Directory Address> with your own Directory Address.
mkdir /<Directory Address>/$c;