This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.EmptyStackException; | |
import java.util.Scanner; | |
import java.util.Stack; | |
/* | |
wap that reads postfix expressions and prints their values. | |
Each input expression should be entered on its own line, | |
and the program should terminate when the user enters a blank line. | |
Please do error checking for any error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.Vector; | |
import java.util.stream.IntStream; | |
/*Please write a program to use vector and list to store 10 integers in order | |
(from smallest to largest). | |
You need to find proper location using vector or list functions for each number added. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
from os import listdir, chdir, rename | |
# Valid chars in a file name | |
alpha = 'abcdefghijklmnopqrstuvwxyz0123456789.' | |
dir_path = "/home/varun/Desktop/Github Projects/CodeKata/Python" |
NewerOlder